Home
last modified time | relevance | path

Searched refs:pkey_ctx (Results 1 – 4 of 4) sorted by relevance

/openssl/ssl/statem/
H A Dstatem_clnt.c3048 EVP_PKEY_CTX *pkey_ctx = NULL; in tls_construct_cke_gost() local
3075 if (pkey_ctx == NULL) { in tls_construct_cke_gost()
3093 if (EVP_PKEY_encrypt_init(pkey_ctx) <= 0 in tls_construct_cke_gost()
3139 EVP_PKEY_CTX_free(pkey_ctx); in tls_construct_cke_gost()
3145 EVP_PKEY_CTX_free(pkey_ctx); in tls_construct_cke_gost()
3199 EVP_PKEY_CTX *pkey_ctx = NULL; in tls_construct_cke_gost18() local
3241 if (pkey_ctx == NULL) { in tls_construct_cke_gost18()
3246 if (EVP_PKEY_encrypt_init(pkey_ctx) <= 0) { in tls_construct_cke_gost18()
3275 EVP_PKEY_CTX_free(pkey_ctx); in tls_construct_cke_gost18()
3276 pkey_ctx = NULL; in tls_construct_cke_gost18()
[all …]
H A Dstatem_srvr.c3130 EVP_PKEY_CTX *pkey_ctx; in tls_process_cke_gost() local
3159 if (pkey_ctx == NULL) { in tls_process_cke_gost()
3163 if (EVP_PKEY_decrypt_init(pkey_ctx) <= 0) { in tls_process_cke_gost()
3203 if (EVP_PKEY_decrypt(pkey_ctx, premaster_secret, &outlen, start, in tls_process_cke_gost()
3221 EVP_PKEY_CTX_free(pkey_ctx); in tls_process_cke_gost()
3235 EVP_PKEY_CTX *pkey_ctx = NULL; in tls_process_cke_gost18() local
3264 if (pkey_ctx == NULL) { in tls_process_cke_gost18()
3268 if (EVP_PKEY_decrypt_init(pkey_ctx) <= 0) { in tls_process_cke_gost18()
3274 if (EVP_PKEY_CTX_ctrl(pkey_ctx, -1, EVP_PKEY_OP_DECRYPT, in tls_process_cke_gost18()
3280 if (EVP_PKEY_CTX_ctrl(pkey_ctx, -1, EVP_PKEY_OP_DECRYPT, in tls_process_cke_gost18()
[all …]
/openssl/test/
H A Dacvp_test.c1202 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 Devp_extra_test.c3420 EVP_PKEY_CTX *pkey_ctx = NULL; in test_EVP_rsa_pss_set_saltlen() local
3429 && TEST_true(EVP_DigestSignInit(sha256_ctx, &pkey_ctx, sha256, NULL, pkey)) in test_EVP_rsa_pss_set_saltlen()
3430 && TEST_true(EVP_PKEY_CTX_set_rsa_padding(pkey_ctx, RSA_PKCS1_PSS_PADDING)) in test_EVP_rsa_pss_set_saltlen()
3431 && TEST_int_gt(EVP_PKEY_CTX_set_rsa_pss_saltlen(pkey_ctx, test_value), 0) in test_EVP_rsa_pss_set_saltlen()
3432 && TEST_int_gt(EVP_PKEY_CTX_get_rsa_pss_saltlen(pkey_ctx, &saltlen), 0) in test_EVP_rsa_pss_set_saltlen()

Completed in 44 milliseconds