/third_party/openssl/doc/man3/ |
D | EVP_PKEY_meth_new.pod | 46 int (*init) (EVP_PKEY_CTX *ctx)); 48 int (*copy) (EVP_PKEY_CTX *dst, 49 const EVP_PKEY_CTX *src)); 51 void (*cleanup) (EVP_PKEY_CTX *ctx)); 53 int (*paramgen_init) (EVP_PKEY_CTX *ctx), 54 int (*paramgen) (EVP_PKEY_CTX *ctx, 57 int (*keygen_init) (EVP_PKEY_CTX *ctx), 58 int (*keygen) (EVP_PKEY_CTX *ctx, 61 int (*sign_init) (EVP_PKEY_CTX *ctx), 62 int (*sign) (EVP_PKEY_CTX *ctx, [all …]
|
D | EVP_PKEY_CTX_ctrl.pod | 79 int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype, 81 int EVP_PKEY_CTX_ctrl_uint64(EVP_PKEY_CTX *ctx, int keytype, int optype, 83 int EVP_PKEY_CTX_ctrl_str(EVP_PKEY_CTX *ctx, const char *type, 86 int EVP_PKEY_CTX_md(EVP_PKEY_CTX *ctx, int optype, int cmd, const char *md); 88 int EVP_PKEY_CTX_set_signature_md(EVP_PKEY_CTX *ctx, const EVP_MD *md); 89 int EVP_PKEY_CTX_get_signature_md(EVP_PKEY_CTX *ctx, const EVP_MD **pmd); 91 int EVP_PKEY_CTX_set_mac_key(EVP_PKEY_CTX *ctx, const unsigned char *key, 93 int EVP_PKEY_CTX_set_group_name(EVP_PKEY_CTX *ctx, const char *name); 94 int EVP_PKEY_CTX_get_group_name(EVP_PKEY_CTX *ctx, char *name, size_t namelen); 96 int EVP_PKEY_CTX_set_kem_op(EVP_PKEY_CTX *ctx, const char *op); [all …]
|
D | EVP_PKEY_CTX_new.pod | 14 EVP_PKEY_CTX *EVP_PKEY_CTX_new(EVP_PKEY *pkey, ENGINE *e); 15 EVP_PKEY_CTX *EVP_PKEY_CTX_new_id(int id, ENGINE *e); 16 EVP_PKEY_CTX *EVP_PKEY_CTX_new_from_name(OSSL_LIB_CTX *libctx, 19 EVP_PKEY_CTX *EVP_PKEY_CTX_new_from_pkey(OSSL_LIB_CTX *libctx, 22 EVP_PKEY_CTX *EVP_PKEY_CTX_dup(const EVP_PKEY_CTX *ctx); 23 void EVP_PKEY_CTX_free(EVP_PKEY_CTX *ctx); 24 int EVP_PKEY_CTX_is_a(EVP_PKEY_CTX *ctx, const char *keytype); 38 lifetime of the returned B<EVP_PKEY_CTX> or of any of its duplicates. Read 45 returned B<EVP_PKEY_CTX> or any of its duplicates. 62 =head2 On B<EVP_PKEY_CTX> [all …]
|
D | EVP_PKEY_CTX_get0_libctx.pod | 8 - functions for getting diverse information from an EVP_PKEY_CTX 14 OSSL_LIB_CTX *EVP_PKEY_CTX_get0_libctx(EVP_PKEY_CTX *ctx); 15 const char *EVP_PKEY_CTX_get0_propq(const EVP_PKEY_CTX *ctx); 16 const OSSL_PROVIDER *EVP_PKEY_CTX_get0_provider(const EVP_PKEY_CTX *ctx); 22 associated with the EVP_PKEY_CTX when it was constructed. 25 ongoing B<EVP_PKEY_CTX> operation. If the operation is performed by 31 OSSL_LIB_CTX and property query string associated with the EVP_PKEY_CTX or NULL
|
D | EVP_PKEY_keygen.pod | 21 int EVP_PKEY_keygen_init(EVP_PKEY_CTX *ctx); 22 int EVP_PKEY_paramgen_init(EVP_PKEY_CTX *ctx); 23 int EVP_PKEY_generate(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey); 24 int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey); 25 int EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey); 27 typedef int EVP_PKEY_gen_cb(EVP_PKEY_CTX *ctx); 29 void EVP_PKEY_CTX_set_cb(EVP_PKEY_CTX *ctx, EVP_PKEY_gen_cb *cb); 30 EVP_PKEY_gen_cb *EVP_PKEY_CTX_get_cb(EVP_PKEY_CTX *ctx); 32 int EVP_PKEY_CTX_get_keygen_info(EVP_PKEY_CTX *ctx, int idx); 34 void EVP_PKEY_CTX_set_app_data(EVP_PKEY_CTX *ctx, void *data); [all …]
|
/third_party/openssl/crypto/evp/ |
D | pmeth_lib.c | 40 static int evp_pkey_ctx_store_cached_data(EVP_PKEY_CTX *ctx, 44 static void evp_pkey_ctx_free_cached_data(EVP_PKEY_CTX *ctx, 46 static void evp_pkey_ctx_free_all_cached_data(EVP_PKEY_CTX *ctx); 160 int evp_pkey_ctx_state(const EVP_PKEY_CTX *ctx) in evp_pkey_ctx_state() 180 static EVP_PKEY_CTX *int_ctx_new(OSSL_LIB_CTX *libctx, in int_ctx_new() 186 EVP_PKEY_CTX *ret = NULL; in int_ctx_new() 364 EVP_PKEY_CTX *EVP_PKEY_CTX_new_from_name(OSSL_LIB_CTX *libctx, in EVP_PKEY_CTX_new_from_name() 371 EVP_PKEY_CTX *EVP_PKEY_CTX_new_from_pkey(OSSL_LIB_CTX *libctx, EVP_PKEY *pkey, in EVP_PKEY_CTX_new_from_pkey() 377 void evp_pkey_ctx_free_old_ops(EVP_PKEY_CTX *ctx) in evp_pkey_ctx_free_old_ops() 410 void EVP_PKEY_CTX_free(EVP_PKEY_CTX *ctx) in EVP_PKEY_CTX_free() [all …]
|
D | dh_ctrl.c | 19 static int dh_paramgen_check(EVP_PKEY_CTX *ctx) in dh_paramgen_check() 34 static int dh_param_derive_check(EVP_PKEY_CTX *ctx) in dh_param_derive_check() 49 int EVP_PKEY_CTX_set_dh_paramgen_gindex(EVP_PKEY_CTX *ctx, int gindex) in EVP_PKEY_CTX_set_dh_paramgen_gindex() 63 int EVP_PKEY_CTX_set_dh_paramgen_seed(EVP_PKEY_CTX *ctx, in EVP_PKEY_CTX_set_dh_paramgen_seed() 84 int EVP_PKEY_CTX_set_dh_paramgen_type(EVP_PKEY_CTX *ctx, int typ) in EVP_PKEY_CTX_set_dh_paramgen_type() 90 int EVP_PKEY_CTX_set_dh_paramgen_prime_len(EVP_PKEY_CTX *ctx, int pbits) in EVP_PKEY_CTX_set_dh_paramgen_prime_len() 104 int EVP_PKEY_CTX_set_dh_paramgen_subprime_len(EVP_PKEY_CTX *ctx, int qbits) in EVP_PKEY_CTX_set_dh_paramgen_subprime_len() 119 int EVP_PKEY_CTX_set_dh_paramgen_generator(EVP_PKEY_CTX *ctx, int gen) in EVP_PKEY_CTX_set_dh_paramgen_generator() 137 int EVP_PKEY_CTX_set_dh_rfc5114(EVP_PKEY_CTX *ctx, int gen) in EVP_PKEY_CTX_set_dh_rfc5114() 143 int EVP_PKEY_CTX_set_dhx_rfc5114(EVP_PKEY_CTX *ctx, int gen) in EVP_PKEY_CTX_set_dhx_rfc5114() [all …]
|
D | ec_ctrl.c | 24 int evp_pkey_ctx_getset_ecdh_param_checks(const EVP_PKEY_CTX *ctx) in evp_pkey_ctx_getset_ecdh_param_checks() 40 int EVP_PKEY_CTX_set_ecdh_cofactor_mode(EVP_PKEY_CTX *ctx, int cofactor_mode) in EVP_PKEY_CTX_set_ecdh_cofactor_mode() 70 int EVP_PKEY_CTX_get_ecdh_cofactor_mode(EVP_PKEY_CTX *ctx) in EVP_PKEY_CTX_get_ecdh_cofactor_mode() 111 int EVP_PKEY_CTX_set_ecdh_kdf_type(EVP_PKEY_CTX *ctx, int kdf) in EVP_PKEY_CTX_set_ecdh_kdf_type() 121 int EVP_PKEY_CTX_get_ecdh_kdf_type(EVP_PKEY_CTX *ctx) in EVP_PKEY_CTX_get_ecdh_kdf_type() 131 int EVP_PKEY_CTX_set_ecdh_kdf_md(EVP_PKEY_CTX *ctx, const EVP_MD *md) in EVP_PKEY_CTX_set_ecdh_kdf_md() 141 int EVP_PKEY_CTX_get_ecdh_kdf_md(EVP_PKEY_CTX *ctx, const EVP_MD **pmd) in EVP_PKEY_CTX_get_ecdh_kdf_md() 147 int EVP_PKEY_CTX_set_ecdh_kdf_outlen(EVP_PKEY_CTX *ctx, int outlen) in EVP_PKEY_CTX_set_ecdh_kdf_outlen() 176 int EVP_PKEY_CTX_get_ecdh_kdf_outlen(EVP_PKEY_CTX *ctx, int *plen) in EVP_PKEY_CTX_get_ecdh_kdf_outlen() 210 int EVP_PKEY_CTX_set0_ecdh_kdf_ukm(EVP_PKEY_CTX *ctx, unsigned char *ukm, int len) in EVP_PKEY_CTX_set0_ecdh_kdf_ukm() [all …]
|
D | pmeth_check.c | 28 static int try_provided_check(EVP_PKEY_CTX *ctx, int selection, int checktype) in try_provided_check() 47 static int evp_pkey_public_check_combined(EVP_PKEY_CTX *ctx, int checktype) in evp_pkey_public_check_combined() 81 int EVP_PKEY_public_check(EVP_PKEY_CTX *ctx) in EVP_PKEY_public_check() 86 int EVP_PKEY_public_check_quick(EVP_PKEY_CTX *ctx) in EVP_PKEY_public_check_quick() 91 static int evp_pkey_param_check_combined(EVP_PKEY_CTX *ctx, int checktype) in evp_pkey_param_check_combined() 126 int EVP_PKEY_param_check(EVP_PKEY_CTX *ctx) in EVP_PKEY_param_check() 131 int EVP_PKEY_param_check_quick(EVP_PKEY_CTX *ctx) in EVP_PKEY_param_check_quick() 136 int EVP_PKEY_private_check(EVP_PKEY_CTX *ctx) in EVP_PKEY_private_check() 155 int EVP_PKEY_check(EVP_PKEY_CTX *ctx) in EVP_PKEY_check() 160 int EVP_PKEY_pairwise_check(EVP_PKEY_CTX *ctx) in EVP_PKEY_pairwise_check()
|
D | pmeth_gn.c | 25 static int gen_init(EVP_PKEY_CTX *ctx, int operation) in gen_init() 94 int EVP_PKEY_paramgen_init(EVP_PKEY_CTX *ctx) in EVP_PKEY_paramgen_init() 99 int EVP_PKEY_keygen_init(EVP_PKEY_CTX *ctx) in EVP_PKEY_keygen_init() 106 EVP_PKEY_CTX *ctx = arg; in ossl_callback_to_pkey_gencb() 128 int EVP_PKEY_generate(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) in EVP_PKEY_generate() 259 int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) in EVP_PKEY_paramgen() 268 int EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) in EVP_PKEY_keygen() 277 void EVP_PKEY_CTX_set_cb(EVP_PKEY_CTX *ctx, EVP_PKEY_gen_cb *cb) in EVP_PKEY_CTX_set_cb() 282 EVP_PKEY_gen_cb *EVP_PKEY_CTX_get_cb(EVP_PKEY_CTX *ctx) in EVP_PKEY_CTX_get_cb() 294 EVP_PKEY_CTX *ctx = BN_GENCB_get_arg(gcb); in trans_cb() [all …]
|
D | dsa_ctrl.c | 17 static int dsa_paramgen_check(EVP_PKEY_CTX *ctx) in dsa_paramgen_check() 30 int EVP_PKEY_CTX_set_dsa_paramgen_type(EVP_PKEY_CTX *ctx, const char *name) in EVP_PKEY_CTX_set_dsa_paramgen_type() 45 int EVP_PKEY_CTX_set_dsa_paramgen_gindex(EVP_PKEY_CTX *ctx, int gindex) in EVP_PKEY_CTX_set_dsa_paramgen_gindex() 59 int EVP_PKEY_CTX_set_dsa_paramgen_seed(EVP_PKEY_CTX *ctx, in EVP_PKEY_CTX_set_dsa_paramgen_seed() 76 int EVP_PKEY_CTX_set_dsa_paramgen_bits(EVP_PKEY_CTX *ctx, int nbits) in EVP_PKEY_CTX_set_dsa_paramgen_bits() 91 int EVP_PKEY_CTX_set_dsa_paramgen_q_bits(EVP_PKEY_CTX *ctx, int qbits) in EVP_PKEY_CTX_set_dsa_paramgen_q_bits() 106 int EVP_PKEY_CTX_set_dsa_paramgen_md_props(EVP_PKEY_CTX *ctx, in EVP_PKEY_CTX_set_dsa_paramgen_md_props() 127 int EVP_PKEY_CTX_set_dsa_paramgen_md(EVP_PKEY_CTX *ctx, const EVP_MD *md) in EVP_PKEY_CTX_set_dsa_paramgen_md()
|
/third_party/openssl/ohos_lite/include/openssl/ |
D | evp.h | 460 EVP_PKEY_CTX *EVP_MD_CTX_pkey_ctx(const EVP_MD_CTX *ctx); 461 void EVP_MD_CTX_set_pkey_ctx(EVP_MD_CTX *ctx, EVP_PKEY_CTX *pctx); 634 /*__owur*/ int EVP_DigestSignInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, 640 __owur int EVP_DigestVerifyInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, 1338 EVP_PKEY_CTX *EVP_PKEY_CTX_new(EVP_PKEY *pkey, ENGINE *e); 1339 EVP_PKEY_CTX *EVP_PKEY_CTX_new_id(int id, ENGINE *e); 1340 EVP_PKEY_CTX *EVP_PKEY_CTX_dup(EVP_PKEY_CTX *ctx); 1341 void EVP_PKEY_CTX_free(EVP_PKEY_CTX *ctx); 1343 int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype, 1345 int EVP_PKEY_CTX_ctrl_str(EVP_PKEY_CTX *ctx, const char *type, [all …]
|
/third_party/openssl/include/openssl/ |
D | evp.h | 571 EVP_PKEY_CTX *EVP_MD_CTX_get_pkey_ctx(const EVP_MD_CTX *ctx); 573 void EVP_MD_CTX_set_pkey_ctx(EVP_MD_CTX *ctx, EVP_PKEY_CTX *pctx); 820 int EVP_DigestSignInit_ex(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, 824 /*__owur*/ int EVP_DigestSignInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, 831 int EVP_DigestVerifyInit_ex(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, 835 __owur int EVP_DigestVerifyInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, 1671 int EVP_PKEY_CTX_get_signature_md(EVP_PKEY_CTX *ctx, const EVP_MD **md); 1672 int EVP_PKEY_CTX_set_signature_md(EVP_PKEY_CTX *ctx, const EVP_MD *md); 1674 int EVP_PKEY_CTX_set1_id(EVP_PKEY_CTX *ctx, const void *id, int len); 1675 int EVP_PKEY_CTX_get1_id(EVP_PKEY_CTX *ctx, void *id); [all …]
|
D | kdf.h | 97 int EVP_PKEY_CTX_set_tls1_prf_md(EVP_PKEY_CTX *ctx, const EVP_MD *md); 99 int EVP_PKEY_CTX_set1_tls1_prf_secret(EVP_PKEY_CTX *pctx, 102 int EVP_PKEY_CTX_add1_tls1_prf_seed(EVP_PKEY_CTX *pctx, 105 int EVP_PKEY_CTX_set_hkdf_md(EVP_PKEY_CTX *ctx, const EVP_MD *md); 107 int EVP_PKEY_CTX_set1_hkdf_salt(EVP_PKEY_CTX *ctx, 110 int EVP_PKEY_CTX_set1_hkdf_key(EVP_PKEY_CTX *ctx, 113 int EVP_PKEY_CTX_add1_hkdf_info(EVP_PKEY_CTX *ctx, 116 int EVP_PKEY_CTX_set_hkdf_mode(EVP_PKEY_CTX *ctx, int mode); 119 int EVP_PKEY_CTX_set1_pbe_pass(EVP_PKEY_CTX *ctx, const char *pass, 122 int EVP_PKEY_CTX_set1_scrypt_salt(EVP_PKEY_CTX *ctx, [all …]
|
D | dh.h | 34 int EVP_PKEY_CTX_set_dh_paramgen_type(EVP_PKEY_CTX *ctx, int typ); 35 int EVP_PKEY_CTX_set_dh_paramgen_gindex(EVP_PKEY_CTX *ctx, int gindex); 36 int EVP_PKEY_CTX_set_dh_paramgen_seed(EVP_PKEY_CTX *ctx, 39 int EVP_PKEY_CTX_set_dh_paramgen_prime_len(EVP_PKEY_CTX *ctx, int pbits); 40 int EVP_PKEY_CTX_set_dh_paramgen_subprime_len(EVP_PKEY_CTX *ctx, int qlen); 41 int EVP_PKEY_CTX_set_dh_paramgen_generator(EVP_PKEY_CTX *ctx, int gen); 42 int EVP_PKEY_CTX_set_dh_nid(EVP_PKEY_CTX *ctx, int nid); 43 int EVP_PKEY_CTX_set_dh_rfc5114(EVP_PKEY_CTX *ctx, int gen); 44 int EVP_PKEY_CTX_set_dhx_rfc5114(EVP_PKEY_CTX *ctx, int gen); 45 int EVP_PKEY_CTX_set_dh_pad(EVP_PKEY_CTX *ctx, int pad); [all …]
|
D | rsa.h | 119 int EVP_PKEY_CTX_set_rsa_padding(EVP_PKEY_CTX *ctx, int pad_mode); 120 int EVP_PKEY_CTX_get_rsa_padding(EVP_PKEY_CTX *ctx, int *pad_mode); 122 int EVP_PKEY_CTX_set_rsa_pss_saltlen(EVP_PKEY_CTX *ctx, int saltlen); 123 int EVP_PKEY_CTX_get_rsa_pss_saltlen(EVP_PKEY_CTX *ctx, int *saltlen); 125 int EVP_PKEY_CTX_set_rsa_keygen_bits(EVP_PKEY_CTX *ctx, int bits); 126 int EVP_PKEY_CTX_set1_rsa_keygen_pubexp(EVP_PKEY_CTX *ctx, BIGNUM *pubexp); 127 int EVP_PKEY_CTX_set_rsa_keygen_primes(EVP_PKEY_CTX *ctx, int primes); 128 int EVP_PKEY_CTX_set_rsa_pss_keygen_saltlen(EVP_PKEY_CTX *ctx, int saltlen); 131 int EVP_PKEY_CTX_set_rsa_keygen_pubexp(EVP_PKEY_CTX *ctx, BIGNUM *pubexp); 143 int EVP_PKEY_CTX_set_rsa_mgf1_md(EVP_PKEY_CTX *ctx, const EVP_MD *md); [all …]
|
/third_party/openssl/engines/ |
D | e_dasync.c | 111 static int dasync_rsa_init(EVP_PKEY_CTX *ctx); 112 static void dasync_rsa_cleanup(EVP_PKEY_CTX *ctx); 113 static int dasync_rsa_paramgen_init(EVP_PKEY_CTX *ctx); 114 static int dasync_rsa_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey); 115 static int dasync_rsa_keygen_init(EVP_PKEY_CTX *ctx); 116 static int dasync_rsa_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey); 117 static int dasync_rsa_encrypt_init(EVP_PKEY_CTX *ctx); 118 static int dasync_rsa_encrypt(EVP_PKEY_CTX *ctx, unsigned char *out, 121 static int dasync_rsa_decrypt_init(EVP_PKEY_CTX *ctx); 122 static int dasync_rsa_decrypt(EVP_PKEY_CTX *ctx, unsigned char *out, [all …]
|
/third_party/openssl/ohos_lite/include/crypto/ |
D | evp.h | 46 int (*init) (EVP_PKEY_CTX *ctx); 47 int (*copy) (EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src); 48 void (*cleanup) (EVP_PKEY_CTX *ctx); 49 int (*paramgen_init) (EVP_PKEY_CTX *ctx); 50 int (*paramgen) (EVP_PKEY_CTX *ctx, EVP_PKEY *pkey); 51 int (*keygen_init) (EVP_PKEY_CTX *ctx); 52 int (*keygen) (EVP_PKEY_CTX *ctx, EVP_PKEY *pkey); 53 int (*sign_init) (EVP_PKEY_CTX *ctx); 54 int (*sign) (EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, 56 int (*verify_init) (EVP_PKEY_CTX *ctx); [all …]
|
/third_party/openssl/include/crypto/ |
D | evp.h | 138 int (*init) (EVP_PKEY_CTX *ctx); 139 int (*copy) (EVP_PKEY_CTX *dst, const EVP_PKEY_CTX *src); 140 void (*cleanup) (EVP_PKEY_CTX *ctx); 141 int (*paramgen_init) (EVP_PKEY_CTX *ctx); 142 int (*paramgen) (EVP_PKEY_CTX *ctx, EVP_PKEY *pkey); 143 int (*keygen_init) (EVP_PKEY_CTX *ctx); 144 int (*keygen) (EVP_PKEY_CTX *ctx, EVP_PKEY *pkey); 145 int (*sign_init) (EVP_PKEY_CTX *ctx); 146 int (*sign) (EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, 148 int (*verify_init) (EVP_PKEY_CTX *ctx); [all …]
|
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/ |
D | kdf.rs | 7 pub fn EVP_PKEY_CTX_set_hkdf_mode(ctx: *mut EVP_PKEY_CTX, mode: c_int) -> c_int; 8 pub fn EVP_PKEY_CTX_set_hkdf_md(ctx: *mut EVP_PKEY_CTX, md: *const EVP_MD) -> c_int; 10 ctx: *mut EVP_PKEY_CTX, 15 ctx: *mut EVP_PKEY_CTX, 20 ctx: *mut EVP_PKEY_CTX,
|
D | evp.rs | 135 pctx: *mut *mut EVP_PKEY_CTX, in EVP_DigestSignInit() argument 150 pctx: *mut *mut EVP_PKEY_CTX, in EVP_DigestVerifyInit() argument 494 pub fn EVP_PKEY_CTX_new(k: *mut EVP_PKEY, e: *mut ENGINE) -> *mut EVP_PKEY_CTX; in EVP_PKEY_CTX_new() argument 495 pub fn EVP_PKEY_CTX_new_id(id: c_int, e: *mut ENGINE) -> *mut EVP_PKEY_CTX; in EVP_PKEY_CTX_new_id() argument 496 pub fn EVP_PKEY_CTX_free(ctx: *mut EVP_PKEY_CTX); in EVP_PKEY_CTX_free() argument 499 ctx: *mut EVP_PKEY_CTX, in EVP_PKEY_CTX_ctrl() argument 514 pub fn EVP_PKEY_derive_init(ctx: *mut EVP_PKEY_CTX) -> c_int; in EVP_PKEY_derive_init() 515 pub fn EVP_PKEY_derive_set_peer(ctx: *mut EVP_PKEY_CTX, peer: *mut EVP_PKEY) -> c_int; in EVP_PKEY_derive_set_peer() argument 516 pub fn EVP_PKEY_derive(ctx: *mut EVP_PKEY_CTX, key: *mut c_uchar, size: *mut size_t) -> c_int; in EVP_PKEY_derive() argument 525 pub fn EVP_PKEY_keygen_init(ctx: *mut EVP_PKEY_CTX) -> c_int; in EVP_PKEY_keygen_init() [all …]
|
/third_party/openssl/crypto/dsa/ |
D | dsa_pmeth.c | 38 static int pkey_dsa_init(EVP_PKEY_CTX *ctx) in pkey_dsa_init() 56 static int pkey_dsa_copy(EVP_PKEY_CTX *dst, const EVP_PKEY_CTX *src) in pkey_dsa_copy() 71 static void pkey_dsa_cleanup(EVP_PKEY_CTX *ctx) in pkey_dsa_cleanup() 77 static int pkey_dsa_sign(EVP_PKEY_CTX *ctx, unsigned char *sig, in pkey_dsa_sign() 102 static int pkey_dsa_verify(EVP_PKEY_CTX *ctx, in pkey_dsa_verify() 123 static int pkey_dsa_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) in pkey_dsa_ctrl() 186 static int pkey_dsa_ctrl_str(EVP_PKEY_CTX *ctx, in pkey_dsa_ctrl_str() 210 static int pkey_dsa_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) in pkey_dsa_paramgen() 243 static int pkey_dsa_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) in pkey_dsa_keygen()
|
/third_party/rust/crates/rust-openssl/openssl-sys/src/ |
D | rsa.rs | 10 pub unsafe fn EVP_PKEY_CTX_set_rsa_padding(ctx: *mut EVP_PKEY_CTX, pad: c_int) -> c_int { 20 … pub unsafe fn EVP_PKEY_CTX_get_rsa_padding(ctx: *mut EVP_PKEY_CTX, ppad: *mut c_int) -> c_int { 31 … pub unsafe fn EVP_PKEY_CTX_set_rsa_pss_saltlen(ctx: *mut EVP_PKEY_CTX, len: c_int) -> c_int { 42 … pub unsafe fn EVP_PKEY_CTX_set_rsa_mgf1_md(ctx: *mut EVP_PKEY_CTX, md: *mut EVP_MD) -> c_int { 56 pub unsafe fn EVP_PKEY_CTX_set_rsa_oaep_md(ctx: *mut EVP_PKEY_CTX, md: *mut EVP_MD) -> c_int { in EVP_PKEY_CTX_set_rsa_oaep_md() argument 69 ctx: *mut EVP_PKEY_CTX, in EVP_PKEY_CTX_set0_rsa_oaep_label() argument
|
/third_party/openssl/crypto/rsa/ |
D | rsa_lib.c | 730 int RSA_pkey_ctx_ctrl(EVP_PKEY_CTX *ctx, int optype, int cmd, int p1, void *p2) in RSA_pkey_ctx_ctrl() 878 static int int_set_rsa_md_name(EVP_PKEY_CTX *ctx, in int_set_rsa_md_name() 918 static int int_get_rsa_md_name(EVP_PKEY_CTX *ctx, in int_get_rsa_md_name() 957 int EVP_PKEY_CTX_set_rsa_padding(EVP_PKEY_CTX *ctx, int pad_mode) in EVP_PKEY_CTX_set_rsa_padding() 967 int EVP_PKEY_CTX_get_rsa_padding(EVP_PKEY_CTX *ctx, int *pad_mode) in EVP_PKEY_CTX_get_rsa_padding() 977 int EVP_PKEY_CTX_set_rsa_pss_keygen_md(EVP_PKEY_CTX *ctx, const EVP_MD *md) in EVP_PKEY_CTX_set_rsa_pss_keygen_md() 983 int EVP_PKEY_CTX_set_rsa_pss_keygen_md_name(EVP_PKEY_CTX *ctx, in EVP_PKEY_CTX_set_rsa_pss_keygen_md_name() 996 int EVP_PKEY_CTX_set_rsa_oaep_md(EVP_PKEY_CTX *ctx, const EVP_MD *md) in EVP_PKEY_CTX_set_rsa_oaep_md() 1002 int EVP_PKEY_CTX_set_rsa_oaep_md_name(EVP_PKEY_CTX *ctx, const char *mdname, in EVP_PKEY_CTX_set_rsa_oaep_md_name() 1011 int EVP_PKEY_CTX_get_rsa_oaep_md_name(EVP_PKEY_CTX *ctx, char *name, in EVP_PKEY_CTX_get_rsa_oaep_md_name() [all …]
|
/third_party/openssl/crypto/ec/ |
D | ec_pmeth.c | 47 static int pkey_ec_init(EVP_PKEY_CTX *ctx) in pkey_ec_init() 62 static int pkey_ec_copy(EVP_PKEY_CTX *dst, const EVP_PKEY_CTX *src) in pkey_ec_copy() 94 static void pkey_ec_cleanup(EVP_PKEY_CTX *ctx) in pkey_ec_cleanup() 106 static int pkey_ec_sign(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, in pkey_ec_sign() 144 static int pkey_ec_verify(EVP_PKEY_CTX *ctx, in pkey_ec_verify() 168 static int pkey_ec_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen) in pkey_ec_derive() 215 static int pkey_ec_kdf_derive(EVP_PKEY_CTX *ctx, in pkey_ec_kdf_derive() 251 static int pkey_ec_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) in pkey_ec_ctrl() 392 static int pkey_ec_ctrl_str(EVP_PKEY_CTX *ctx, in pkey_ec_ctrl_str() 432 static int pkey_ec_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) in pkey_ec_paramgen() [all …]
|