/freebsd-10.0-release/crypto/openssl/crypto/cmac/ |
H A D | cm_pmeth.c | 63 static int pkey_cmac_init(EVP_PKEY_CTX *ctx) 72 static int pkey_cmac_copy(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src) 81 static void pkey_cmac_cleanup(EVP_PKEY_CTX *ctx) 86 static int pkey_cmac_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) 109 static int cmac_signctx_init(EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx) 116 static int cmac_signctx(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, 122 static int pkey_cmac_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) 155 static int pkey_cmac_ctrl_str(EVP_PKEY_CTX *ctx,
|
/freebsd-10.0-release/crypto/openssl/crypto/evp/ |
H A D | pmeth_lib.c | 127 static EVP_PKEY_CTX *int_ctx_new(EVP_PKEY *pkey, ENGINE *e, int id) 129 EVP_PKEY_CTX *ret; 168 ret = OPENSSL_malloc(sizeof(EVP_PKEY_CTX)); 297 EVP_PKEY_CTX *EVP_PKEY_CTX_new(EVP_PKEY *pkey, ENGINE *e) 302 EVP_PKEY_CTX *EVP_PKEY_CTX_new_id(int id, ENGINE *e) 307 EVP_PKEY_CTX *EVP_PKEY_CTX_dup(EVP_PKEY_CTX *pctx) 309 EVP_PKEY_CTX *rctx; 320 rctx = OPENSSL_malloc(sizeof(EVP_PKEY_CTX)); 365 void EVP_PKEY_CTX_free(EVP_PKEY_CTX *ct [all...] |
H A D | pmeth_gn.c | 67 int EVP_PKEY_paramgen_init(EVP_PKEY_CTX *ctx) 85 int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) 116 int EVP_PKEY_keygen_init(EVP_PKEY_CTX *ctx) 134 int EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) 165 void EVP_PKEY_CTX_set_cb(EVP_PKEY_CTX *ctx, EVP_PKEY_gen_cb *cb) 170 EVP_PKEY_gen_cb *EVP_PKEY_CTX_get_cb(EVP_PKEY_CTX *ctx) 175 /* "translation callback" to call EVP_PKEY_CTX callbacks using BN_GENCB 181 EVP_PKEY_CTX *ctx = gcb->arg; 187 void evp_pkey_set_cb_translate(BN_GENCB *cb, EVP_PKEY_CTX *ctx) 192 int EVP_PKEY_CTX_get_keygen_info(EVP_PKEY_CTX *ct [all...] |
H A D | evp_locl.h | 287 } /* EVP_PKEY_CTX */; 296 int (*init)(EVP_PKEY_CTX *ctx); 297 int (*copy)(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src); 298 void (*cleanup)(EVP_PKEY_CTX *ctx); 300 int (*paramgen_init)(EVP_PKEY_CTX *ctx); 301 int (*paramgen)(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey); 303 int (*keygen_init)(EVP_PKEY_CTX *ctx); 304 int (*keygen)(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey); 306 int (*sign_init)(EVP_PKEY_CTX *ct [all...] |
H A D | pmeth_fn.c | 82 int EVP_PKEY_sign_init(EVP_PKEY_CTX *ctx) 100 int EVP_PKEY_sign(EVP_PKEY_CTX *ctx, 119 int EVP_PKEY_verify_init(EVP_PKEY_CTX *ctx) 137 int EVP_PKEY_verify(EVP_PKEY_CTX *ctx, 155 int EVP_PKEY_verify_recover_init(EVP_PKEY_CTX *ctx) 173 int EVP_PKEY_verify_recover(EVP_PKEY_CTX *ctx, 192 int EVP_PKEY_encrypt_init(EVP_PKEY_CTX *ctx) 210 int EVP_PKEY_encrypt(EVP_PKEY_CTX *ctx, 229 int EVP_PKEY_decrypt_init(EVP_PKEY_CTX *ctx) 247 int EVP_PKEY_decrypt(EVP_PKEY_CTX *ct [all...] |
H A D | evp.h | 272 EVP_PKEY_CTX *pctx; 615 int EVP_DigestSignInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, 620 int EVP_DigestVerifyInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, 1121 EVP_PKEY_CTX *EVP_PKEY_CTX_new(EVP_PKEY *pkey, ENGINE *e); 1122 EVP_PKEY_CTX *EVP_PKEY_CTX_new_id(int id, ENGINE *e); 1123 EVP_PKEY_CTX *EVP_PKEY_CTX_dup(EVP_PKEY_CTX *ctx); 1124 void EVP_PKEY_CTX_free(EVP_PKEY_CTX *ctx); 1126 int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype, 1128 int EVP_PKEY_CTX_ctrl_str(EVP_PKEY_CTX *ct [all...] |
H A D | m_sigver.c | 66 static int do_sigver_init(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, 119 int EVP_DigestSignInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, 125 int EVP_DigestVerifyInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx,
|
H A D | p_verify.c | 72 EVP_PKEY_CTX *pkctx = NULL;
|
H A D | p_sign.c | 85 EVP_PKEY_CTX *pkctx = NULL;
|
/freebsd-10.0-release/crypto/openssl/engines/ccgost/ |
H A D | gost_pmeth.c | 22 static int pkey_gost_init(EVP_PKEY_CTX *ctx) 47 static int pkey_gost_copy(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src) 64 static void pkey_gost_cleanup (EVP_PKEY_CTX *ctx) 72 static int pkey_gost_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) 120 static int pkey_gost_ctrl94_str(EVP_PKEY_CTX *ctx, 195 static int pkey_gost_ctrl01_str(EVP_PKEY_CTX *ctx, 269 static int pkey_gost_paramgen_init(EVP_PKEY_CTX *ctx) { 272 static int pkey_gost94_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) 291 static int pkey_gost01_paramgen(EVP_PKEY_CTX *ct [all...] |
H A D | gost_lcl.h | 170 int pkey_GOST94cp_encrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, const unsigned char* key, size_t key_len ); 172 int pkey_GOST94cp_decrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, const unsigned char* in, size_t in_len ); 174 int pkey_GOST01cp_encrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, const unsigned char* key, size_t key_len ); 176 int pkey_GOST01cp_decrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, const unsigned char* in, size_t in_len ); 179 int pkey_gost2001_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen); 181 int pkey_gost94_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen);
|
H A D | gost2001_keyx.c | 75 int pkey_gost2001_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen) 117 int pkey_GOST01cp_encrypt(EVP_PKEY_CTX *pctx, unsigned char *out, size_t *out_len, const unsigned char *key,size_t key_len) 228 int pkey_GOST01cp_decrypt(EVP_PKEY_CTX *pctx, unsigned char *key, size_t * key_len, const unsigned char *in, size_t in_len)
|
H A D | gost94_keyx.c | 73 int pkey_gost94_derive(EVP_PKEY_CTX *ctx,unsigned char *key,size_t *keylen) 88 int pkey_GOST94cp_encrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, const unsigned char* key, size_t key_len ) 212 int pkey_GOST94cp_decrypt(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *key_len,const unsigned char *in, size_t in_len) {
|
/freebsd-10.0-release/crypto/openssl/crypto/dh/ |
H A D | dh_pmeth.c | 80 static int pkey_dh_init(EVP_PKEY_CTX *ctx) 97 static int pkey_dh_copy(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src) 110 static void pkey_dh_cleanup(EVP_PKEY_CTX *ctx) 117 static int pkey_dh_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) 143 static int pkey_dh_ctrl_str(EVP_PKEY_CTX *ctx, 161 static int pkey_dh_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) 186 static int pkey_dh_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) 204 static int pkey_dh_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen)
|
/freebsd-10.0-release/crypto/openssl/crypto/hmac/ |
H A D | hm_pmeth.c | 75 static int pkey_hmac_init(EVP_PKEY_CTX *ctx) 94 static int pkey_hmac_copy(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src) 114 static void pkey_hmac_cleanup(EVP_PKEY_CTX *ctx) 128 static int pkey_hmac_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) 150 static int hmac_signctx_init(EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx) 159 static int hmac_signctx(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, 178 static int pkey_hmac_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) 210 static int pkey_hmac_ctrl_str(EVP_PKEY_CTX *ctx,
|
/freebsd-10.0-release/crypto/openssl/crypto/ec/ |
H A D | ec_pmeth.c | 77 static int pkey_ec_init(EVP_PKEY_CTX *ctx) 91 static int pkey_ec_copy(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src) 108 static void pkey_ec_cleanup(EVP_PKEY_CTX *ctx) 119 static int pkey_ec_sign(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, 152 static int pkey_ec_verify(EVP_PKEY_CTX *ctx, 171 static int pkey_ec_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen) 206 static int pkey_ec_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) 251 static int pkey_ec_ctrl_str(EVP_PKEY_CTX *ctx, 270 static int pkey_ec_paramgen(EVP_PKEY_CTX *ct [all...] |
/freebsd-10.0-release/crypto/openssl/crypto/dsa/ |
H A D | dsa_pmeth.c | 81 static int pkey_dsa_init(EVP_PKEY_CTX *ctx) 99 static int pkey_dsa_copy(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src) 113 static void pkey_dsa_cleanup(EVP_PKEY_CTX *ctx) 120 static int pkey_dsa_sign(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, 141 static int pkey_dsa_verify(EVP_PKEY_CTX *ctx, 159 static int pkey_dsa_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) 217 static int pkey_dsa_ctrl_str(EVP_PKEY_CTX *ctx, 241 static int pkey_dsa_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) 266 static int pkey_dsa_keygen(EVP_PKEY_CTX *ct [all...] |
/freebsd-10.0-release/crypto/openssl/apps/ |
H A D | genpkey.c | 68 static int init_keygen_file(BIO *err, EVP_PKEY_CTX **pctx, 70 static int genpkey_cb(EVP_PKEY_CTX *ctx); 86 EVP_PKEY_CTX *ctx = NULL; 315 static int init_keygen_file(BIO *err, EVP_PKEY_CTX **pctx, 320 EVP_PKEY_CTX *ctx = NULL; 363 int init_gen_str(BIO *err, EVP_PKEY_CTX **pctx, 366 EVP_PKEY_CTX *ctx = NULL; 424 static int genpkey_cb(EVP_PKEY_CTX *ctx)
|
H A D | pkeyutl.c | 75 static EVP_PKEY_CTX *init_ctx(int *pkeysize, 79 static int setup_peer(BIO *err, EVP_PKEY_CTX *ctx, int peerform, 82 static int do_keyop(EVP_PKEY_CTX *ctx, int pkey_op, 97 EVP_PKEY_CTX *ctx = NULL; 413 static EVP_PKEY_CTX *init_ctx(int *pkeysize, 418 EVP_PKEY_CTX *ctx = NULL; 513 static int setup_peer(BIO *err, EVP_PKEY_CTX *ctx, int peerform, 541 static int do_keyop(EVP_PKEY_CTX *ctx, int pkey_op,
|
H A D | apps.h | 319 int pkey_ctrl_string(EVP_PKEY_CTX *ctx, char *value); 320 int init_gen_str(BIO *err, EVP_PKEY_CTX **pctx,
|
H A D | req.c | 144 static int genpkey_cb(EVP_PKEY_CTX *ctx); 147 static EVP_PKEY_CTX *set_keygen_ctx(BIO *err, const char *gstr, int *pkey_type, 165 EVP_PKEY_CTX *genctx = NULL; 1603 static EVP_PKEY_CTX *set_keygen_ctx(BIO *err, const char *gstr, int *pkey_type, 1607 EVP_PKEY_CTX *gctx = NULL; 1767 static int genpkey_cb(EVP_PKEY_CTX *ctx) 1788 EVP_PKEY_CTX *pkctx = NULL;
|
H A D | dgst.c | 371 EVP_PKEY_CTX *mac_ctx = NULL; 423 EVP_PKEY_CTX *pctx = NULL;
|
/freebsd-10.0-release/crypto/openssl/crypto/rsa/ |
H A D | rsa_pmeth.c | 96 static int pkey_rsa_init(EVP_PKEY_CTX *ctx) 118 static int pkey_rsa_copy(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src) 137 static int setup_tbuf(RSA_PKEY_CTX *ctx, EVP_PKEY_CTX *pk) 147 static void pkey_rsa_cleanup(EVP_PKEY_CTX *ctx) 166 static int pkey_fips_check_ctx(EVP_PKEY_CTX *ctx) 185 static int pkey_rsa_sign(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, 282 static int pkey_rsa_verifyrecover(EVP_PKEY_CTX *ctx, 339 static int pkey_rsa_verify(EVP_PKEY_CTX *ctx, 416 static int pkey_rsa_encrypt(EVP_PKEY_CTX *ct [all...] |
/freebsd-10.0-release/crypto/openssl/crypto/ |
H A D | ossl_typ.h | 136 typedef struct evp_pkey_ctx_st EVP_PKEY_CTX; typedef in typeref:struct:evp_pkey_ctx_st
|
/freebsd-10.0-release/crypto/openssl/crypto/cms/ |
H A D | cms_env.c | 307 EVP_PKEY_CTX *pctx = NULL; 371 EVP_PKEY_CTX *pctx = NULL;
|