/linux/crypto/asymmetric_keys/ |
A D | pkcs7_verify.c | 62 ret = crypto_shash_digest(desc, pkcs7->data, pkcs7->data_len, in pkcs7_digest() 137 ret = pkcs7_digest(pkcs7, sinfo); in pkcs7_get_digest() 335 ret = pkcs7_digest(pkcs7, sinfo); in pkcs7_verify_one() 340 ret = pkcs7_find_key(pkcs7, sinfo); in pkcs7_verify_one() 414 if (pkcs7->data_type != OID_data) { in pkcs7_verify() 418 if (pkcs7->have_authattrs) { in pkcs7_verify() 424 if (pkcs7->data_type != OID_data) { in pkcs7_verify() 428 if (!pkcs7->have_authattrs) { in pkcs7_verify() 489 if (pkcs7->data) { in pkcs7_supply_detached_data() 493 pkcs7->data = data; in pkcs7_supply_detached_data() [all …]
|
A D | .pkcs7.asn1.o.cmd | 1 …pkcs7.asn1.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/b… 3 source_crypto/asymmetric_keys/pkcs7.asn1.o := crypto/asymmetric_keys/pkcs7.asn1.c 5 deps_crypto/asymmetric_keys/pkcs7.asn1.o := \ 45 crypto/asymmetric_keys/pkcs7.asn1.h \ 48 crypto/asymmetric_keys/pkcs7.asn1.o: $(deps_crypto/asymmetric_keys/pkcs7.asn1.o) 50 $(deps_crypto/asymmetric_keys/pkcs7.asn1.o):
|
A D | pkcs7_parser.c | 62 if (pkcs7) { in pkcs7_free_message() 63 while (pkcs7->certs) { in pkcs7_free_message() 64 cert = pkcs7->certs; in pkcs7_free_message() 65 pkcs7->certs = cert->next; in pkcs7_free_message() 68 while (pkcs7->crl) { in pkcs7_free_message() 69 cert = pkcs7->crl; in pkcs7_free_message() 70 pkcs7->crl = cert->next; in pkcs7_free_message() 73 while (pkcs7->signed_infos) { in pkcs7_free_message() 78 kfree(pkcs7); in pkcs7_free_message() 189 if (!pkcs7->data) in pkcs7_get_content_data() [all …]
|
A D | Makefile | 51 pkcs7.asn1.o \ 56 $(obj)/pkcs7_parser.o: $(obj)/pkcs7.asn1.h 57 $(obj)/pkcs7.asn1.o: $(obj)/pkcs7.asn1.c $(obj)/pkcs7.asn1.h
|
A D | pkcs7_trust.c | 22 static int pkcs7_validate_trust_one(struct pkcs7_message *pkcs7, in pkcs7_validate_trust_one() argument 158 int pkcs7_validate_trust(struct pkcs7_message *pkcs7, in pkcs7_validate_trust() argument 166 for (p = pkcs7->certs; p; p = p->next) in pkcs7_validate_trust() 169 for (sinfo = pkcs7->signed_infos; sinfo; sinfo = sinfo->next) { in pkcs7_validate_trust() 170 ret = pkcs7_validate_trust_one(pkcs7, sinfo, trust_keyring); in pkcs7_validate_trust()
|
A D | verify_pefile.c | 126 const u8 *pkcs7; in pefile_strip_sig_wrapper() local 168 pkcs7 = pebuf + ctx->sig_offset; in pefile_strip_sig_wrapper() 169 if (pkcs7[0] != (ASN1_CONS_BIT | ASN1_SEQ)) in pefile_strip_sig_wrapper() 172 switch (pkcs7[1]) { in pefile_strip_sig_wrapper() 174 len = pkcs7[1] + 2; in pefile_strip_sig_wrapper() 179 len = pkcs7[2] + 3; in pefile_strip_sig_wrapper() 182 len = ((pkcs7[2] << 8) | pkcs7[3]) + 4; in pefile_strip_sig_wrapper()
|
A D | built-in.a | 11 pkcs7.asn1.o/
|
A D | .built-in.a.cmd | 1 …_parser.o crypto/asymmetric_keys/x509_public_key.o crypto/asymmetric_keys/pkcs7.asn1.o crypto/asym…
|
A D | .pkcs7_parser.o.cmd | 897 include/crypto/pkcs7.h \ 905 crypto/asymmetric_keys/pkcs7.asn1.h \
|
A D | .pkcs7_trust.o.cmd | 617 include/crypto/pkcs7.h \
|
A D | .pkcs7_verify.o.cmd | 608 include/crypto/pkcs7.h \
|
/linux/certs/ |
A D | system_keyring.c | 183 struct pkcs7_message *pkcs7, in verify_pkcs7_message_sig() argument 194 if (data && pkcs7_supply_detached_data(pkcs7, data, len) < 0) { in verify_pkcs7_message_sig() 200 ret = pkcs7_verify(pkcs7, usage); in verify_pkcs7_message_sig() 224 ret = is_key_on_revocation_list(pkcs7); in verify_pkcs7_message_sig() 230 ret = pkcs7_validate_trust(pkcs7, trusted_keys); in verify_pkcs7_message_sig() 240 ret = pkcs7_get_content_data(pkcs7, &data, &len, &asn1hdrlen); in verify_pkcs7_message_sig() 276 struct pkcs7_message *pkcs7; in verify_pkcs7_signature() local 279 pkcs7 = pkcs7_parse_message(raw_pkcs7, pkcs7_len); in verify_pkcs7_signature() 280 if (IS_ERR(pkcs7)) in verify_pkcs7_signature() 281 return PTR_ERR(pkcs7); in verify_pkcs7_signature() [all …]
|
A D | blacklist.c | 184 int is_key_on_revocation_list(struct pkcs7_message *pkcs7) in is_key_on_revocation_list() argument 188 ret = pkcs7_validate_trust(pkcs7, blacklist_keyring); in is_key_on_revocation_list()
|
A D | .system_keyring.o.cmd | 752 include/crypto/pkcs7.h \
|
/linux/include/crypto/ |
A D | pkcs7.h | 23 extern void pkcs7_free_message(struct pkcs7_message *pkcs7); 25 extern int pkcs7_get_content_data(const struct pkcs7_message *pkcs7, 32 extern int pkcs7_validate_trust(struct pkcs7_message *pkcs7, 38 extern int pkcs7_verify(struct pkcs7_message *pkcs7, 41 extern int pkcs7_supply_detached_data(struct pkcs7_message *pkcs7, 44 extern int pkcs7_get_digest(struct pkcs7_message *pkcs7, const u8 **buf,
|
/linux/include/keys/ |
A D | system_keyring.h | 41 extern struct pkcs7_message *pkcs7; 62 extern int is_key_on_revocation_list(struct pkcs7_message *pkcs7); 68 static inline int is_key_on_revocation_list(struct pkcs7_message *pkcs7) in is_key_on_revocation_list() argument
|
/linux/scripts/ |
A D | sign-file.c | 227 PKCS7 *pkcs7 = NULL; in main() local 322 pkcs7 = PKCS7_sign(x509, private_key, NULL, bm, in main() 325 ERR(!pkcs7, "PKCS7_sign"); in main() 340 ERR(i2d_PKCS7_bio(b, pkcs7) < 0, in main() 372 ERR(i2d_PKCS7_bio(bd, pkcs7) < 0, "%s", dest_name); in main()
|
/linux/include/linux/ |
A D | verification.h | 48 struct pkcs7_message *pkcs7,
|
/linux/crypto/ |
A D | built-in.a | 52 asymmetric_keys/pkcs7.asn1.o/
|
/linux/Documentation/admin-guide/device-mapper/ |
A D | verity.rst | 134 the pkcs7 signature of the roothash. The pkcs7 signature is used to validate
|
/linux/ |
A D | MAINTAINERS | 3013 F: include/crypto/pkcs7.h
|