CCF
|
Classes | |
struct | Unique_BIGNUM |
struct | Unique_BIO |
struct | Unique_BN_CTX |
struct | Unique_EC_GROUP |
struct | Unique_EC_POINT |
struct | Unique_ECDSA_SIG |
struct | Unique_EVP_CIPHER_CTX |
struct | Unique_EVP_ENCODE_CTX |
struct | Unique_EVP_MD_CTX |
struct | Unique_EVP_PKEY |
struct | Unique_EVP_PKEY_CTX |
struct | Unique_PKEY |
struct | Unique_SSL |
struct | Unique_SSL_CTX |
class | Unique_SSL_OBJECT |
struct | Unique_STACK_OF_X509 |
struct | Unique_STACK_OF_X509_EXTENSIONS |
struct | Unique_X509 |
struct | Unique_X509_CRL |
struct | Unique_X509_REQ |
struct | Unique_X509_REQ_DER |
struct | Unique_X509_STORE |
struct | Unique_X509_STORE_CTX |
struct | Unique_X509_TIME |
Functions | |
std::string | error_string (unsigned long ec) |
Returns the error string from an error code. | |
void | CHECK1 (int rc) |
Throws if rc is not 1 and has error. | |
void | CHECK0 (int rc) |
Throws if rc is 0 and has error. | |
void | CHECKNULL (void *ptr) |
Throws if ptr is null. | |
void | CHECKEQUAL (int expect, int actual) |
void | CHECKPOSITIVE (int val) |
X509 * | read_pem (BIO *mem) |
HashBytes | hmac (MDType type, const std::vector< uint8_t > &key, const std::vector< uint8_t > &data) |
std::vector< uint8_t > | hkdf (MDType md_type, size_t length, const std::span< const uint8_t > &ikm, const std::span< const uint8_t > &salt, const std::span< const uint8_t > &info) |
const EVP_MD * | get_md_type (MDType type) |
|
inline |
Throws if rc is 0 and has error.
|
inline |
Throws if rc is not 1 and has error.
|
inline |
|
inline |
Throws if ptr is null.
|
inline |
|
inline |
Returns the error string from an error code.
|
inline |
std::vector< uint8_t > ccf::crypto::OpenSSL::hkdf | ( | MDType | md_type, |
size_t | length, | ||
const std::span< const uint8_t > & | ikm, | ||
const std::span< const uint8_t > & | salt, | ||
const std::span< const uint8_t > & | info | ||
) |
HashBytes ccf::crypto::OpenSSL::hmac | ( | MDType | type, |
const std::vector< uint8_t > & | key, | ||
const std::vector< uint8_t > & | data | ||
) |
|
inline |