Home
last modified time | relevance | path

Searched refs:der_len (Results 1 – 3 of 3) sorted by relevance

/external/openssl/crypto/x509/
Dx509spki.c108 int der_len; in NETSCAPE_SPKI_b64_encode() local
109 der_len = i2d_NETSCAPE_SPKI(spki, NULL); in NETSCAPE_SPKI_b64_encode()
110 der_spki = OPENSSL_malloc(der_len); in NETSCAPE_SPKI_b64_encode()
111 b64_str = OPENSSL_malloc(der_len * 2); in NETSCAPE_SPKI_b64_encode()
118 EVP_EncodeBlock((unsigned char *)b64_str, der_spki, der_len); in NETSCAPE_SPKI_b64_encode()
/external/wpa_supplicant_8/src/tls/
Dtlsv1_cred.c107 size_t der_len; in tlsv1_add_cert() local
128 der = base64_decode(pos, end - pos, &der_len); in tlsv1_add_cert()
135 if (tlsv1_add_cert_der(chain, der, der_len) < 0) { in tlsv1_add_cert()
228 size_t der_len; in tlsv1_set_key_pem() local
254 der = base64_decode(pos, end - pos, &der_len); in tlsv1_set_key_pem()
257 pkey = crypto_private_key_import(der, der_len, NULL); in tlsv1_set_key_pem()
269 size_t der_len; in tlsv1_set_key_enc_pem() local
282 der = base64_decode(pos, end - pos, &der_len); in tlsv1_set_key_enc_pem()
285 pkey = crypto_private_key_import(der, der_len, passwd); in tlsv1_set_key_enc_pem()
435 size_t der_len; in tlsv1_set_dhparams_blob() local
[all …]
/external/openssl/crypto/asn1/
Da_strex.c269 int outlen, der_len; in do_dump() local
280 der_len = i2d_ASN1_TYPE(&t, NULL); in do_dump()
281 der_buf = OPENSSL_malloc(der_len); in do_dump()
285 outlen = do_hex_dump(io_ch, arg, der_buf, der_len); in do_dump()