Home
last modified time | relevance | path

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

/linux-6.3-rc2/crypto/asymmetric_keys/
A Drestrict.c90 if (!sig->auth_ids[0] && !sig->auth_ids[1] && !sig->auth_ids[2]) in restrict_link_by_signature()
98 sig->auth_ids[0], sig->auth_ids[1], in restrict_link_by_signature()
143 if (!sig->auth_ids[0] && !sig->auth_ids[1] && !sig->auth_ids[2]) in key_or_keyring_common()
150 sig->auth_ids[1], in key_or_keyring_common()
179 if (!sig->auth_ids[0] && !sig->auth_ids[1]) { in key_or_keyring_common()
181 sig->auth_ids[2])) in key_or_keyring_common()
184 } else if (!sig->auth_ids[0] || !sig->auth_ids[1]) { in key_or_keyring_common()
187 auth_id = sig->auth_ids[0] ?: sig->auth_ids[1]; in key_or_keyring_common()
192 sig->auth_ids[1]) && in key_or_keyring_common()
194 sig->auth_ids[0])) { in key_or_keyring_common()
[all …]
A Dpkcs7_verify.c172 if (!asymmetric_key_id_same(x509->id, sinfo->sig->auth_ids[0])) in pkcs7_find_key()
186 sinfo->sig->auth_ids[0]->len, sinfo->sig->auth_ids[0]->data); in pkcs7_find_key()
225 if (sig->auth_ids[0]) in pkcs7_verify_sig_chain()
227 sig->auth_ids[0]->len, sig->auth_ids[0]->data); in pkcs7_verify_sig_chain()
228 if (sig->auth_ids[1]) in pkcs7_verify_sig_chain()
230 sig->auth_ids[1]->len, sig->auth_ids[1]->data); in pkcs7_verify_sig_chain()
248 auth = sig->auth_ids[0]; in pkcs7_verify_sig_chain()
257 } else if (sig->auth_ids[1]) { in pkcs7_verify_sig_chain()
258 auth = sig->auth_ids[1]; in pkcs7_verify_sig_chain()
278 if (sig->auth_ids[1] && in pkcs7_verify_sig_chain()
[all …]
A Dpkcs7_trust.c81 if (last && (last->sig->auth_ids[0] || last->sig->auth_ids[1])) { in pkcs7_validate_trust_one()
83 last->sig->auth_ids[0], in pkcs7_validate_trust_one()
84 last->sig->auth_ids[1], in pkcs7_validate_trust_one()
100 sinfo->sig->auth_ids[0], NULL, NULL, false); in pkcs7_validate_trust_one()
A Dx509_public_key.c104 if (cert->sig->auth_ids[0] || cert->sig->auth_ids[1]) { in x509_check_for_self_signed()
108 bool a = asymmetric_key_id_same(cert->skid, cert->sig->auth_ids[1]); in x509_check_for_self_signed()
109 bool b = asymmetric_key_id_same(cert->id, cert->sig->auth_ids[0]); in x509_check_for_self_signed()
116 cert->sig->auth_ids[0] && cert->sig->auth_ids[1]) in x509_check_for_self_signed()
A Dsignature.c28 for (i = 0; i < ARRAY_SIZE(sig->auth_ids); i++) in public_key_signature_free()
29 kfree(sig->auth_ids[i]); in public_key_signature_free()
A Dx509_cert_parser.c451 if (!ctx->cert->sig->auth_ids[2]) { in x509_note_issuer()
455 ctx->cert->sig->auth_ids[2] = kid; in x509_note_issuer()
715 if (ctx->cert->sig->auth_ids[1]) in x509_akid_note_kid()
722 ctx->cert->sig->auth_ids[1] = kid; in x509_akid_note_kid()
754 if (!ctx->akid_raw_issuer || ctx->cert->sig->auth_ids[0]) in x509_akid_note_serial()
765 ctx->cert->sig->auth_ids[0] = kid; in x509_akid_note_serial()
A Dpkcs7_parser.c696 sinfo->sig->auth_ids[0] = kid; in pkcs7_note_signed_info()
/linux-6.3-rc2/include/crypto/
A Dpublic_key.h39 struct asymmetric_key_id *auth_ids[3]; member

Completed in 15 milliseconds