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

Method decrypt

libcppcryptfs/crypt/aes.cpp:121–135  ·  view source on GitHub ↗

decrypt single AES block (16 bytes)

Source from the content-addressed store, hash-verified

119
120// decrypt single AES block (16 bytes)
121void AES::decrypt(const unsigned char *cipher, unsigned char *plain) const
122{
123#ifdef USE_AES_NI
124 if (m_use_aes_ni) {
125 aesni_decrypt(cipher, plain, m_key_decrypt);
126 } else
127#endif
128 {
129// low-level AES functions are deprecated in Openssl 3.0
130#pragma warning( push )
131#pragma warning(disable : 4996)
132 AES_decrypt(cipher, plain, m_key_decrypt);
133#pragma warning( pop )
134 }
135}
136

Callers 1

AesDecryptFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected