Lines Matching refs:pkcs7
57 void pkcs7_free_message(struct pkcs7_message *pkcs7) in pkcs7_free_message() argument
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()
74 sinfo = pkcs7->signed_infos; in pkcs7_free_message()
75 pkcs7->signed_infos = sinfo->next; in pkcs7_free_message()
78 kfree(pkcs7); in pkcs7_free_message()
185 int pkcs7_get_content_data(const struct pkcs7_message *pkcs7, in pkcs7_get_content_data() argument
189 if (!pkcs7->data) in pkcs7_get_content_data()
192 *_data = pkcs7->data; in pkcs7_get_content_data()
193 *_data_len = pkcs7->data_len; in pkcs7_get_content_data()
195 *_headerlen = pkcs7->data_hdrlen; in pkcs7_get_content_data()