CCF
Loading...
Searching...
No Matches
Namespaces | Functions
key_wrap.h File Reference
#include "ccf/crypto/rsa_key_pair.h"
#include "ccf/crypto/symmetric_key.h"
#include <cstddef>
#include <cstdint>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  ccf
 
namespace  ccf::crypto
 

Functions

std::vector< uint8_t > ccf::crypto::ckm_rsa_pkcs_oaep_wrap (RSAPublicKeyPtr wrapping_key, const std::vector< uint8_t > &unwrapped, const std::optional< std::vector< uint8_t > > &label={})
 
std::vector< uint8_t > ccf::crypto::ckm_rsa_pkcs_oaep_wrap (const Pem &wrapping_key, const std::vector< uint8_t > &unwrapped, const std::optional< std::vector< uint8_t > > &label={})
 
std::vector< uint8_t > ccf::crypto::ckm_rsa_pkcs_oaep_unwrap (RSAKeyPairPtr wrapping_key, const std::vector< uint8_t > &wrapped, const std::optional< std::vector< uint8_t > > &label={})
 
std::vector< uint8_t > ccf::crypto::ckm_rsa_pkcs_oaep_unwrap (const Pem &wrapping_key, const std::vector< uint8_t > &wrapped, const std::optional< std::vector< uint8_t > > &label={})
 
std::vector< uint8_t > ccf::crypto::ckm_aes_key_wrap_pad (const std::vector< uint8_t > &wrapping_key, const std::vector< uint8_t > &unwrapped)
 
std::vector< uint8_t > ccf::crypto::ckm_aes_key_unwrap_pad (const std::vector< uint8_t > &wrapping_key, const std::vector< uint8_t > &wrapped)
 
std::vector< uint8_t > ccf::crypto::ckm_rsa_aes_key_wrap (size_t aes_key_size, RSAPublicKeyPtr wrapping_key, const std::vector< uint8_t > &unwrapped, const std::optional< std::vector< uint8_t > > &label={})
 
std::vector< uint8_t > ccf::crypto::ckm_rsa_aes_key_wrap (size_t aes_key_size, const Pem &wrapping_key, const std::vector< uint8_t > &unwrapped, const std::optional< std::vector< uint8_t > > &label={})
 
std::vector< uint8_t > ccf::crypto::ckm_rsa_aes_key_unwrap (RSAKeyPairPtr wrapping_key, const std::vector< uint8_t > &wrapped, const std::optional< std::vector< uint8_t > > &label={})
 
std::vector< uint8_t > ccf::crypto::ckm_rsa_aes_key_unwrap (const Pem &wrapping_key, const std::vector< uint8_t > &wrapped, const std::optional< std::vector< uint8_t > > &label={})