Searched refs:pkey_ctx (Results 1 – 4 of 4) sorted by relevance
| /freebsd-14.2/crypto/openssl/ssl/statem/ |
| H A D | statem_clnt.c | 3016 EVP_PKEY_CTX *pkey_ctx = NULL; in tls_construct_cke_gost() local 3042 if (pkey_ctx == NULL) { in tls_construct_cke_gost() 3060 if (EVP_PKEY_encrypt_init(pkey_ctx) <= 0 in tls_construct_cke_gost() 3106 EVP_PKEY_CTX_free(pkey_ctx); in tls_construct_cke_gost() 3112 EVP_PKEY_CTX_free(pkey_ctx); in tls_construct_cke_gost() 3164 EVP_PKEY_CTX *pkey_ctx = NULL; in tls_construct_cke_gost18() local 3205 if (pkey_ctx == NULL) { in tls_construct_cke_gost18() 3210 if (EVP_PKEY_encrypt_init(pkey_ctx) <= 0 ) { in tls_construct_cke_gost18() 3239 EVP_PKEY_CTX_free(pkey_ctx); in tls_construct_cke_gost18() 3240 pkey_ctx = NULL; in tls_construct_cke_gost18() [all …]
|
| H A D | statem_srvr.c | 3103 EVP_PKEY_CTX *pkey_ctx; in tls_process_cke_gost() local 3131 if (pkey_ctx == NULL) { in tls_process_cke_gost() 3135 if (EVP_PKEY_decrypt_init(pkey_ctx) <= 0) { in tls_process_cke_gost() 3175 if (EVP_PKEY_decrypt(pkey_ctx, premaster_secret, &outlen, start, in tls_process_cke_gost() 3193 EVP_PKEY_CTX_free(pkey_ctx); in tls_process_cke_gost() 3207 EVP_PKEY_CTX *pkey_ctx = NULL; in tls_process_cke_gost18() local 3235 if (pkey_ctx == NULL) { in tls_process_cke_gost18() 3239 if (EVP_PKEY_decrypt_init(pkey_ctx) <= 0) { in tls_process_cke_gost18() 3245 if (EVP_PKEY_CTX_ctrl(pkey_ctx, -1, EVP_PKEY_OP_DECRYPT, in tls_process_cke_gost18() 3251 if (EVP_PKEY_CTX_ctrl(pkey_ctx, -1, EVP_PKEY_OP_DECRYPT, in tls_process_cke_gost18() [all …]
|
| /freebsd-14.2/crypto/openssl/test/ |
| H A D | acvp_test.c | 1202 EVP_PKEY_CTX *pkey_ctx = NULL; in rsa_sigver_test() local 1227 || !TEST_true(EVP_DigestVerifyInit_ex(md_ctx, &pkey_ctx, in rsa_sigver_test() 1230 || !TEST_true(EVP_PKEY_CTX_set_params(pkey_ctx, params)) in rsa_sigver_test()
|
| H A D | evp_extra_test.c | 3673 EVP_PKEY_CTX *pkey_ctx = NULL; in test_EVP_rsa_pss_set_saltlen() local 3682 && TEST_true(EVP_DigestSignInit(sha256_ctx, &pkey_ctx, sha256, NULL, pkey)) in test_EVP_rsa_pss_set_saltlen() 3683 && TEST_true(EVP_PKEY_CTX_set_rsa_padding(pkey_ctx, RSA_PKCS1_PSS_PADDING)) in test_EVP_rsa_pss_set_saltlen() 3684 && TEST_int_gt(EVP_PKEY_CTX_set_rsa_pss_saltlen(pkey_ctx, test_value), 0) in test_EVP_rsa_pss_set_saltlen() 3685 && TEST_int_gt(EVP_PKEY_CTX_get_rsa_pss_saltlen(pkey_ctx, &saltlen), 0) in test_EVP_rsa_pss_set_saltlen()
|