GATE
gate_libcrypto_api_class Struct Reference

Public Attributes

void(* api_OPENSSL_cleanup )(void)
 
int(* api_OPENSSL_init_crypto )(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings)
 
void(* api_ERR_load_BIO_strings )(void)
 
void(* api_ERR_clear_error )(void)
 
void(* api_ERR_remove_state )(unsigned long pid)
 
const BIO_METHOD *(* api_BIO_s_mem )(void)
 
BIO *(* api_BIO_new_mem_buf )(void const *buf, int len)
 
BIO *(* api_BIO_new )(const BIO_METHOD *type)
 
BIO *(* api_BIO_new_file )(const char *filename, const char *mode)
 
long(* api_BIO_ctrl )(BIO *bp, int cmd, long larg, void *parg)
 
void(* api_BIO_free_all )(BIO *a)
 
int(* api_BIO_free )(BIO *a)
 
int(* api_BIO_read )(BIO *b, void *data, int len)
 
int(* api_BIO_test_flags )(const BIO *b, int flags)
 
int(* api_BIO_write )(BIO *b, const void *data, int len)
 
int(* api_BIO_new_bio_pair )(BIO **bio1, size_t writebuf1, BIO **bio2, size_t writebuf2)
 
DH *(* api_DH_new )(void)
 
void(* api_DH_free )(DH *dh)
 
int(* api_DH_generate_parameters_ex )(DH *dh, int prime_len, int generator, BN_GENCB *cb)
 
int(* api_DH_check )(const DH *dh, int *codes)
 
int(* api_DH_generate_key )(DH *dh)
 
RSA *(* api_PEM_read_bio_RSAPrivateKey )(BIO *bp, RSA **x, pem_password_cb *cb, void *u)
 
DSA *(* api_PEM_read_bio_DSAPrivateKey )(BIO *bp, DSA **x, pem_password_cb *cb, void *u)
 
EC_KEY *(* api_PEM_read_bio_ECPrivateKey )(BIO *out, EC_KEY **x, pem_password_cb *cb, void *u)
 
EVP_PKEY *(* api_PEM_read_bio_PrivateKey )(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u)
 
RSA *(* api_RSA_new )(void)
 
int(* api_RSA_size )(const RSA *rsa)
 
int(* api_RSA_set0_key )(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d)
 
int(* api_RSA_set0_factors )(RSA *r, BIGNUM *p, BIGNUM *q)
 
int(* api_RSA_set0_crt_params )(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp)
 
void(* api_RSA_get0_key )(const RSA *r, const BIGNUM **n, const BIGNUM **e, const BIGNUM **d)
 
void(* api_RSA_get0_factors )(const RSA *r, const BIGNUM **p, const BIGNUM **q)
 
int(* api_RSA_sign )(int type, const unsigned char *m, unsigned int m_len, unsigned char *sigret, unsigned int *siglen, RSA *rsa)
 
int(* api_RSA_verify )(int type, const unsigned char *m, unsigned int m_len, const unsigned char *sigbuf, unsigned int siglen, RSA *rsa)
 
void(* api_RSA_free )(RSA *r)
 
X509 *(* api_PEM_read_bio_X509 )(BIO *bp, X509 **x, pem_password_cb *cb, void *u)
 
void(* api_X509_free )(X509 *a)
 
ASN1_INTEGER *(* api_X509_get_serialNumber )(X509 *cert)
 
X509_NAME *(* api_X509_get_subject_name )(X509 const *cert)
 
X509_NAME *(* api_X509_get_issuer_name )(X509 const *cert)
 
int(* api_X509_NAME_print_ex )(BIO *out, X509_NAME const *nm, int indent, unsigned long flags)
 
char *(* api_X509_NAME_oneline )(X509_NAME const *a, char *buf, int len)
 
ASN1_TIME *(* api_ASN1_TIME_new )(void)
 
int(* api_ASN1_TIME_set_string )(ASN1_TIME *s, const char *str)
 
void(* api_ASN1_STRING_free )(ASN1_STRING *a)
 
int(* api_ASN1_TIME_print )(BIO *fp, const ASN1_TIME *a)
 
HMAC_CTX *(* api_HMAC_CTX_new )(void)
 
void(* api_HMAC_CTX_free )(HMAC_CTX *ctx)
 
int(* api_HMAC_Init_ex )(HMAC_CTX *ctx, const void *key, int key_len, const EVP_MD *md, ENGINE *impl)
 
int(* api_HMAC_Update )(HMAC_CTX *ctx, const unsigned char *data, size_t len)
 
int(* api_HMAC_Final )(HMAC_CTX *ctx, unsigned char *md, unsigned int *len)
 
const EVP_MD *(* api_EVP_md5 )(void)
 
const EVP_MD *(* api_EVP_md5_sha1 )(void)
 
const EVP_MD *(* api_EVP_sha1 )(void)
 
const EVP_MD *(* api_EVP_sha256 )(void)
 
const EVP_MD *(* api_EVP_sha512 )(void)
 
const EVP_MD *(* api_EVP_ripemd160 )(void)
 
const EVP_MD *(* api_EVP_get_digestbyname )(const char *name)
 
EVP_CIPHER_CTX *(* api_EVP_CIPHER_CTX_new )(void)
 
void(* api_EVP_CIPHER_CTX_free )(EVP_CIPHER_CTX *ctx)
 
int(* api_EVP_CIPHER_CTX_ctrl )(EVP_CIPHER_CTX *ctx, int cmd, int p1, void *p2)
 
int(* api_EVP_CipherInit )(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, const unsigned char *key, const unsigned char *iv, int enc)
 
int(* api_EVP_Cipher )(EVP_CIPHER_CTX *c, unsigned char *out, const unsigned char *in, unsigned int inl)
 
const EVP_CIPHER *(* api_EVP_des_ede3_cbc )(void)
 
const EVP_CIPHER *(* api_EVP_rc4 )(void)
 
const EVP_CIPHER *(* api_EVP_bf_cbc )(void)
 
const EVP_CIPHER *(* api_EVP_cast5_cbc )(void)
 
const EVP_CIPHER *(* api_EVP_aes_128_cbc )(void)
 
const EVP_CIPHER *(* api_EVP_aes_128_ctr )(void)
 
const EVP_CIPHER *(* api_EVP_aes_128_gcm )(void)
 
const EVP_CIPHER *(* api_EVP_aes_192_cbc )(void)
 
const EVP_CIPHER *(* api_EVP_aes_192_ctr )(void)
 
const EVP_CIPHER *(* api_EVP_aes_256_cbc )(void)
 
const EVP_CIPHER *(* api_EVP_aes_256_ctr )(void)
 
const EVP_CIPHER *(* api_EVP_aes_256_gcm )(void)
 
EVP_MD_CTX *(* api_EVP_MD_CTX_new )(void)
 
void(* api_EVP_MD_CTX_free )(EVP_MD_CTX *ctx)
 
int(* api_EVP_DigestInit )(EVP_MD_CTX *ctx, const EVP_MD *type)
 
int(* api_EVP_DigestUpdate )(EVP_MD_CTX *ctx, const void *d, size_t cnt)
 
int(* api_EVP_DigestFinal )(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s)
 
int(* api_EVP_DigestVerifyInit )(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey)
 
int(* api_EVP_DigestVerify )(EVP_MD_CTX *ctx, const unsigned char *sigret, size_t siglen, const unsigned char *tbs, size_t tbslen)
 
int(* api_EVP_DigestSignInit )(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey)
 
int(* api_EVP_DigestSign )(EVP_MD_CTX *ctx, unsigned char *sigret, size_t *siglen, const unsigned char *tbs, size_t tbslen)
 
int(* api_EVP_PKEY_id )(const EVP_PKEY *pkey)
 
int(* api_EVP_PKEY_set1_RSA )(EVP_PKEY *pkey, RSA *key)
 
RSA *(* api_EVP_PKEY_get1_RSA )(EVP_PKEY *pkey)
 
int(* api_EVP_PKEY_set1_DSA )(EVP_PKEY *pkey, DSA *key)
 
DSA *(* api_EVP_PKEY_get1_DSA )(EVP_PKEY *pkey)
 
int(* api_EVP_PKEY_set1_EC_KEY )(EVP_PKEY *pkey, EC_KEY *key)
 
EC_KEY *(* api_EVP_PKEY_get1_EC_KEY )(EVP_PKEY *pkey)
 
EVP_PKEY *(* api_EVP_PKEY_new )(void)
 
void(* api_EVP_PKEY_free )(EVP_PKEY *key)
 
EVP_PKEY_CTX *(* api_EVP_PKEY_CTX_new )(EVP_PKEY *pkey, ENGINE *e)
 
EVP_PKEY_CTX *(* api_EVP_PKEY_CTX_new_id )(int id, ENGINE *e)
 
void(* api_EVP_PKEY_CTX_free )(EVP_PKEY_CTX *ctx)
 
EVP_PKEY *(* api_EVP_PKEY_new_raw_private_key )(int type, ENGINE *e, const unsigned char *key, size_t keylen)
 
EVP_PKEY *(* api_EVP_PKEY_new_raw_public_key )(int type, ENGINE *e, const unsigned char *key, size_t keylen)
 
int(* api_EVP_PKEY_get_raw_private_key )(const EVP_PKEY *pkey, unsigned char *priv, size_t *len)
 
int(* api_EVP_PKEY_get_raw_public_key )(const EVP_PKEY *pkey, unsigned char *pub, size_t *len)
 
int(* api_EVP_PKEY_derive_init )(EVP_PKEY_CTX *ctx)
 
int(* api_EVP_PKEY_derive_set_peer )(EVP_PKEY_CTX *ctx, EVP_PKEY *peer)
 
int(* api_EVP_PKEY_derive )(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen)
 
int(* api_EVP_PKEY_keygen_init )(EVP_PKEY_CTX *ctx)
 
int(* api_EVP_PKEY_keygen )(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey)
 
DSA_SIG *(* api_DSA_SIG_new )(void)
 
void(* api_DSA_SIG_free )(DSA_SIG *a)
 
void(* api_DSA_SIG_get0 )(const DSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps)
 
int(* api_DSA_SIG_set0 )(DSA_SIG *sig, BIGNUM *r, BIGNUM *s)
 
DSA_SIG *(* api_DSA_do_sign )(const unsigned char *dgst, int dlen, DSA *dsa)
 
int(* api_DSA_do_verify )(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, DSA *dsa)
 
DSA *(* api_DSA_new )(void)
 
void(* api_DSA_free )(DSA *dsa)
 
void(* api_DSA_get0_pqg )(const DSA *d, const BIGNUM **p, const BIGNUM **q, const BIGNUM **g)
 
int(* api_DSA_set0_pqg )(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g)
 
void(* api_DSA_get0_key )(const DSA *d, const BIGNUM **pub_key, const BIGNUM **priv_key)
 
int(* api_DSA_set0_key )(DSA *d, BIGNUM *pub_key, BIGNUM *priv_key)
 
int(* api_EC_GROUP_get_curve_name )(const EC_GROUP *group)
 
int(* api_EC_GROUP_get_degree )(const EC_GROUP *group)
 
EC_POINT *(* api_EC_POINT_new )(const EC_GROUP *group)
 
void(* api_EC_POINT_free )(EC_POINT *point)
 
size_t(* api_EC_POINT_point2oct )(const EC_GROUP *group, const EC_POINT *p, point_conversion_form_t form, unsigned char *buf, size_t len, BN_CTX *ctx)
 
int(* api_EC_POINT_oct2point )(const EC_GROUP *group, EC_POINT *p, const unsigned char *buf, size_t len, BN_CTX *ctx)
 
EC_KEY *(* api_EC_KEY_new_by_curve_name )(int nid)
 
void(* api_EC_KEY_free )(EC_KEY *key)
 
const EC_GROUP *(* api_EC_KEY_get0_group )(const EC_KEY *key)
 
int(* api_EC_KEY_set_private_key )(EC_KEY *key, const BIGNUM *priv_key)
 
const EC_POINT *(* api_EC_KEY_get0_public_key )(const EC_KEY *key)
 
int(* api_EC_KEY_set_public_key )(EC_KEY *key, const EC_POINT *pub)
 
int(* api_EC_KEY_generate_key )(EC_KEY *key)
 
const BIGNUM *(* api_BN_value_one )(void)
 
int(* api_BN_set_word )(BIGNUM *a, BN_ULONG w)
 
BN_CTX *(* api_BN_CTX_new )(void)
 
void(* api_BN_CTX_free )(BN_CTX *c)
 
int(* api_BN_rand )(BIGNUM *rnd, int bits, int top, int bottom)
 
int(* api_BN_num_bits )(const BIGNUM *a)
 
BIGNUM *(* api_BN_new )(void)
 
void(* api_BN_clear_free )(BIGNUM *a)
 
BIGNUM *(* api_BN_bin2bn )(const unsigned char *s, int len, BIGNUM *ret)
 
int(* api_BN_bn2bin )(const BIGNUM *a, unsigned char *to)
 
int(* api_BN_sub )(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
 
int(* api_BN_div )(BIGNUM *dv, BIGNUM *rem, const BIGNUM *a, const BIGNUM *d, BN_CTX *ctx)
 
int(* api_BN_mod_exp )(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx)
 
int(* api_ECDH_compute_key )(void *out, size_t outlen, const EC_POINT *public_key, const EC_KEY *ecdh, void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen))
 
ECDSA_SIG *(* api_ECDSA_SIG_new )(void)
 
void(* api_ECDSA_SIG_free )(ECDSA_SIG *sig)
 
void(* api_ECDSA_SIG_get0 )(const ECDSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps)
 
int(* api_ECDSA_SIG_set0 )(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s)
 
ECDSA_SIG *(* api_ECDSA_do_sign )(const unsigned char *dgst, int dgst_len, EC_KEY *eckey)
 
int(* api_ECDSA_do_verify )(const unsigned char *dgst, int dgst_len, const ECDSA_SIG *sig, EC_KEY *eckey)
 
void(* api_ENGINE_load_builtin_engines )(void)
 
int(* api_ENGINE_register_all_complete )(void)
 
int(* api_RAND_bytes )(unsigned char *buf, int num)
 

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