MCPcopy Create free account
hub / github.com/ElementsProject/elements / Encrypt

Method Encrypt

src/crypto/aes.cpp:23–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23void AES256Encrypt::Encrypt(unsigned char ciphertext[16], const unsigned char plaintext[16]) const
24{
25 AES256_encrypt(&ctx, 1, ciphertext, plaintext);
26}
27
28AES256Decrypt::AES256Decrypt(const unsigned char key[32])
29{

Callers 5

CBCEncryptFunction · 0.45
TestAES256Function · 0.45
TestAES256CBCFunction · 0.45
FUZZ_TARGETFunction · 0.45
FUZZ_TARGETFunction · 0.45

Calls 2

AES256_encryptFunction · 0.85
CBCEncryptFunction · 0.85

Tested by 4

TestAES256Function · 0.36
TestAES256CBCFunction · 0.36
FUZZ_TARGETFunction · 0.36
FUZZ_TARGETFunction · 0.36