Home
last modified time | relevance | path

Searched refs:EVP_PKEY_RSA (Results 1 – 25 of 38) sorted by relevance

12

/openbsd/lib/libssl/
H A Dssl_sigalgs.c33 .key_type = EVP_PKEY_RSA,
46 .key_type = EVP_PKEY_RSA,
59 .key_type = EVP_PKEY_RSA,
72 .key_type = EVP_PKEY_RSA,
79 .key_type = EVP_PKEY_RSA,
86 .key_type = EVP_PKEY_RSA,
93 .key_type = EVP_PKEY_RSA,
100 .key_type = EVP_PKEY_RSA,
107 .key_type = EVP_PKEY_RSA,
114 .key_type = EVP_PKEY_RSA,
[all …]
H A Dssl_rsa.c212 if (EVP_PKEY_id(pkey) != EVP_PKEY_RSA || in ssl_set_pkey()
424 if (EVP_PKEY_id(priv_key) != EVP_PKEY_RSA || in ssl_set_cert()
H A Dssl_both.c387 case EVP_PKEY_RSA: in ssl_cert_type()
/openbsd/lib/libcrypto/evp/
H A Dp_legacy.c72 if (pkey->type != EVP_PKEY_RSA) { in EVP_PKEY_decrypt_old()
86 if (pkey->type != EVP_PKEY_RSA) { in EVP_PKEY_encrypt_old()
113 if (priv->type != EVP_PKEY_RSA) { in EVP_OpenInit()
H A Devp.h101 #define EVP_PKEY_RSA NID_rsaEncryption macro
315 #define EVP_PKEY_assign_RSA(pkey,rsa) EVP_PKEY_assign((pkey),EVP_PKEY_RSA,\
H A Dp_lib.c633 if (pkey->type == EVP_PKEY_RSA || pkey->type == EVP_PKEY_RSA_PSS) in EVP_PKEY_get0_RSA()
/openbsd/lib/libcrypto/asn1/
H A Da_pubkey.c101 case EVP_PKEY_RSA: in d2i_PublicKey()
146 case EVP_PKEY_RSA: in i2d_PublicKey()
H A Dx_pubkey.c280 case EVP_PKEY_RSA: in pubkey_ex_d2i()
332 case EVP_PKEY_RSA: in pubkey_ex_i2d()
478 return pubkey_ex_d2i(EVP_PKEY_RSA, pval, in, len, it); in rsa_pubkey_ex_d2i()
485 return pubkey_ex_i2d(EVP_PKEY_RSA, pval, out, it); in rsa_pubkey_ex_i2d()
H A Da_pkey.c177 keytype = EVP_PKEY_RSA; in d2i_AutoPrivateKey()
/openbsd/usr.sbin/acme-client/
H A Dkey.c45 if ((ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_RSA, NULL)) == NULL) { in rsa_key_create()
127 if (EVP_PKEY_base_id(pkey) == EVP_PKEY_RSA || in key_load()
H A Dacctproc.c145 case EVP_PKEY_RSA: in op_thumbprint()
290 case EVP_PKEY_RSA: in op_sign()
311 case EVP_PKEY_RSA: in op_sign()
365 case EVP_PKEY_RSA: in op_sign()
/openbsd/sbin/iked/
H A Dcrypto.c152 { EVP_PKEY_RSA, EVP_sha256, sizeof(sha256WithRSA), sha256WithRSA, 0 },
153 { EVP_PKEY_RSA, EVP_sha384, sizeof(sha384WithRSA), sha384WithRSA, 0 },
154 { EVP_PKEY_RSA, EVP_sha512, sizeof(sha512WithRSA), sha512WithRSA, 0 },
158 { EVP_PKEY_RSA, EVP_sha256, sizeof(rsapss_sha256), rsapss_sha256,
160 { EVP_PKEY_RSA, EVP_sha384, sizeof(rsapss_sha384), rsapss_sha384,
162 { EVP_PKEY_RSA, EVP_sha512, sizeof(rsapss_sha512), rsapss_sha512,
164 { EVP_PKEY_RSA, EVP_sha256, sizeof(rsapss_sha256nt), rsapss_sha256nt,
166 { EVP_PKEY_RSA, EVP_sha384, sizeof(rsapss_sha384nt), rsapss_sha384nt,
168 { EVP_PKEY_RSA, EVP_sha512, sizeof(rsapss_sha512nt), rsapss_sha512nt,
933 EVP_PKEY_base_id(dsa->dsa_key) == EVP_PKEY_RSA) in dsa_init()
/openbsd/regress/lib/libcrypto/evp/
H A Devp_test.c48 if ((method = EVP_PKEY_asn1_find(NULL, EVP_PKEY_RSA)) == NULL) { in evp_asn1_method_test()
56 if (pkey_id != EVP_PKEY_RSA) { in evp_asn1_method_test()
58 pkey_id, EVP_PKEY_RSA); in evp_asn1_method_test()
84 if (pkey_id != EVP_PKEY_RSA) { in evp_asn1_method_test()
86 pkey_id, EVP_PKEY_RSA); in evp_asn1_method_test()
H A Devp_pkey_cleanup.c38 EVP_PKEY_RSA,
/openbsd/lib/libcrypto/rsa/
H A Drsa.h180 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, EVP_PKEY_OP_TYPE_CRYPT, \
188 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, EVP_PKEY_OP_TYPE_CRYPT, \
192 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, EVP_PKEY_OP_TYPE_CRYPT, \
196 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, EVP_PKEY_OP_TYPE_CRYPT, \
H A Drsa_lib.c420 ctx->pmeth->pkey_id != EVP_PKEY_RSA && in RSA_pkey_ctx_ctrl()
H A Drsa_pmeth.c821 .pkey_id = EVP_PKEY_RSA,
/openbsd/lib/libfido2/src/
H A Drs1.c31 if (EVP_PKEY_base_id(pkey) != EVP_PKEY_RSA) { in rs1_verify_sig()
H A Drs256.c212 if (EVP_PKEY_base_id(pkey) != EVP_PKEY_RSA || in rs256_pk_from_EVP_PKEY()
227 if (EVP_PKEY_base_id(pkey) != EVP_PKEY_RSA) { in rs256_verify_sig()
/openbsd/lib/libcrypto/x509/
H A Dx509type.c84 case EVP_PKEY_RSA: in X509_certificate_type()
/openbsd/regress/lib/libcrypto/x509/
H A Dx509_asn1.c211 if ((pkey_ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_RSA, NULL)) == NULL) in test_x509_setters()
301 if ((pkey_ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_RSA, NULL)) == NULL) in test_x509_crl_setters()
434 if ((pkey_ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_RSA, NULL)) == NULL) in test_x509_req_setters()
/openbsd/usr.bin/openssl/
H A Dreq.c759 if (cfg.newkey < MIN_KEY_LENGTH && (pkey_type == EVP_PKEY_RSA || pkey_type == EVP_PKEY_DSA)) { in req_main()
1052 if (EVP_PKEY_base_id(tpubkey) == EVP_PKEY_RSA) { in req_main()
1596 *pkey_type = EVP_PKEY_RSA; in set_keygen_ctx()
1599 *pkey_type = EVP_PKEY_RSA; in set_keygen_ctx()
1626 if (*pkey_type == EVP_PKEY_RSA) { in set_keygen_ctx()
1703 if ((*pkey_type == EVP_PKEY_RSA) && (keylen != -1)) { in set_keygen_ctx()
/openbsd/lib/libcrypto/pem/
H A Dpem_info.c177 ptype = EVP_PKEY_RSA; in STACK_OF()
/openbsd/usr.sbin/rpki-client/
H A Dvalidate.c662 if (EVP_PKEY_base_id(pkey) == EVP_PKEY_RSA) in valid_ca_pkey()
/openbsd/usr.bin/ssh/
H A Dssh-rsa.c125 if ((ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_RSA, NULL)) == NULL) { in ssh_rsa_generate()

12