Searched refs:auth_ids (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/crypto/asymmetric_keys/ |
D | restrict.c | 90 if (!sig->auth_ids[0] && !sig->auth_ids[1]) in restrict_link_by_signature() 93 if (ca_keyid && !asymmetric_key_id_partial(sig->auth_ids[1], ca_keyid)) 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]) in key_or_keyring_common() 149 key = find_asymmetric_key(trusted, sig->auth_ids[0], in key_or_keyring_common() 150 sig->auth_ids[1], false); in key_or_keyring_common() 175 if (!sig->auth_ids[0] || !sig->auth_ids[1]) { in key_or_keyring_common() 178 auth_id = sig->auth_ids[0] ?: sig->auth_ids[1]; in key_or_keyring_common() 183 sig->auth_ids[1]) && in key_or_keyring_common() 185 sig->auth_ids[0])) { in key_or_keyring_common() [all …]
|
D | pkcs7_verify.c | 173 if (!asymmetric_key_id_same(x509->id, sinfo->sig->auth_ids[0])) in pkcs7_find_key() 187 sinfo->sig->auth_ids[0]->len, sinfo->sig->auth_ids[0]->data); in pkcs7_find_key() 229 if (sig->auth_ids[0]) in pkcs7_verify_sig_chain() 231 sig->auth_ids[0]->len, sig->auth_ids[0]->data); in pkcs7_verify_sig_chain() 232 if (sig->auth_ids[1]) in pkcs7_verify_sig_chain() 234 sig->auth_ids[1]->len, sig->auth_ids[1]->data); in pkcs7_verify_sig_chain() 252 auth = sig->auth_ids[0]; in pkcs7_verify_sig_chain() 261 } else if (sig->auth_ids[1]) { in pkcs7_verify_sig_chain() 262 auth = sig->auth_ids[1]; in pkcs7_verify_sig_chain() 282 if (sig->auth_ids[1] && in pkcs7_verify_sig_chain() [all …]
|
D | pkcs7_trust.c | 81 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, false); in pkcs7_validate_trust_one()
|
D | x509_public_key.c | 115 if (cert->sig->auth_ids[0] || cert->sig->auth_ids[1]) { in x509_check_for_self_signed() 119 bool a = asymmetric_key_id_same(cert->skid, cert->sig->auth_ids[1]); in x509_check_for_self_signed() 120 bool b = asymmetric_key_id_same(cert->id, cert->sig->auth_ids[0]); in x509_check_for_self_signed() 127 cert->sig->auth_ids[0] && cert->sig->auth_ids[1]) in x509_check_for_self_signed()
|
D | signature.c | 28 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()
|
D | x509_cert_parser.c | 700 if (ctx->cert->sig->auth_ids[1]) in x509_akid_note_kid() 707 ctx->cert->sig->auth_ids[1] = kid; in x509_akid_note_kid() 739 if (!ctx->akid_raw_issuer || ctx->cert->sig->auth_ids[0]) in x509_akid_note_serial() 750 ctx->cert->sig->auth_ids[0] = kid; in x509_akid_note_serial()
|
D | pkcs7_parser.c | 678 sinfo->sig->auth_ids[0] = kid; in pkcs7_note_signed_info()
|
/kernel/linux/linux-5.10/include/crypto/ |
D | public_key.h | 40 struct asymmetric_key_id *auth_ids[2]; member
|