Home
last modified time | relevance | path

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

12

/external/boringssl/src/crypto/bytestring/
Dbytestring_test.cc312 ASSERT_TRUE(CBB_init(&cbb, 100)); in TEST()
322 ASSERT_TRUE(CBB_init(cbb.get(), 100)); in TEST()
325 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
369 ASSERT_TRUE(CBB_init(cbb.get(), 16)); in TEST()
387 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
415 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
461 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
500 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
525 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
535 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
[all …]
Dber.c208 if (!CBB_init(&cbb, CBS_len(in)) || in CBS_asn1_ber_to_der()
235 if (!CBB_init(&result, CBS_len(in)) || in CBS_get_asn1_implicit_string()
Dcbs.c575 if (!CBB_init(&cbb, 32)) { in CBS_asn1_oid_to_text()
Dcbb.c51 int CBB_init(CBB *cbb, size_t initial_capacity) { in CBB_init() function
/external/boringssl/src/crypto/pkcs7/
Dpkcs7_test.cc485 ASSERT_TRUE(CBB_init(cbb.get(), der_len)); in TestCertRepase()
501 ASSERT_TRUE(CBB_init(cbb.get(), der_len)); in TestCertRepase()
522 ASSERT_TRUE(CBB_init(cbb.get(), der_len)); in TestCRLReparse()
538 ASSERT_TRUE(CBB_init(cbb.get(), der_len)); in TestCRLReparse()
/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/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()
Devp_test.cc168 if (!CBB_init(cbb.get(), 0) || in ImportKey()
/external/libchrome/crypto/
Drsa_private_key.cc89 if (!CBB_init(cbb.get(), 0) || in ExportPrivateKey()
104 if (!CBB_init(cbb.get(), 0) || in ExportPublicKey()
/external/boringssl/src/crypto/ecdsa_extra/
Decdsa_asn1.c205 if (!CBB_init(&cbb, 0) || in ECDSA_SIG_to_bytes()
269 if (!CBB_init(&cbb, 0) || in i2d_ECDSA_SIG()
/external/boringssl/src/crypto/digest_extra/
Ddigest_test.cc223 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
238 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
/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/ec_extra/
Dec_asn1.c450 if (!CBB_init(&cbb, 0) || in i2d_ECPrivateKey()
493 if (!CBB_init(&cbb, 0) || in i2d_ECParameters()
/external/boringssl/src/crypto/pkcs8/
Dpkcs8_x509.c126 if (!CBB_init(&cbb, 0) || in EVP_PKEY2PKCS8()
205 if (!CBB_init(&cbb, 128) || in PKCS8_encrypt()
Dpkcs8.c464 if (!CBB_init(&plaintext_cbb, 128) || in PKCS8_marshal_encrypted_private_key()
/external/boringssl/src/ssl/
Dssl_asn1.cc786 if (!CBB_init(cbb.get(), 256) || in SSL_SESSION_to_bytes()
798 if (!CBB_init(cbb.get(), 256) || in SSL_SESSION_to_bytes_for_ticket()
Ds3_both.cc169 if (!CBB_init(cbb, 64) || in ssl3_init_message()
Dtls13_both.cc58 if (!CBB_init(cbb.get(), 64 + 33 + 1 + 2 * EVP_MAX_MD_SIZE)) { in tls13_get_cert_verify_signature_input()
Dtls13_enc.cc79 if (!CBB_init(cbb.get(), 2 + 1 + strlen(kTLS13LabelVersion) + label_len + 1 + in hkdf_expand_label()
/external/boringssl/src/crypto/x509/
Dx_pubkey.c100 if (!CBB_init(&cbb, 0) ||
/external/boringssl/src/include/openssl/
Dbytestring.h344 OPENSSL_EXPORT int CBB_init(CBB *cbb, size_t initial_capacity);
/external/boringssl/src/crypto/bn_extra/
Dconvert.c250 if (!CBB_init(&cbb, 16) || in BN_bn2dec()
/external/boringssl/src/crypto/obj/
Dobj.c399 if (!CBB_init(&cbb, 32) || in create_object_with_text_oid()

12