Searched refs:pkcs7 (Results 1 – 6 of 6) sorted by relevance
/hostap-latest/hs20/client/ |
D | est.c | 28 static int pkcs7_to_cert(struct hs20_osu_client *ctx, const u8 *pkcs7, in pkcs7_to_cert() argument 35 const unsigned char *p = pkcs7; in pkcs7_to_cert() 45 CBS_init(&pkcs7_cbs, pkcs7, len); in pkcs7_to_cert() 122 unsigned char *pkcs7; in est_load_cacerts() local 158 pkcs7 = hostap_base64_decode(resp, resp_len, &pkcs7_len); in est_load_cacerts() 159 if (pkcs7 && pkcs7_len < resp_len / 2) { in est_load_cacerts() 162 os_free(pkcs7); in est_load_cacerts() 163 pkcs7 = NULL; in est_load_cacerts() 165 if (pkcs7 == NULL) { in est_load_cacerts() 167 pkcs7 = os_malloc(resp_len); in est_load_cacerts() [all …]
|
/hostap-latest/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-latest/src/crypto/ |
D | crypto.h | 505 struct wpabuf * crypto_pkcs7_get_certificates(const struct wpabuf *pkcs7);
|
D | crypto_wolfssl.c | 3133 struct wpabuf * crypto_pkcs7_get_certificates(const struct wpabuf *pkcs7) in crypto_pkcs7_get_certificates() argument 3141 if (!pkcs7) { in crypto_pkcs7_get_certificates() 3152 err = wc_PKCS7_VerifySignedData(p7, (byte *) wpabuf_head(pkcs7), in crypto_pkcs7_get_certificates() 3153 wpabuf_len(pkcs7)); in crypto_pkcs7_get_certificates()
|
D | crypto_openssl.c | 4161 struct wpabuf * crypto_pkcs7_get_certificates(const struct wpabuf *pkcs7) in crypto_pkcs7_get_certificates() argument 4167 const unsigned char *p = wpabuf_head(pkcs7); in crypto_pkcs7_get_certificates() 4180 CBS_init(&pkcs7_cbs, wpabuf_head(pkcs7), wpabuf_len(pkcs7)); in crypto_pkcs7_get_certificates() 4188 p7 = d2i_PKCS7(NULL, &p, wpabuf_len(pkcs7)); in crypto_pkcs7_get_certificates()
|
D | crypto_mbedtls_alt.c | 3226 struct wpabuf *crypto_pkcs7_get_certificates(const struct wpabuf *pkcs7) in crypto_pkcs7_get_certificates() argument
|