Searched refs:pknid (Results 1 – 8 of 8) sorted by relevance
/openssl/crypto/x509/ |
H A D | x509_set.c | 186 if (pknid != NULL) in X509_SIG_INFO_get() 187 *pknid = siginf->pknid; in X509_SIG_INFO_get() 195 void X509_SIG_INFO_set(X509_SIG_INFO *siginf, int mdnid, int pknid, in X509_SIG_INFO_set() argument 199 siginf->pknid = pknid; in X509_SIG_INFO_set() 208 return X509_SIG_INFO_get(&x->siginf, mdnid, pknid, secbits, flags); in X509_get_signature_info() 215 int pknid, mdnid, md_size; in x509_sig_info_init() local 220 siginf->pknid = NID_undef; in x509_sig_info_init() 223 if (!OBJ_find_sigid_algs(OBJ_obj2nid(alg->algorithm), &mdnid, &pknid) in x509_sig_info_init() 224 || pknid == NID_undef) { in x509_sig_info_init() 229 siginf->pknid = pknid; in x509_sig_info_init() [all …]
|
H A D | x_all.c | 521 int mdnid, pknid; in X509_digest_sig() local 536 if (!OBJ_find_sigid_algs(X509_get_signature_nid(cert), &mdnid, &pknid)) { in X509_digest_sig() 542 if (pknid == EVP_PKEY_RSA_PSS) { in X509_digest_sig() 562 } else if (pknid != NID_undef) { in X509_digest_sig() 564 switch (pknid) { in X509_digest_sig()
|
/openssl/crypto/asn1/ |
H A D | a_verify.c | 117 int mdnid, pknid; in ASN1_item_verify_ctx() local 133 if (!OBJ_find_sigid_algs(OBJ_obj2nid(alg->algorithm), &mdnid, &pknid)) { in ASN1_item_verify_ctx() 163 if (mdnid == NID_undef && pknid == EVP_PKEY_RSA_PSS) { in ASN1_item_verify_ctx() 175 if (!EVP_PKEY_is_a(pkey, OBJ_nid2sn(pknid))) { in ASN1_item_verify_ctx()
|
/openssl/doc/man3/ |
H A D | X509_get0_signature.pod | 36 int X509_get_signature_info(X509 *x, int *mdnid, int *pknid, int *secbits, 39 int X509_SIG_INFO_get(const X509_SIG_INFO *siginf, int *mdnid, int *pknid, 41 void X509_SIG_INFO_set(X509_SIG_INFO *siginf, int mdnid, int pknid, 75 the public key algorithm to B<*pknid>, the effective security bits to
|
/openssl/crypto/cms/ |
H A D | cms_sd.c | 237 int snid, hnid, pknid = EVP_PKEY_get_id(pkey); in cms_generic_sign() local 246 if (pknid <= 0) { /* check whether a provider registered a NID */ in cms_generic_sign() 250 pknid = OBJ_txt2nid(typename); in cms_generic_sign() 252 if (!OBJ_find_sigid_by_algs(&snid, hnid, pknid)) in cms_generic_sign()
|
/openssl/include/crypto/ |
H A D | x509.h | 54 int pknid; member
|
/openssl/ssl/ |
H A D | t1_lib.c | 3646 int secbits, nid, pknid; in ssl_security_cert_sig() local 3651 if (!X509_get_signature_info(x, &nid, &pknid, &secbits, NULL)) in ssl_security_cert_sig() 3655 nid = pknid; in ssl_security_cert_sig() 3747 int mdnid, pknid, supported; in check_cert_usable() local 3769 if (!X509_get_signature_info(x, &mdnid, &pknid, NULL, NULL)) in check_cert_usable() 3782 if (mdnid == lu->hash && pknid == lu->sig) in check_cert_usable()
|
/openssl/include/openssl/ |
H A D | x509.h.in | 584 int X509_SIG_INFO_get(const X509_SIG_INFO *siginf, int *mdnid, int *pknid, 586 void X509_SIG_INFO_set(X509_SIG_INFO *siginf, int mdnid, int pknid, 589 int X509_get_signature_info(X509 *x, int *mdnid, int *pknid, int *secbits,
|
Completed in 26 milliseconds