Home
last modified time | relevance | path

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

/freebsd-head/crypto/libecc/src/examples/sig/rsa/
HDrsa.h102 } rsa_priv_key; typedef
109 ATTRIBUTE_WARN_UNUSED_RET int rsa_import_simple_priv_key(rsa_priv_key *priv,
112 ATTRIBUTE_WARN_UNUSED_RET int rsa_import_crt_priv_key(rsa_priv_key *priv,
121 ATTRIBUTE_WARN_UNUSED_RET int rsadp(const rsa_priv_key *priv, nn_src_t c, nn_t m);
122 ATTRIBUTE_WARN_UNUSED_RET int rsadp_hardened(const rsa_priv_key *priv, const rsa_pub_key *pub, nn_s…
124 ATTRIBUTE_WARN_UNUSED_RET int rsasp1(const rsa_priv_key *priv, nn_src_t m, nn_t s);
125 ATTRIBUTE_WARN_UNUSED_RET int rsasp1_hardened(const rsa_priv_key *priv, const rsa_pub_key *pub, nn_…
142 ATTRIBUTE_WARN_UNUSED_RET int rsaes_pkcs1_v1_5_decrypt(const rsa_priv_key *priv, const u8 *c, u32 c…
144 ATTRIBUTE_WARN_UNUSED_RET int rsaes_pkcs1_v1_5_decrypt_hardened(const rsa_priv_key *priv, const rsa…
151 ATTRIBUTE_WARN_UNUSED_RET int rsaes_oaep_decrypt(const rsa_priv_key *priv, const u8 *c, u32 clen,
[all …]
HDrsa.c100 int rsa_import_simple_priv_key(rsa_priv_key *priv, in rsa_import_simple_priv_key()
126 IGNORE_RET_VAL(local_memset(priv, 0, sizeof(rsa_priv_key))); in rsa_import_simple_priv_key()
132 int rsa_import_crt_priv_key(rsa_priv_key *priv, in rsa_import_crt_priv_key()
174 IGNORE_RET_VAL(local_memset(priv, 0, sizeof(rsa_priv_key))); in rsa_import_crt_priv_key()
294 ATTRIBUTE_WARN_UNUSED_RET static int rsadp_crt_coeffs(const rsa_priv_key *priv, nn_src_t c, nn_t m,… in rsadp_crt_coeffs()
357 ATTRIBUTE_WARN_UNUSED_RET static int rsadp_crt(const rsa_priv_key *priv, nn_src_t c, nn_t m) in rsadp_crt()
425 ATTRIBUTE_WARN_UNUSED_RET static int rsadp_nocrt(const rsa_priv_key *priv, nn_src_t c, nn_t m) in rsadp_nocrt()
492 int rsadp(const rsa_priv_key *priv, nn_src_t c, nn_t m) in rsadp()
520 int rsadp_hardened(const rsa_priv_key *priv, const rsa_pub_key *pub, nn_src_t c, nn_t m) in rsadp_hardened()
577 int rsasp1(const rsa_priv_key *priv, nn_src_t m, nn_t s) in rsasp1()
[all …]
HDrsa_tests.h63 rsa_priv_key priv; in perform_rsa_tests()
64 rsa_priv_key priv_pq; in perform_rsa_tests()
85 ret = local_memcpy(&priv, &priv_pq, sizeof(rsa_priv_key)); EG(ret, err); in perform_rsa_tests()
/freebsd-head/crypto/openssl/demos/signature/
HDrsa_pss_hash.c44 ppriv_key = rsa_priv_key; in sign()
46 sizeof(rsa_priv_key), libctx, propq); in sign()
HDrsa_pss_direct.c49 ppriv_key = rsa_priv_key; in sign()
51 sizeof(rsa_priv_key), libctx, propq); in sign()
HDrsa_pss.h11 static const unsigned char rsa_priv_key[] = { variable
/freebsd-head/crypto/openssl/doc/man3/
HDEVP_PKEY_decapsulate.pod54 * NB: assumes rsa_priv_key is an RSA private key,
62 ctx = EVP_PKEY_CTX_new_from_pkey(libctx, rsa_priv_key, NULL);
/freebsd-head/crypto/openssl/providers/fips/
HDself_test_data.inc1287 static const ST_KAT_PARAM rsa_priv_key[] = {
1620 rsa_priv_key,