Searched refs:spki_der (Results 1 – 9 of 9) sorted by relevance
/external/openssl/crypto/x509/ |
D | x509spki.c | 80 unsigned char *spki_der; in NETSCAPE_SPKI_b64_decode() local 85 if (!(spki_der = OPENSSL_malloc(len + 1))) { in NETSCAPE_SPKI_b64_decode() 89 spki_len = EVP_DecodeBlock(spki_der, (const unsigned char *)str, len); in NETSCAPE_SPKI_b64_decode() 93 OPENSSL_free(spki_der); in NETSCAPE_SPKI_b64_decode() 96 p = spki_der; in NETSCAPE_SPKI_b64_decode() 98 OPENSSL_free(spki_der); in NETSCAPE_SPKI_b64_decode()
|
/external/chromium_org/third_party/boringssl/src/crypto/x509/ |
D | x509spki.c | 78 unsigned char *spki_der; in NETSCAPE_SPKI_b64_decode() local 88 if (!(spki_der = OPENSSL_malloc(spki_len))) { in NETSCAPE_SPKI_b64_decode() 92 if (!EVP_DecodeBase64(spki_der, &spki_len, spki_len, (const uint8_t *)str, len)) { in NETSCAPE_SPKI_b64_decode() 94 OPENSSL_free(spki_der); in NETSCAPE_SPKI_b64_decode() 97 p = spki_der; in NETSCAPE_SPKI_b64_decode() 99 OPENSSL_free(spki_der); in NETSCAPE_SPKI_b64_decode()
|
/external/chromium_org/net/cert/ |
D | jwk_serializer_openssl.cc | 88 const base::StringPiece& spki_der, in ConvertSpkiFromDerToJwk() argument 95 const uint8_t *data = reinterpret_cast<const uint8_t*>(spki_der.data()); in ConvertSpkiFromDerToJwk() 97 crypto::ScopedEVP_PKEY pubkey(d2i_PUBKEY(NULL, &ptr, spki_der.size())); in ConvertSpkiFromDerToJwk() 98 if (!pubkey || ptr != data + spki_der.size()) in ConvertSpkiFromDerToJwk()
|
D | jwk_serializer_nss.cc | 81 const base::StringPiece& spki_der, in ConvertSpkiFromDerToJwk() argument 92 reinterpret_cast<const unsigned char*>(spki_der.data())); in ConvertSpkiFromDerToJwk() 93 sec_item.len = spki_der.size(); in ConvertSpkiFromDerToJwk()
|
D | jwk_serializer.h | 23 const base::StringPiece& spki_der,
|
/external/chromium_org/crypto/ |
D | signature_verifier_nss.cc | 198 SECItem spki_der; in DecodePublicKeyInfo() local 199 spki_der.type = siBuffer; in DecodePublicKeyInfo() 200 spki_der.data = const_cast<uint8*>(public_key_info); in DecodePublicKeyInfo() 201 spki_der.len = public_key_info_len; in DecodePublicKeyInfo() 202 spki = SECKEY_DecodeDERSubjectPublicKeyInfo(&spki_der); in DecodePublicKeyInfo()
|
/external/chromium_org/content/child/webcrypto/nss/ |
D | rsa_key_nss.cc | 416 const crypto::ScopedSECItem spki_der( in ExportKeySpkiNss() local 418 if (!spki_der) in ExportKeySpkiNss() 421 buffer->assign(spki_der->data, spki_der->data + spki_der->len); in ExportKeySpkiNss()
|
/external/chromium_org/content/child/webcrypto/test/ |
D | test_helpers.h | 124 void ImportRsaKeyPair(const std::vector<uint8_t>& spki_der,
|
D | test_helpers.cc | 347 void ImportRsaKeyPair(const std::vector<uint8_t>& spki_der, in ImportRsaKeyPair() argument 357 CryptoData(spki_der), in ImportRsaKeyPair()
|