MCPcopy Create free account
hub / github.com/Bitcoin-ABC/bitcoin-abc / Decrypt

Method Decrypt

src/crypto/aes.cpp:34–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34void AES128Decrypt::Decrypt(uint8_t plaintext[16],
35 const uint8_t ciphertext[16]) const {
36 AES128_decrypt(&ctx, 1, plaintext, ciphertext);
37}
38
39AES256Encrypt::AES256Encrypt(const uint8_t key[32]) {
40 AES256_init(&ctx, key);

Callers 15

CBCDecryptFunction · 0.45
TestAES128Method · 0.45
TestAES256Method · 0.45
TestAES128CBCMethod · 0.45
TestAES256CBCMethod · 0.45
TestChaCha20Poly1305Method · 0.45
FUZZ_TARGETFunction · 0.45
FUZZ_TARGETFunction · 0.45
AES128_DecryptFunction · 0.45
AES256_DecryptFunction · 0.45
AES128CBC_DecryptNoPadFunction · 0.45

Calls 3

AES128_decryptFunction · 0.85
AES256_decryptFunction · 0.85
CBCDecryptFunction · 0.85

Tested by 8

TestAES128Method · 0.36
TestAES256Method · 0.36
TestAES128CBCMethod · 0.36
TestAES256CBCMethod · 0.36
TestChaCha20Poly1305Method · 0.36
FUZZ_TARGETFunction · 0.36
FUZZ_TARGETFunction · 0.36