Home
last modified time | relevance | path

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

12

/external/boringssl/src/crypto/bytestring/
Dbytestring_test.cc248 ASSERT_TRUE(CBB_init(&cbb, 100)); in TEST()
258 ASSERT_TRUE(CBB_init(cbb.get(), 100)); in TEST()
261 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
305 ASSERT_TRUE(CBB_init(cbb.get(), 16)); in TEST()
323 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
351 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
397 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
425 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
434 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
444 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()
238 if (!CBB_init(&result, CBS_len(in)) || in CBS_get_asn1_implicit_string()
Dcbb.c49 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.c162 if (!CBB_init(&cbb, 0) || in RSA_public_key_to_bytes()
258 if (!CBB_init(&cbb, 0) || in RSA_private_key_to_bytes()
288 if (!CBB_init(&cbb, 0) || in i2d_RSAPublicKey()
316 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.cc167 if (!CBB_init(cbb.get(), 0) || in ImportKey()
/external/boringssl/src/crypto/ecdsa_extra/
Decdsa_asn1.c212 if (!CBB_init(&cbb, 0) || in ECDSA_SIG_to_bytes()
276 if (!CBB_init(&cbb, 0) || in i2d_ECDSA_SIG()
/external/boringssl/src/crypto/dh/
Ddh_asn1.c154 if (!CBB_init(&cbb, 0) || in i2d_DHparams()
Ddh_test.cc572 if (!CBB_init(cbb.get(), 0) || in TestASN1()
615 if (!CBB_init(cbb.get(), 0) || in TestASN1()
/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/include/openssl/
Dbytestring.h320 OPENSSL_EXPORT int CBB_init(CBB *cbb, size_t initial_capacity);
/external/boringssl/src/crypto/pkcs8/
Dpkcs8_x509.c127 if (!CBB_init(&cbb, 0) || in EVP_PKEY2PKCS8()
206 if (!CBB_init(&cbb, 128) || in PKCS8_encrypt()
Dpkcs8.c471 if (!CBB_init(&plaintext_cbb, 128) || in PKCS8_marshal_encrypted_private_key()
/external/boringssl/src/crypto/x509/
Dx_pubkey.c100 if (!CBB_init(&cbb, 0) ||
/external/boringssl/src/crypto/bn_extra/
Dconvert.c250 if (!CBB_init(&cbb, 16) || in BN_bn2dec()
/external/boringssl/src/crypto/fipsmodule/ec/
Dec_test.cc121 if (!CBB_init(cbb.get(), 0) || in EncodeECPrivateKey()
/external/boringssl/src/crypto/obj/
Dobj.c483 if (!CBB_init(&cbb, 32)) { in OBJ_obj2txt()
/external/boringssl/src/ssl/
Dtls13_enc.cc77 if (!CBB_init(&cbb, 2 + 1 + strlen(kTLS13LabelVersion) + label_len + 1 + in hkdf_expand_label()
Dhandshake_server.cc1024 if (!CBB_init(cbb.get(), SSL3_RANDOM_SIZE * 2 + 128) || in ssl3_send_server_certificate()
1481 if (!CBB_init(&new_premaster, 2 + psk_len + 2 + premaster_secret_len) || in ssl3_get_client_key_exchange()
Dtls13_both.cc136 if (!CBB_init(&cbb, 64 + 33 + 1 + 2 * EVP_MAX_MD_SIZE)) { in tls13_get_cert_verify_signature_input()
Dssl_asn1.cc206 if (!CBB_init(&cbb, 0) || in SSL_SESSION_to_bytes_full()
Ds3_both.cc237 if (!CBB_init(cbb, 64) || in ssl3_init_message()
Dd1_both.cc507 if (!CBB_init(cbb, 64) || in dtls1_init_message()

12