Lines Matching refs:pkcs7
17 #include "pkcs7.asn1.h"
55 * @pkcs7: The PKCS#7 message to free
57 void pkcs7_free_message(struct pkcs7_message *pkcs7)
62 if (pkcs7) {
63 while (pkcs7->certs) {
64 cert = pkcs7->certs;
65 pkcs7->certs = cert->next;
68 while (pkcs7->crl) {
69 cert = pkcs7->crl;
70 pkcs7->crl = cert->next;
73 while (pkcs7->signed_infos) {
74 sinfo = pkcs7->signed_infos;
75 pkcs7->signed_infos = sinfo->next;
78 kfree(pkcs7);
174 * @pkcs7: The preparsed PKCS#7 message to access
185 int pkcs7_get_content_data(const struct pkcs7_message *pkcs7,
189 if (!pkcs7->data)
192 *_data = pkcs7->data;
193 *_data_len = pkcs7->data_len;
195 *_headerlen = pkcs7->data_hdrlen;