Searched refs:p7 (Results 1 – 3 of 3) sorted by relevance
/hostap-latest/hs20/client/ |
D | est.c | 34 PKCS7 *p7 = NULL; in pkcs7_to_cert() 53 p7 = d2i_PKCS7(NULL, &p, len); in pkcs7_to_cert() 54 if (p7 == NULL) { in pkcs7_to_cert() 61 switch (OBJ_obj2nid(p7->type)) { in pkcs7_to_cert() 63 certs = p7->d.sign->cert; in pkcs7_to_cert() 66 certs = p7->d.signed_and_enveloped->cert; in pkcs7_to_cert() 109 PKCS7_free(p7); in pkcs7_to_cert()
|
/hostap-latest/src/crypto/ |
D | crypto_wolfssl.c | 3135 PKCS7 *p7 = NULL; in crypto_pkcs7_get_certificates() local 3146 p7 = wc_PKCS7_New(NULL, INVALID_DEVID); in crypto_pkcs7_get_certificates() 3147 if (!p7) { in crypto_pkcs7_get_certificates() 3152 err = wc_PKCS7_VerifySignedData(p7, (byte *) wpabuf_head(pkcs7), in crypto_pkcs7_get_certificates() 3156 wc_PKCS7_Free(p7); in crypto_pkcs7_get_certificates() 3162 if (p7->certSz[i] == 0) in crypto_pkcs7_get_certificates() 3164 err = wc_DerToPem(p7->cert[i], p7->certSz[i], NULL, 0, in crypto_pkcs7_get_certificates() 3187 if (p7->certSz[i] == 0) in crypto_pkcs7_get_certificates() 3192 err = wc_DerToPem(p7->cert[i], p7->certSz[i], in crypto_pkcs7_get_certificates() 3207 if (p7) in crypto_pkcs7_get_certificates() [all …]
|
D | crypto_openssl.c | 4166 PKCS7 *p7 = NULL; in crypto_pkcs7_get_certificates() 4188 p7 = d2i_PKCS7(NULL, &p, wpabuf_len(pkcs7)); in crypto_pkcs7_get_certificates() 4189 if (!p7) { in crypto_pkcs7_get_certificates() 4196 switch (OBJ_obj2nid(p7->type)) { in crypto_pkcs7_get_certificates() 4198 certs = p7->d.sign->cert; in crypto_pkcs7_get_certificates() 4201 certs = p7->d.signed_and_enveloped->cert; in crypto_pkcs7_get_certificates() 4242 PKCS7_free(p7); in crypto_pkcs7_get_certificates()
|