Home
last modified time | relevance | path

Searched refs:der_spki (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/boringssl/src/crypto/x509/
Dx509spki.c107 unsigned char *der_spki, *p; in NETSCAPE_SPKI_b64_encode() local
117 der_spki = OPENSSL_malloc(der_len); in NETSCAPE_SPKI_b64_encode()
118 if (der_spki == NULL) { in NETSCAPE_SPKI_b64_encode()
124 OPENSSL_free(der_spki); in NETSCAPE_SPKI_b64_encode()
128 p = der_spki; in NETSCAPE_SPKI_b64_encode()
130 EVP_EncodeBlock((unsigned char *)b64_str, der_spki, der_len); in NETSCAPE_SPKI_b64_encode()
131 OPENSSL_free(der_spki); in NETSCAPE_SPKI_b64_encode()
/external/openssl/crypto/x509/
Dx509spki.c106 unsigned char *der_spki, *p; in NETSCAPE_SPKI_b64_encode() local
110 der_spki = OPENSSL_malloc(der_len); in NETSCAPE_SPKI_b64_encode()
112 if(!der_spki || !b64_str) { in NETSCAPE_SPKI_b64_encode()
116 p = der_spki; in NETSCAPE_SPKI_b64_encode()
118 EVP_EncodeBlock((unsigned char *)b64_str, der_spki, der_len); in NETSCAPE_SPKI_b64_encode()
119 OPENSSL_free(der_spki); in NETSCAPE_SPKI_b64_encode()
/external/chromium_org/net/cert/
Dx509_util_openssl_unittest.cc24 const std::vector<uint8>& der_spki) { in VerifyCertificateSignature() argument
34 const unsigned char* pub_key_data = &der_spki.front(); in VerifyCertificateSignature()
35 int pub_key_len = static_cast<int>(der_spki.size()); in VerifyCertificateSignature()
Dx509_util_nss_unittest.cc36 const std::vector<uint8>& der_spki) { in VerifyCertificateSignature() argument
67 &der_spki[0], in VerifyCertificateSignature()
68 der_spki.size()); in VerifyCertificateSignature()