YPC  0.2.0
Static Public Member Functions | List of all members
ypc::crypto::internal::aes_gcm_impl< EC, AES, ECDH > Class Template Reference
Inheritance diagram for ypc::crypto::internal::aes_gcm_impl< EC, AES, ECDH >:
Inheritance graph
[legend]

Static Public Member Functions

static uint32_t get_encrypt_message_size_with_prefix (uint32_t data_size)
 
static uint32_t encrypt_message_with_prefix (const uint8_t *public_key, uint32_t pkey_size, const uint8_t *data, uint32_t data_size, uint32_t prefix, uint8_t *cipher, uint32_t cipher_size)
 
template<typename BytesType >
static uint32_t encrypt_message_with_prefix (const BytesType &public_key, const BytesType &data, uint32_t prefix, BytesType &cipher)
 
static uint32_t get_decrypt_message_size_with_prefix (uint32_t cipher_size)
 
static uint32_t decrypt_message_with_prefix (const uint8_t *private_key, uint32_t private_key_size, const uint8_t *cipher, uint32_t cipher_size, uint8_t *data, uint32_t data_size, uint32_t prefix)
 
template<typename BytesType >
static uint32_t decrypt_message_with_prefix (const BytesType &private_key, const BytesType &cipher, BytesType &data, uint32_t prefix)
 

The documentation for this class was generated from the following file: