Searched refs:pkcs7 (Results 1 – 5 of 5) sorted by relevance
/hostap-3.7.0/hs20/client/ |
D | est.c | 31 static int pkcs7_to_cert(struct hs20_osu_client *ctx, const u8 *pkcs7, in pkcs7_to_cert() argument 38 const unsigned char *p = pkcs7; in pkcs7_to_cert() 48 CBS_init(&pkcs7_cbs, pkcs7, len); in pkcs7_to_cert() 125 unsigned char *pkcs7; in est_load_cacerts() local 161 pkcs7 = base64_decode(resp, resp_len, &pkcs7_len); in est_load_cacerts() 162 if (pkcs7 && pkcs7_len < resp_len / 2) { in est_load_cacerts() 165 os_free(pkcs7); in est_load_cacerts() 166 pkcs7 = NULL; in est_load_cacerts() 168 if (pkcs7 == NULL) { in est_load_cacerts() 170 pkcs7 = os_malloc(resp_len); in est_load_cacerts() [all …]
|
/hostap-3.7.0/hs20/server/www/ |
D | est.php | 205 $pkcs7 = "$cadir/tmp/est-client.pkcs7"; variable 206 if (file_exists($pkcs7)) 207 unlink($pkcs7); 208 exec("openssl crl2pkcs7 -nocrl -certfile $cert_pem -out $pkcs7 -outform DER"); 209 if (!file_exists($pkcs7)) { 222 $data = file_get_contents($pkcs7);
|
/hostap-3.7.0/src/crypto/ |
D | crypto_openssl.c | 2968 struct wpabuf * crypto_pkcs7_get_certificates(const struct wpabuf *pkcs7) in crypto_pkcs7_get_certificates() argument 2974 const unsigned char *p = wpabuf_head(pkcs7); in crypto_pkcs7_get_certificates() 2987 CBS_init(&pkcs7_cbs, wpabuf_head(pkcs7), wpabuf_len(pkcs7)); in crypto_pkcs7_get_certificates() 2995 p7 = d2i_PKCS7(NULL, &p, wpabuf_len(pkcs7)); in crypto_pkcs7_get_certificates()
|
D | crypto.h | 503 struct wpabuf * crypto_pkcs7_get_certificates(const struct wpabuf *pkcs7);
|
D | crypto_mbedtls_alt.c | 3554 struct wpabuf *crypto_pkcs7_get_certificates(const struct wpabuf *pkcs7) in crypto_pkcs7_get_certificates() argument
|