Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/crypto/
H A Dpkcs7.h16 struct pkcs7_message;
21 extern struct pkcs7_message *pkcs7_parse_message(const void *data,
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,
/OK3568_Linux_fs/kernel/include/keys/
H A Dsystem_keyring.h34 extern struct pkcs7_message *pkcs7;
55 extern int is_key_on_revocation_list(struct pkcs7_message *pkcs7);
61 static inline int is_key_on_revocation_list(struct pkcs7_message *pkcs7) in is_key_on_revocation_list()
/OK3568_Linux_fs/kernel/crypto/asymmetric_keys/
H A Dpkcs7_verify.c22 static int pkcs7_digest(struct pkcs7_message *pkcs7, in pkcs7_digest()
125 int pkcs7_get_digest(struct pkcs7_message *pkcs7, const u8 **buf, u32 *len, in pkcs7_get_digest()
159 static int pkcs7_find_key(struct pkcs7_message *pkcs7, in pkcs7_find_key()
200 static int pkcs7_verify_sig_chain(struct pkcs7_message *pkcs7, in pkcs7_verify_sig_chain()
326 static int pkcs7_verify_one(struct pkcs7_message *pkcs7, in pkcs7_verify_one()
404 int pkcs7_verify(struct pkcs7_message *pkcs7, in pkcs7_verify()
487 int pkcs7_supply_detached_data(struct pkcs7_message *pkcs7, in pkcs7_supply_detached_data()
H A Dpkcs7_parser.c24 struct pkcs7_message *msg; /* Message being constructed */
57 void pkcs7_free_message(struct pkcs7_message *pkcs7) in pkcs7_free_message()
86 static int pkcs7_check_authattrs(struct pkcs7_message *msg) in pkcs7_check_authattrs()
115 struct pkcs7_message *pkcs7_parse_message(const void *data, size_t datalen) in pkcs7_parse_message()
118 struct pkcs7_message *msg = ERR_PTR(-ENOMEM); in pkcs7_parse_message()
124 ctx->msg = kzalloc(sizeof(struct pkcs7_message), GFP_KERNEL); in pkcs7_parse_message()
185 int pkcs7_get_content_data(const struct pkcs7_message *pkcs7, in pkcs7_get_content_data()
H A Dpkcs7_trust.c22 static int pkcs7_validate_trust_one(struct pkcs7_message *pkcs7, in pkcs7_validate_trust_one()
158 int pkcs7_validate_trust(struct pkcs7_message *pkcs7, in pkcs7_validate_trust()
H A DMakefile49 obj-$(CONFIG_PKCS7_MESSAGE_PARSER) += pkcs7_message.o
50 pkcs7_message-y := \
H A Dpkcs7_parser.h53 struct pkcs7_message { struct
/OK3568_Linux_fs/kernel/include/linux/
H A Dverification.h35 struct pkcs7_message;
46 struct pkcs7_message *pkcs7,
/OK3568_Linux_fs/kernel/certs/
H A Dsystem_keyring.c161 struct pkcs7_message *pkcs7, in verify_pkcs7_message_sig()
254 struct pkcs7_message *pkcs7; in verify_pkcs7_signature()
H A Dblacklist.c183 int is_key_on_revocation_list(struct pkcs7_message *pkcs7) in is_key_on_revocation_list()
/OK3568_Linux_fs/kernel/security/integrity/ima/
H A Dima_modsig.c19 struct pkcs7_message *pkcs7_msg;
/OK3568_Linux_fs/buildroot/output/OK3568/target/usr/lib/modules/5.10.160/
H A Dmodules.builtin.modinfo
H A Dmodules.builtin