MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / AesEncrypt

Function AesEncrypt

libcppcryptfs/crypt/eme.cpp:92–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92static void AesEncrypt(BYTE* dst, const BYTE* src, int len, const EmeCryptContext *eme_context)
93{
94 int numBlocks = len / 16;
95
96 for (int i = 0; i < numBlocks; i++) {
97 eme_context->m_aes_ctx.encrypt(src + i * 16, dst + i * 16);
98 }
99}
100
101static void AesDecrypt(BYTE* dst, const BYTE* src, int len, const EmeCryptContext *eme_context)
102{

Callers 2

aesTransformFunction · 0.85
tabulateLMethod · 0.85

Calls 1

encryptMethod · 0.80

Tested by

no test coverage detected