/external/boringssl/src/crypto/x509/ |
x509spki.c | 112 int der_len; local 113 der_len = i2d_NETSCAPE_SPKI(spki, NULL); 114 if (!EVP_EncodedLength(&b64_len, der_len)) 119 der_spki = OPENSSL_malloc(der_len); 132 EVP_EncodeBlock((unsigned char *)b64_str, der_spki, der_len);
|
pkcs7.c | 39 size_t der_len; local 45 if (!CBS_asn1_ber_to_der(cbs, der_bytes, &der_len)) { 49 CBS_init(&in, *der_bytes, der_len);
|
a_strex.c | 257 int outlen, der_len; local 268 der_len = i2d_ASN1_TYPE(&t, NULL); 269 der_buf = OPENSSL_malloc(der_len); 273 outlen = do_hex_dump(io_ch, arg, der_buf, der_len);
|
/external/boringssl/src/crypto/ecdsa/ |
ecdsa_asn1.c | 220 size_t der_len; local 221 if (!ECDSA_SIG_to_bytes(&der, &der_len, sig)) { 224 if (der_len > INT_MAX) { 234 memcpy(*outp, der, der_len); 235 *outp += der_len; 239 return (int)der_len;
|
ecdsa_test.cc | 81 size_t der_len; local 82 if (!ECDSA_SIG_to_bytes(&der, &der_len, ecdsa_sig)) { 86 actual_result = ECDSA_verify(0, digest, digest_len, der, der_len, eckey); 327 size_t der_len; local 328 if (!ECDSA_SIG_to_bytes(&der, &der_len, sig.get())) { 334 if (max_len != der_len) { 337 static_cast<unsigned>(der_len));
|
ecdsa.c | 93 size_t der_len; local 94 if (!ECDSA_SIG_to_bytes(&der, &der_len, s) || 95 der_len != sig_len || memcmp(sig, der, sig_len) != 0) {
|
/external/boringssl/src/crypto/rsa/ |
rsa_asn1.c | 388 size_t der_len; local 389 if (!RSA_public_key_to_bytes(&der, &der_len, in)) { 392 if (der_len > INT_MAX) { 402 memcpy(*outp, der, der_len); 403 *outp += der_len; 407 return (int)der_len; 430 size_t der_len; local 431 if (!RSA_private_key_to_bytes(&der, &der_len, in)) { 434 if (der_len > INT_MAX) { 444 memcpy(*outp, der, der_len); 463 size_t der_len; local 474 size_t der_len; local [all...] |
rsa_test.cc | 818 size_t der_len; local [all...] |
/external/boringssl/src/crypto/bn/ |
bn_test.cc | 1775 size_t der_len; member in struct:ASN1Test 1792 size_t der_len; member in struct:ASN1InvalidTest 1838 size_t der_len; local [all...] |
/external/boringssl/src/crypto/dsa/ |
dsa.c | 730 int der_len = i2d_DSA_SIG(s, &der); local 731 if (der_len < 0 || (size_t)der_len != sig_len || memcmp(sig, der, sig_len)) {
|
/external/wpa_supplicant_8/src/tls/ |
tlsv1_cred.c | 112 size_t der_len; local 133 der = base64_decode(pos, end - pos, &der_len); 140 if (tlsv1_add_cert_der(chain, der, der_len) < 0) { 270 size_t der_len; local 296 der = base64_decode(pos, end - pos, &der_len); 299 pkey = crypto_private_key_import(der, der_len, NULL); 311 size_t der_len; local 324 der = base64_decode(pos, end - pos, &der_len); 327 pkey = crypto_private_key_import(der, der_len, passwd); 1210 size_t der_len; local [all...] |
/external/boringssl/src/crypto/pkcs8/ |
pkcs8.c | 679 size_t der_len; local 695 if (!CBS_asn1_ber_to_der(content_infos, &der_bytes, &der_len)) { 701 CBS_init(&in, der_bytes, der_len); 904 size_t der_len; local 912 if (!CBS_asn1_ber_to_der(ber_in, &der_bytes, &der_len)) { 917 CBS_init(&in, der_bytes, der_len); [all...] |
/external/wpa_supplicant_8/hs20/client/ |
osu_client.c | 192 size_t der_len, pem_len; local 209 der = os_readfile("Cert/est_cert.der", &der_len); 216 if (sha256_vector(1, (const u8 **) &der, &der_len, digest2) < 0) { [all...] |