Searched refs:EVP_PKEY_CTX (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-10.0-release/crypto/openssl/crypto/cmac/
H A Dcm_pmeth.c63 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 Dpmeth_lib.c127 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 Dpmeth_gn.c67 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 Devp_locl.h287 } /* 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 Dpmeth_fn.c82 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 Devp.h272 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 Dm_sigver.c66 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 Dp_verify.c72 EVP_PKEY_CTX *pkctx = NULL;
H A Dp_sign.c85 EVP_PKEY_CTX *pkctx = NULL;
/freebsd-10.0-release/crypto/openssl/engines/ccgost/
H A Dgost_pmeth.c22 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 Dgost_lcl.h170 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 Dgost2001_keyx.c75 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 Dgost94_keyx.c73 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 Ddh_pmeth.c80 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 Dhm_pmeth.c75 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 Dec_pmeth.c77 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 Ddsa_pmeth.c81 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 Dgenpkey.c68 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 Dpkeyutl.c75 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 Dapps.h319 int pkey_ctrl_string(EVP_PKEY_CTX *ctx, char *value);
320 int init_gen_str(BIO *err, EVP_PKEY_CTX **pctx,
H A Dreq.c144 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 Ddgst.c371 EVP_PKEY_CTX *mac_ctx = NULL;
423 EVP_PKEY_CTX *pctx = NULL;
/freebsd-10.0-release/crypto/openssl/crypto/rsa/
H A Drsa_pmeth.c96 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 Dossl_typ.h136 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 Dcms_env.c307 EVP_PKEY_CTX *pctx = NULL;
371 EVP_PKEY_CTX *pctx = NULL;

Completed in 268 milliseconds

12