Home
last modified time | relevance | path

Searched refs:pkcs7_message (Results 1 – 11 of 11) sorted by relevance

/u-boot/include/crypto/
A Dpkcs7.h17 struct pkcs7_message;
22 extern struct pkcs7_message *pkcs7_parse_message(const void *data,
24 extern void pkcs7_free_message(struct pkcs7_message *pkcs7);
26 extern int pkcs7_get_content_data(const struct pkcs7_message *pkcs7,
34 int pkcs7_verify_one(struct pkcs7_message *pkcs7,
41 extern int pkcs7_validate_trust(struct pkcs7_message *pkcs7,
47 extern int pkcs7_verify(struct pkcs7_message *pkcs7,
50 extern int pkcs7_supply_detached_data(struct pkcs7_message *pkcs7,
A Dpkcs7_parser.h56 struct pkcs7_message { struct
/u-boot/lib/crypto/
A Dpkcs7_verify.c46 static int pkcs7_digest(struct pkcs7_message *pkcs7, in pkcs7_digest()
142 static int pkcs7_digest(struct pkcs7_message *pkcs7, in pkcs7_digest()
245 int pkcs7_get_digest(struct pkcs7_message *pkcs7, const u8 **buf, u32 *len, in pkcs7_get_digest()
280 static int pkcs7_find_key(struct pkcs7_message *pkcs7, in pkcs7_find_key()
333 static int pkcs7_verify_sig_chain(struct pkcs7_message *pkcs7, in pkcs7_verify_sig_chain()
337 static int pkcs7_verify_sig_chain(struct pkcs7_message *pkcs7, in pkcs7_verify_sig_chain()
494 int pkcs7_verify_one(struct pkcs7_message *pkcs7, in pkcs7_verify_one()
498 static int pkcs7_verify_one(struct pkcs7_message *pkcs7, in pkcs7_verify_one()
578 int pkcs7_verify(struct pkcs7_message *pkcs7, in pkcs7_verify()
661 int pkcs7_supply_detached_data(struct pkcs7_message *pkcs7, in pkcs7_supply_detached_data()
A DMakefile43 obj-$(CONFIG_PKCS7_MESSAGE_PARSER) += pkcs7_message.o
44 pkcs7_message-y := \
A Dpkcs7_parser.c36 struct pkcs7_message *msg; /* Message being constructed */
69 void pkcs7_free_message(struct pkcs7_message *pkcs7) in pkcs7_free_message()
98 static int pkcs7_check_authattrs(struct pkcs7_message *msg) in pkcs7_check_authattrs()
127 struct pkcs7_message *pkcs7_parse_message(const void *data, size_t datalen) in pkcs7_parse_message()
130 struct pkcs7_message *msg = ERR_PTR(-ENOMEM); in pkcs7_parse_message()
136 ctx->msg = kzalloc(sizeof(struct pkcs7_message), GFP_KERNEL); in pkcs7_parse_message()
197 int pkcs7_get_content_data(const struct pkcs7_message *pkcs7, in pkcs7_get_content_data()
/u-boot/test/lib/
A Dasn1.c312 struct pkcs7_message *pkcs7; in lib_asn1_pkcs7()
/u-boot/include/
A Defi_loader.h802 struct pkcs7_message;
807 struct pkcs7_message *msg,
811 struct pkcs7_message *msg, in efi_signature_verify_one()
816 bool efi_signature_check_signers(struct pkcs7_message *msg,
835 struct pkcs7_message *efi_parse_pkcs7_header(const void *buf,
/u-boot/lib/efi_loader/
A Defi_signature.c55 struct pkcs7_message *efi_parse_pkcs7_header(const void *buf, in efi_parse_pkcs7_header()
61 struct pkcs7_message *msg; in efi_parse_pkcs7_header()
439 struct pkcs7_message *msg, in efi_signature_verify()
518 bool efi_signature_check_signers(struct pkcs7_message *msg, in efi_signature_check_signers()
A Defi_variable.c56 struct pkcs7_message *var_sig; in efi_variable_authenticate()
A Defi_image_loader.c498 struct pkcs7_message *msg = NULL; in efi_image_authenticate()
A Defi_capsule.c230 struct pkcs7_message *capsule_sig; in efi_capsule_authenticate()

Completed in 15 milliseconds