Home
last modified time | relevance | path

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

/openssl/crypto/x509/
H A Dx509_set.c186 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 Dx_all.c521 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 Da_verify.c117 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 DX509_get0_signature.pod36 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 Dcms_sd.c237 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 Dx509.h54 int pknid; member
/openssl/ssl/
H A Dt1_lib.c3646 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 Dx509.h.in584 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