Home
last modified time | relevance | path

Searched refs:CBB_init (Results 1 – 25 of 44) sorted by relevance

12

/external/boringssl/src/crypto/bytestring/
Dbytestring_test.cc312 ASSERT_TRUE(CBB_init(&cbb, 100)); in TEST()
324 ASSERT_TRUE(CBB_init(cbb.get(), 100)); in TEST()
327 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
372 ASSERT_TRUE(CBB_init(cbb.get(), 16)); in TEST()
390 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
418 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
464 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
503 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
528 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
538 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
[all …]
Dber.c211 if (!CBB_init(&cbb, CBS_len(in)) || in CBS_asn1_ber_to_der()
239 if (!CBB_init(&result, CBS_len(in)) || in CBS_get_asn1_implicit_string()
/external/boringssl/src/crypto/rsa_extra/
Drsa_asn1.c143 if (!CBB_init(&cbb, 0) || in RSA_public_key_to_bytes()
239 if (!CBB_init(&cbb, 0) || in RSA_private_key_to_bytes()
269 if (!CBB_init(&cbb, 0) || in i2d_RSAPublicKey()
297 if (!CBB_init(&cbb, 0) || in i2d_RSAPrivateKey()
/external/boringssl/src/crypto/dsa/
Ddsa_asn1.c249 if (!CBB_init(&cbb, 0) || in i2d_DSA_SIG()
277 if (!CBB_init(&cbb, 0) || in i2d_DSAPublicKey()
305 if (!CBB_init(&cbb, 0) || in i2d_DSAPrivateKey()
333 if (!CBB_init(&cbb, 0) || in i2d_DSAparams()
/external/boringssl/src/crypto/pkcs7/
Dpkcs7_test.cc486 ASSERT_TRUE(CBB_init(cbb.get(), der_len)); in TestCertRepase()
502 ASSERT_TRUE(CBB_init(cbb.get(), der_len)); in TestCertRepase()
568 ASSERT_TRUE(CBB_init(cbb.get(), der_len)); in TestCRLReparse()
584 ASSERT_TRUE(CBB_init(cbb.get(), der_len)); in TestCRLReparse()
Dpkcs7_x509.c373 if (!CBB_init(&cbb, 2048) || in PKCS7_sign()
/external/libchrome/crypto/
Drsa_private_key.cc88 if (!CBB_init(cbb.get(), 0) || in ExportPrivateKey()
103 if (!CBB_init(cbb.get(), 0) || in ExportPublicKey()
/external/boringssl/src/crypto/evp/
Devp_extra_test.cc583 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
590 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
603 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
610 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
/external/boringssl/src/crypto/ecdsa_extra/
Decdsa_asn1.c197 if (!CBB_init(&cbb, 0) || in ECDSA_SIG_to_bytes()
261 if (!CBB_init(&cbb, 0) || in i2d_ECDSA_SIG()
/external/boringssl/src/crypto/dh/
Ddh_test.cc354 if (!CBB_init(cbb.get(), 0) || in TestASN1()
397 if (!CBB_init(cbb.get(), 0) || in TestASN1()
Ddh_asn1.c154 if (!CBB_init(&cbb, 0) || in i2d_DHparams()
/external/boringssl/src/crypto/digest_extra/
Ddigest_test.cc238 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
253 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
/external/boringssl/src/ssl/test/
Dsettings_writer.cc37 if (!CBB_init(cbb_.get(), 64)) { in Init()
Dhandshaker.cc95 if (!CBB_init(output.get(), 1024) || in Handshaker()
Dhandshake_util.cc416 if (!CBB_init(cbb.get(), 512) || in PrepareHandoff()
/external/boringssl/src/crypto/pkcs8/
Dpkcs8_x509.c142 if (!CBB_init(&cbb, 0) || in EVP_PKEY2PKCS8()
221 if (!CBB_init(&cbb, 128) || in PKCS8_encrypt()
347 if (!CBB_init(&cbb, CBS_len(&value))) { in parse_bag_attributes()
1028 if (!CBB_init(&cbb, 0) || in make_cert_safe_contents()
1164 if (!CBB_init(&cbb, 0) || in PKCS12_create()
Dpkcs8.c78 if (!CBB_init(&cbb, in_len * 2)) { in pkcs12_encode_password()
477 if (!CBB_init(&plaintext_cbb, 128) || in PKCS8_marshal_encrypted_private_key()
/external/boringssl/src/crypto/ec_extra/
Dec_asn1.c449 if (!CBB_init(&cbb, 0) || in i2d_ECPrivateKey()
492 if (!CBB_init(&cbb, 0) || in i2d_ECParameters()
/external/boringssl/src/crypto/asn1/
Dasn1_test.cc116 if (!CBB_init(cbb.get(), 2 * count) ||
Da_mbstr.c249 if (!CBB_init(&cbb, size_estimate + 1)) { in OPENSSL_DECLARE_ERROR_REASON()
/external/boringssl/src/ssl/
Dtls13_both.cc60 if (!CBB_init(cbb.get(), 64 + 33 + 1 + 2 * EVP_MAX_MD_SIZE)) { in tls13_get_cert_verify_signature_input()
428 if (!CBB_init(cbb.get(), 1024)) { in tls13_add_certificate()
Dssl_asn1.cc770 if (!CBB_init(cbb.get(), 256) || in SSL_SESSION_to_bytes()
782 if (!CBB_init(cbb.get(), 256) || in SSL_SESSION_to_bytes_for_ticket()
/external/boringssl/src/crypto/x509/
Dx_pubkey.c100 if (!CBB_init(&cbb, 0) ||
/external/boringssl/src/include/openssl/
Dbytestring.h362 OPENSSL_EXPORT int CBB_init(CBB *cbb, size_t initial_capacity);
/external/boringssl/src/crypto/bn_extra/
Dconvert.c251 if (!CBB_init(&cbb, 16) || in BN_bn2dec()

12