|
Electroneum
|
Functions | |
| void | decrypt (const void *ciphertext, size_t length, const uint8_t *key, const uint8_t *iv, char *plaintext, size_t *plaintext_len) |
Variables | |
| const unsigned | IV_SIZE = 12 |
| const unsigned | TAG_SIZE = 16 |
| void hw::trezor::protocol::crypto::chacha::decrypt | ( | const void * | ciphertext, |
| size_t | length, | ||
| const uint8_t * | key, | ||
| const uint8_t * | iv, | ||
| char * | plaintext, | ||
| size_t * | plaintext_len = nullptr |
||
| ) |
Chacha20Poly1305 decryption with tag verification. RFC 7539.
| const unsigned hw::trezor::protocol::crypto::chacha::IV_SIZE = 12 |
| const unsigned hw::trezor::protocol::crypto::chacha::TAG_SIZE = 16 |