Home
last modified time | relevance | path

Searched refs:CBB_add_asn1 (Results 1 – 12 of 12) sorted by relevance

/external/boringssl/src/ssl/
Dssl_asn1.c194 !CBB_add_asn1(&cbb, &session, CBS_ASN1_SEQUENCE) || in SSL_SESSION_to_bytes_full()
197 !CBB_add_asn1(&session, &child, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_to_bytes_full()
199 !CBB_add_asn1(&session, &child, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_to_bytes_full()
203 !CBB_add_asn1(&session, &child, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_to_bytes_full()
210 if (!CBB_add_asn1(&session, &child, kTimeTag) || in SSL_SESSION_to_bytes_full()
218 if (!CBB_add_asn1(&session, &child, kTimeoutTag) || in SSL_SESSION_to_bytes_full()
228 if (!CBB_add_asn1(&session, &child, kPeerTag)) { in SSL_SESSION_to_bytes_full()
239 if (!CBB_add_asn1(&session, &child, kSessionIDContextTag) || in SSL_SESSION_to_bytes_full()
240 !CBB_add_asn1(&child, &child2, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_to_bytes_full()
247 if (!CBB_add_asn1(&session, &child, kVerifyResultTag) || in SSL_SESSION_to_bytes_full()
[all …]
/external/boringssl/src/crypto/x509/
Dpkcs7.c277 if (!CBB_add_asn1(out, &outer_seq, CBS_ASN1_SEQUENCE) || in pkcs7_bundle()
279 !CBB_add_asn1(&outer_seq, &wrapped_seq, in pkcs7_bundle()
282 !CBB_add_asn1(&wrapped_seq, &seq, CBS_ASN1_SEQUENCE) || in pkcs7_bundle()
283 !CBB_add_asn1(&seq, &version_bytes, CBS_ASN1_INTEGER) || in pkcs7_bundle()
285 !CBB_add_asn1(&seq, &digest_algos_set, CBS_ASN1_SET) || in pkcs7_bundle()
286 !CBB_add_asn1(&seq, &content_info, CBS_ASN1_SEQUENCE) || in pkcs7_bundle()
301 if (!CBB_add_asn1(out, &certificates, in pkcs7_bundle_certificates_cb()
331 if (!CBB_add_asn1(out, &crl_data, in pkcs7_bundle_crls_cb()
/external/boringssl/src/crypto/bytestring/
Dbytestring_test.cc444 CBB_add_asn1(&child, &contents, 1) || in TestCBBMisuse()
473 if (!CBB_add_asn1(&cbb, &contents, 0x30) || in TestCBBASN1()
490 if (!CBB_add_asn1(&cbb, &contents, 0x30) || in TestCBBASN1()
507 if (!CBB_add_asn1(&cbb, &contents, 0x30) || in TestCBBASN1()
524 if (!CBB_add_asn1(&cbb, &contents, 0x30) || in TestCBBASN1()
525 !CBB_add_asn1(&contents, &inner_contents, 0x30) || in TestCBBASN1()
Dber.c147 if (!CBB_add_asn1(out, &out_contents_storage, out_tag)) { in cbs_convert_ber()
166 if (!CBB_add_asn1(out, &out_contents_storage, tag)) { in cbs_convert_ber()
Dcbb.c312 int CBB_add_asn1(CBB *cbb, CBB *out_contents, uint8_t tag) { in CBB_add_asn1() function
416 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_INTEGER)) { in CBB_add_asn1_uint64()
/external/boringssl/src/crypto/rsa/
Drsa_asn1.c148 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || in RSA_marshal_public_key()
310 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || in RSA_marshal_private_key()
327 if (!CBB_add_asn1(&child, &other_prime_infos, CBS_ASN1_SEQUENCE)) { in RSA_marshal_private_key()
336 if (!CBB_add_asn1(&other_prime_infos, &other_prime_info, in RSA_marshal_private_key()
/external/boringssl/src/crypto/bn/
Dbn_asn1.c69 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_INTEGER)) { in BN_bn2cbb()
/external/boringssl/src/crypto/ecdsa/
Decdsa_asn1.c142 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || in ECDSA_SIG_marshal()
/external/boringssl/src/include/openssl/
Dbytestring.h329 OPENSSL_EXPORT int CBB_add_asn1(CBB *cbb, CBB *out_contents, uint8_t tag);
/external/boringssl/src/crypto/obj/
Dobj.c309 !CBB_add_asn1(out, &oid, CBS_ASN1_OBJECT) || in OBJ_nid2cbb()
/external/boringssl/src/
DSTYLE.md160 OPENSSL_EXPORT int CBB_add_asn1(CBB *cbb, CBB *out_contents, uint8_t tag);
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp6767 if (!CBB_add_asn1(&result, &seq_contents, CBS_ASN1_SEQUENCE)) {