#include <bip324.hpp>
|
| | Bip324Cipher () noexcept=default |
| |
| | ~Bip324Cipher () noexcept |
| |
| void | init (const std::uint8_t *key) noexcept |
| |
| std::vector< std::uint8_t > | encrypt (const std::uint8_t *aad, std::size_t aad_len, const std::uint8_t *plaintext, std::size_t plaintext_len) noexcept |
| |
| bool | decrypt (const std::uint8_t *aad, std::size_t aad_len, const std::uint8_t *header_enc, const std::uint8_t *contents, std::size_t contents_len, std::vector< std::uint8_t > &plaintext_out) noexcept |
| |
| std::uint64_t | packet_counter () const noexcept |
| |
Definition at line 36 of file bip324.hpp.
◆ Bip324Cipher()
| secp256k1::Bip324Cipher::Bip324Cipher |
( |
| ) |
|
|
defaultnoexcept |
◆ ~Bip324Cipher()
| secp256k1::Bip324Cipher::~Bip324Cipher |
( |
| ) |
|
|
inlinenoexcept |
◆ decrypt()
| bool secp256k1::Bip324Cipher::decrypt |
( |
const std::uint8_t * |
aad, |
|
|
std::size_t |
aad_len, |
|
|
const std::uint8_t * |
header_enc, |
|
|
const std::uint8_t * |
contents, |
|
|
std::size_t |
contents_len, |
|
|
std::vector< std::uint8_t > & |
plaintext_out |
|
) |
| |
|
noexcept |
◆ encrypt()
| std::vector< std::uint8_t > secp256k1::Bip324Cipher::encrypt |
( |
const std::uint8_t * |
aad, |
|
|
std::size_t |
aad_len, |
|
|
const std::uint8_t * |
plaintext, |
|
|
std::size_t |
plaintext_len |
|
) |
| |
|
noexcept |
◆ init()
| void secp256k1::Bip324Cipher::init |
( |
const std::uint8_t * |
key | ) |
|
|
noexcept |
◆ packet_counter()
| std::uint64_t secp256k1::Bip324Cipher::packet_counter |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this class was generated from the following file: