Home
last modified time | relevance | path

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

/openssl/test/
H A Drsa_test.c582 RSA *rsa_priv = NULL, *rsa_pub = NULL; in test_rsa_saos() local
661 if (!TEST_ptr(rsa_pub = load_key(0))) in test_rsa_saos()
670 if (!TEST_true(RSA_verify_ASN1_OCTET_STRING(0, in, inlen, sig, siglen, rsa_pub))) in test_rsa_saos()
680 rsa_pub))) in test_rsa_saos()
684 if (!TEST_false(RSA_verify_ASN1_OCTET_STRING(0, in, inlen, sig, siglen - 1, rsa_pub))) in test_rsa_saos()
690 rsa_pub))) in test_rsa_saos()
696 rsa_pub))) in test_rsa_saos()
701 if (!TEST_false(RSA_verify_ASN1_OCTET_STRING(0, in, inlen, sig, siglen, rsa_pub))) in test_rsa_saos()
708 RSA_free(rsa_pub); in test_rsa_saos()
/openssl/providers/implementations/kem/
H A Drsa_kem.c242 static int rsasve_gen_rand_bytes(RSA *rsa_pub, in rsasve_gen_rand_bytes() argument
249 bnctx = BN_CTX_secure_new_ex(ossl_rsa_get0_libctx(rsa_pub)); in rsasve_gen_rand_bytes()
263 && (BN_copy(nminus3, RSA_get0_n(rsa_pub)) != NULL) in rsasve_gen_rand_bytes()

Completed in 7 milliseconds