Home
last modified time | relevance | path

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

/openssl/test/
H A Devp_libctx_test.c663 EVP_PKEY_CTX *pubctx = NULL, *privctx = NULL; in kem_rsa_params() local
669 && TEST_ptr(pubctx = EVP_PKEY_CTX_new_from_pkey(libctx, pub, NULL)) in kem_rsa_params()
672 && TEST_int_eq(EVP_PKEY_CTX_set_kem_op(pubctx, "RSASVE"), -2) in kem_rsa_params()
682 && TEST_int_eq(EVP_PKEY_decapsulate_init(pubctx, NULL), 1) in kem_rsa_params()
683 && TEST_int_eq(EVP_PKEY_CTX_set_kem_op(pubctx, "RSASVE"), 1) in kem_rsa_params()
684 && TEST_int_eq(EVP_PKEY_decapsulate(pubctx, secret, &secretlen, ct, in kem_rsa_params()
688 && TEST_int_eq(EVP_PKEY_encapsulate_init(pubctx, NULL), 1) in kem_rsa_params()
691 && TEST_int_eq(EVP_PKEY_CTX_set_kem_op(pubctx, "RSA"), 0) in kem_rsa_params()
692 && TEST_int_eq(EVP_PKEY_CTX_set_kem_op(pubctx, NULL), 0) in kem_rsa_params()
696 && TEST_int_eq(EVP_PKEY_CTX_set_kem_op(pubctx, "RSASVE"), 1) in kem_rsa_params()
[all …]

Completed in 6 milliseconds