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

Function AesDecrypt

libcppcryptfs/crypt/eme.cpp:101–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101static void AesDecrypt(BYTE* dst, const BYTE* src, int len, const EmeCryptContext *eme_context)
102{
103 int numBlocks = len / 16;
104
105 for (int i = 0; i < numBlocks; i++) {
106 eme_context->m_aes_ctx.decrypt(src + i * 16, dst + i * 16);
107 }
108}
109
110// aesTransform - encrypt or decrypt (according to "direction") using block
111// cipher "bc" (typically AES)

Callers 1

aesTransformFunction · 0.85

Calls 1

decryptMethod · 0.80

Tested by

no test coverage detected