Home
last modified time | relevance | path

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

1234

/external/rust/crates/quiche/deps/boringssl/src/crypto/bytestring/
Dbytestring_test.cc320 ASSERT_TRUE(CBB_init(&cbb, 100)); in TEST()
334 ASSERT_TRUE(CBB_init(cbb.get(), 100)); in TEST()
337 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
385 ASSERT_TRUE(CBB_init(cbb.get(), 16)); in TEST()
403 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
431 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
477 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
516 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
541 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
551 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/bytestring/
Dbytestring_test.cc320 ASSERT_TRUE(CBB_init(&cbb, 100)); in TEST()
334 ASSERT_TRUE(CBB_init(cbb.get(), 100)); in TEST()
337 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
385 ASSERT_TRUE(CBB_init(cbb.get(), 16)); in TEST()
403 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
431 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
477 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
516 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
541 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
551 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
[all …]
Dber.c210 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()
/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/rust/crates/quiche/deps/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/rust/crates/quiche/deps/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/dsa/
Ddsa_asn1.c300 if (!CBB_init(&cbb, 0) || in i2d_DSA_SIG()
328 if (!CBB_init(&cbb, 0) || in i2d_DSAPublicKey()
356 if (!CBB_init(&cbb, 0) || in i2d_DSAPrivateKey()
384 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 TestCertReparse()
502 ASSERT_TRUE(CBB_init(cbb.get(), der_len)); in TestCertReparse()
568 ASSERT_TRUE(CBB_init(cbb.get(), der_len)); in TestCRLReparse()
584 ASSERT_TRUE(CBB_init(cbb.get(), der_len)); in TestCRLReparse()
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs7/
Dpkcs7_test.cc486 ASSERT_TRUE(CBB_init(cbb.get(), der_len)); in TestCertReparse()
502 ASSERT_TRUE(CBB_init(cbb.get(), der_len)); in TestCertReparse()
568 ASSERT_TRUE(CBB_init(cbb.get(), der_len)); in TestCRLReparse()
584 ASSERT_TRUE(CBB_init(cbb.get(), der_len)); in TestCRLReparse()
/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/openscreen/util/crypto/
Drsa_private_key.cc98 if (!CBB_init(cbb.get(), 0) || in ExportPrivateKey()
115 if (!CBB_init(cbb.get(), 0) || in ExportPublicKey()
/external/rust/crates/quiche/deps/boringssl/src/fuzz/
Dpkcs8.cc31 if (CBB_init(&cbb, 0) && in LLVMFuzzerTestOneInput()
Dspki.cc32 if (CBB_init(&cbb, 0) && in LLVMFuzzerTestOneInput()
/external/oss-fuzz/projects/boringssl/
Dfuzz_pkcs8.cc45 if (CBB_init(cbb.get(), 0) && in DEFINE_PROTO_FUZZER()
/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/rust/crates/quiche/deps/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/rust/crates/quiche/deps/boringssl/src/crypto/trust_token/
Dtrust_token.c188 if (!CBB_init(&request, 0) || in TRUST_TOKEN_CLIENT_begin_issuance()
275 if (!CBB_init(&request, 0) || in TRUST_TOKEN_CLIENT_begin_redemption()
451 if (!CBB_init(&response, 0) || in TRUST_TOKEN_ISSUER_issue()
579 if (!CBB_init(&response, 0)) { in TRUST_TOKEN_ISSUER_redeem()
633 if (!CBB_init(&srr, 0) || in TRUST_TOKEN_ISSUER_redeem()
/external/boringssl/src/crypto/trust_token/
Dvoprf.c234 if (!CBB_init(&cbb, 0) || in hash_to_scalar_dleq()
269 if (!CBB_init(&cbb, 0) || in hash_to_scalar_batch()
437 !CBB_init(&batch_cbb, 0) || in voprf_sign()
543 !CBB_init(&batch_cbb, 0) || in STACK_OF()
581 if (!CBB_init(&token_cbb, 4 + TRUST_TOKEN_NONCE_SIZE + (2 + point_len)) || in STACK_OF()
Dtrust_token.c214 if (!CBB_init(&request, 0) || in TRUST_TOKEN_CLIENT_begin_issuance()
301 if (!CBB_init(&request, 0) || in TRUST_TOKEN_CLIENT_begin_redemption()
491 if (!CBB_init(&response, 0) || in TRUST_TOKEN_ISSUER_issue()
685 if (!CBB_init(&response, 0)) { in TRUST_TOKEN_ISSUER_redeem()
741 if (!CBB_init(&srr, 0) || in TRUST_TOKEN_ISSUER_redeem()
/external/rust/crates/quiche/deps/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/evp/
Devp_extra_test.cc608 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
615 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
652 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
659 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/
Devp_extra_test.cc608 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
615 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
652 ASSERT_TRUE(CBB_init(cbb.get(), 0)); in TEST()
659 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()

1234