Home
last modified time | relevance | path

Searched refs:CBB_finish (Results 1 – 25 of 34) sorted by relevance

12

/external/boringssl/src/crypto/bytestring/
Dbytestring_test.cc334 ASSERT_TRUE(CBB_finish(cbb.get(), &buf, &buf_len)); in TEST()
347 ASSERT_TRUE(CBB_finish(cbb.get(), &out_buf, &out_size)); in TEST()
354 ASSERT_TRUE(CBB_finish(cbb.get(), &out_buf, &out_size)); in TEST()
375 EXPECT_FALSE(CBB_finish(&child, &out_buf, &out_size)); in TEST()
377 ASSERT_TRUE(CBB_finish(cbb.get(), &out_buf, &out_size)); in TEST()
408 ASSERT_TRUE(CBB_finish(cbb.get(), &buf, &buf_len)); in TEST()
444 ASSERT_TRUE(CBB_finish(cbb.get(), &buf, &buf_len)); in TEST()
479 ASSERT_TRUE(CBB_finish(cbb.get(), &buf, &buf_len)); in TEST()
522 ASSERT_TRUE(CBB_finish(cbb.get(), &buf, &buf_len)); in TEST()
531 ASSERT_TRUE(CBB_finish(cbb.get(), &buf, &buf_len)); in TEST()
[all …]
Dber.c213 !CBB_finish(&cbb, out_storage, &len)) { in CBS_asn1_ber_to_der()
254 if (!CBB_finish(&result, &data, &len)) { in CBS_get_asn1_implicit_string()
Dasn1_compat.c33 if (!CBB_finish(cbb, &der, &der_len)) { in CBB_finish_i2d()
Dcbs.c622 !CBB_finish(&cbb, &txt, &txt_len)) { in CBS_asn1_oid_to_text()
/external/boringssl/src/crypto/pkcs7/
Dpkcs7_test.cc488 ASSERT_TRUE(CBB_finish(cbb.get(), &result_data, &result_len)); in TestCertRepase()
504 ASSERT_TRUE(CBB_finish(cbb.get(), &result2_data, &result2_len)); in TestCertRepase()
570 ASSERT_TRUE(CBB_finish(cbb.get(), &result_data, &result_len)); in TestCRLReparse()
586 ASSERT_TRUE(CBB_finish(cbb.get(), &result2_data, &result2_len)); in TestCRLReparse()
Dpkcs7_x509.c375 !CBB_finish(&cbb, &der, &len)) { in PKCS7_sign()
/external/libchrome/crypto/
Drsa_private_key.cc90 !CBB_finish(cbb.get(), &der, &der_len)) { in ExportPrivateKey()
105 !CBB_finish(cbb.get(), &der, &der_len)) { in ExportPublicKey()
/external/boringssl/src/crypto/ecdsa_extra/
Decdsa_asn1.c88 !CBB_finish(&cbb, NULL, &len)) { in ECDSA_sign()
199 !CBB_finish(&cbb, out_bytes, out_len)) { in ECDSA_SIG_to_bytes()
/external/boringssl/src/crypto/dh/
Ddh_test.cc356 !CBB_finish(cbb.get(), &der, &der_len)) { in TestASN1()
399 !CBB_finish(cbb.get(), &der, &der_len)) { in TestASN1()
/external/boringssl/src/crypto/evp/
Devp_extra_test.cc585 ASSERT_TRUE(CBB_finish(cbb.get(), &der, &der_len)); in TEST()
605 ASSERT_TRUE(CBB_finish(cbb.get(), &der, &der_len)); in TEST()
612 ASSERT_TRUE(CBB_finish(cbb.get(), &der, &der_len)); in TEST()
Devp_test.cc172 !CBB_finish(cbb.get(), &der, &der_len)) { in ImportKey()
/external/boringssl/src/crypto/rsa_extra/
Drsa_asn1.c145 !CBB_finish(&cbb, out_bytes, out_len)) { in RSA_public_key_to_bytes()
241 !CBB_finish(&cbb, out_bytes, out_len)) { in RSA_private_key_to_bytes()
/external/boringssl/src/ssl/test/
Dsettings_writer.cc73 !CBB_finish(cbb_.get(), &settings, &settings_len)) { in Commit()
/external/boringssl/src/crypto/pkcs8/
Dpkcs8_x509.c144 !CBB_finish(&cbb, &der, &der_len) || in EVP_PKEY2PKCS8()
225 !CBB_finish(&cbb, &der, &der_len)) { in PKCS8_encrypt()
360 if (!CBB_finish(&cbb, out_friendly_name, out_friendly_name_len)) { in parse_bag_attributes()
1042 ret = CBB_finish(&cbb, out_data, out_len); in make_cert_safe_contents()
1263 !CBB_finish(&cbb, &ret->ber_bytes, &ret->ber_len)) { in PKCS12_create()
Dpkcs8.c98 !CBB_finish(&cbb, out, out_len)) { in pkcs12_encode_password()
479 !CBB_finish(&plaintext_cbb, &plaintext, &plaintext_len)) { in PKCS8_marshal_encrypted_private_key()
/external/boringssl/src/crypto/asn1/
Dasn1_test.cc126 if (!CBB_finish(cbb.get(), &ptr, out_len)) {
Da_mbstr.c267 !CBB_finish(&cbb, &data, &data_len) || in OPENSSL_DECLARE_ERROR_REASON()
/external/boringssl/src/ssl/
Dssl_asn1.cc772 !CBB_finish(cbb.get(), out_data, out_len)) { in SSL_SESSION_to_bytes()
784 !CBB_finish(cbb.get(), out_data, out_len)) { in SSL_SESSION_to_bytes_for_ticket()
Dd1_both.cc177 !CBB_finish(cbb.get(), NULL, NULL)) { in dtls1_hm_fragment_new()
704 !CBB_finish(cbb.get(), NULL, &frag_len)) { in seal_next_message()
/external/boringssl/src/crypto/x509/
Dx_pubkey.c102 !CBB_finish(&cbb, &spki, &spki_len) ||
/external/boringssl/src/include/openssl/
Dbytestring.h386 OPENSSL_EXPORT int CBB_finish(CBB *cbb, uint8_t **out_data, size_t *out_len);
/external/boringssl/src/crypto/digest_extra/
Ddigest_test.cc257 ASSERT_TRUE(CBB_finish(cbb.get(), &der, &der_len)); in TEST()
/external/boringssl/src/crypto/bn_extra/
Dconvert.c290 if (!CBB_finish(&cbb, &data, &len)) { in BN_bn2dec()
/external/boringssl/src/crypto/obj/
Dobj.c399 !CBB_finish(&cbb, &buf, &len)) { in create_object_with_text_oid()
/external/fsverity-utils/
Dsign.c196 !CBB_finish(&out, &pkcs7_data, &pkcs7_data_len)) { in sign_pkcs7()

12