|
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.
Definition at line 120 of file protocol.cpp.

| const unsigned hw::trezor::protocol::crypto::chacha::IV_SIZE = 12 |
Definition at line 96 of file protocol.hpp.
| const unsigned hw::trezor::protocol::crypto::chacha::TAG_SIZE = 16 |
Definition at line 97 of file protocol.hpp.