Home
last modified time | relevance | path

Searched refs:spki_der (Results 1 – 2 of 2) sorted by relevance

/external/boringssl/src/crypto/x509/
Dx509spki.c80 unsigned char *spki_der; in NETSCAPE_SPKI_b64_decode() local
90 if (!(spki_der = OPENSSL_malloc(spki_len))) { in NETSCAPE_SPKI_b64_decode()
94 if (!EVP_DecodeBase64(spki_der, &spki_len, spki_len, (const uint8_t *)str, len)) { in NETSCAPE_SPKI_b64_decode()
96 OPENSSL_free(spki_der); in NETSCAPE_SPKI_b64_decode()
99 p = spki_der; in NETSCAPE_SPKI_b64_decode()
101 OPENSSL_free(spki_der); in NETSCAPE_SPKI_b64_decode()
/external/libchrome/crypto/
Dsignature_verifier_nss.cc199 SECItem spki_der; in DecodePublicKeyInfo() local
200 spki_der.type = siBuffer; in DecodePublicKeyInfo()
201 spki_der.data = const_cast<uint8_t*>(public_key_info); in DecodePublicKeyInfo()
202 spki_der.len = public_key_info_len; in DecodePublicKeyInfo()
203 spki = SECKEY_DecodeDERSubjectPublicKeyInfo(&spki_der); in DecodePublicKeyInfo()