/external/boringssl/src/include/openssl/ |
D | bytestring.h | 242 CBB *child; 259 OPENSSL_EXPORT void CBB_zero(CBB *cbb); 264 OPENSSL_EXPORT int CBB_init(CBB *cbb, size_t initial_capacity); 269 OPENSSL_EXPORT int CBB_init_fixed(CBB *cbb, uint8_t *buf, size_t len); 278 OPENSSL_EXPORT void CBB_cleanup(CBB *cbb); 288 OPENSSL_EXPORT int CBB_finish(CBB *cbb, uint8_t **out_data, size_t *out_len); 293 OPENSSL_EXPORT int CBB_flush(CBB *cbb); 300 OPENSSL_EXPORT const uint8_t *CBB_data(const CBB *cbb); 307 OPENSSL_EXPORT size_t CBB_len(const CBB *cbb); 312 OPENSSL_EXPORT int CBB_add_u8_length_prefixed(CBB *cbb, CBB *out_contents); [all …]
|
D | obj.h | 133 OPENSSL_EXPORT int OBJ_nid2cbb(CBB *out, int nid);
|
D | ecdsa.h | 162 OPENSSL_EXPORT int ECDSA_SIG_marshal(CBB *cbb, const ECDSA_SIG *sig);
|
D | rsa.h | 352 OPENSSL_EXPORT int RSA_marshal_public_key(CBB *cbb, const RSA *rsa); 374 OPENSSL_EXPORT int RSA_marshal_private_key(CBB *cbb, const RSA *rsa);
|
D | base.h | 200 typedef struct cbb_st CBB; typedef
|
D | bn.h | 257 OPENSSL_EXPORT int BN_bn2cbb_padded(CBB *out, size_t len, const BIGNUM *in); 316 OPENSSL_EXPORT int BN_bn2cbb(CBB *cbb, const BIGNUM *bn);
|
/external/boringssl/src/crypto/bytestring/ |
D | cbb.c | 23 void CBB_zero(CBB *cbb) { in CBB_zero() 24 memset(cbb, 0, sizeof(CBB)); in CBB_zero() 27 static int cbb_init(CBB *cbb, uint8_t *buf, size_t cap) { in cbb_init() 46 int CBB_init(CBB *cbb, size_t initial_capacity) { in CBB_init() 62 int CBB_init_fixed(CBB *cbb, uint8_t *buf, size_t len) { in CBB_init_fixed() 73 void CBB_cleanup(CBB *cbb) { in CBB_cleanup() 157 int CBB_finish(CBB *cbb, uint8_t **out_data, size_t *out_len) { in CBB_finish() 185 int CBB_flush(CBB *cbb) { in CBB_flush() 264 const uint8_t *CBB_data(const CBB *cbb) { in CBB_data() 269 size_t CBB_len(const CBB *cbb) { in CBB_len() [all …]
|
D | bytestring_test.cc | 272 CBB cbb; in TestCBBBasic() 296 CBB cbb; in TestCBBFixed() 323 CBB cbb, child; in TestCBBFinishChild() 345 CBB cbb, contents, inner_contents, inner_inner_contents; in TestCBBPrefixed() 375 CBB contents, inner_contents, inner_inner_contents; in TestCBBDiscardChild() 423 CBB cbb, child, contents; in TestCBBMisuse() 468 CBB cbb, contents, inner_contents; in TestCBBASN1() 665 CBB cbb; in TestASN1Uint64() 707 CBB cbb; in TestZero()
|
D | ber.c | 89 static int cbs_convert_ber(CBS *in, CBB *out, char squash_header, in cbs_convert_ber() 99 CBB *out_contents, out_contents_storage; in cbs_convert_ber() 197 CBB cbb; in CBS_asn1_ber_to_der()
|
/external/boringssl/src/ssl/ |
D | t1_lib.c | 668 int (*add_clienthello)(SSL *ssl, CBB *out); 672 int (*add_serverhello)(SSL *ssl, CBB *out); 684 static int ext_sni_add_clienthello(SSL *ssl, CBB *out) { in ext_sni_add_clienthello() 689 CBB contents, server_name_list, name; in ext_sni_add_clienthello() 815 static int ext_sni_add_serverhello(SSL *ssl, CBB *out) { in ext_sni_add_serverhello() 835 static int ext_ri_add_clienthello(SSL *ssl, CBB *out) { in ext_ri_add_clienthello() 836 CBB contents, prev_finished; in ext_ri_add_clienthello() 959 static int ext_ri_add_serverhello(SSL *ssl, CBB *out) { in ext_ri_add_serverhello() 960 CBB contents, prev_finished; in ext_ri_add_serverhello() 984 static int ext_ems_add_clienthello(SSL *ssl, CBB *out) { in ext_ems_add_clienthello() [all …]
|
D | custom_extensions.c | 62 static int custom_ext_add_hello(SSL *ssl, CBB *extensions) { in custom_ext_add_hello() 85 CBB contents_cbb; in custom_ext_add_hello() 126 int custom_ext_add_clienthello(SSL *ssl, CBB *extensions) { in custom_ext_add_clienthello() 181 int custom_ext_add_serverhello(SSL *ssl, CBB *extensions) { in custom_ext_add_serverhello()
|
D | ssl_ecdh.c | 38 static int ssl_ec_point_generate_keypair(SSL_ECDH_CTX *ctx, CBB *out) { in ssl_ec_point_generate_keypair() 170 static int ssl_x25519_generate_keypair(SSL_ECDH_CTX *ctx, CBB *out) { in ssl_x25519_generate_keypair() 215 static int ssl_dhe_generate_keypair(SSL_ECDH_CTX *ctx, CBB *out) { in ssl_dhe_generate_keypair() 374 int SSL_ECDH_CTX_generate_keypair(SSL_ECDH_CTX *ctx, CBB *out_public_key) { in SSL_ECDH_CTX_generate_keypair()
|
D | internal.h | 480 int custom_ext_add_clienthello(SSL *ssl, CBB *extensions); 485 int custom_ext_add_serverhello(SSL *ssl, CBB *extensions); 536 int (*generate_keypair)(SSL_ECDH_CTX *ctx, CBB *out_public_key); 567 int SSL_ECDH_CTX_generate_keypair(SSL_ECDH_CTX *ctx, CBB *out_public_key); 1214 int ssl_add_clienthello_tlsext(SSL *ssl, CBB *out, size_t header_len); 1216 int ssl_add_serverhello_tlsext(SSL *ssl, CBB *out); 1235 int tls12_add_sigandhash(SSL *ssl, CBB *out, const EVP_MD *md);
|
D | s3_clnt.c | 592 static int ssl3_write_client_cipher_list(SSL *ssl, CBB *out) { in ssl3_write_client_cipher_list() 596 CBB child; in ssl3_write_client_cipher_list() 659 CBB cbb; in ssl3_send_client_hello() 701 CBB child; in ssl3_send_client_hello() 1582 CBB cbb; in ssl3_send_client_key_exchange() 1620 CBB child; in ssl3_send_client_key_exchange() 1659 CBB child, *enc_pms = &cbb; in ssl3_send_client_key_exchange() 1682 CBB child; in ssl3_send_client_key_exchange() 1728 CBB pms_cbb, child; in ssl3_send_client_key_exchange() 1783 CBB cbb, child; in ssl3_send_cert_verify() [all …]
|
D | ssl_asn1.c | 168 static int add_X509(CBB *cbb, X509 *x509) { in add_X509() 186 CBB cbb, session, child, child2; in SSL_SESSION_to_bytes_full()
|
/external/boringssl/src/crypto/x509/ |
D | pkcs7.c | 271 static int pkcs7_bundle(CBB *out, int (*cb)(CBB *out, const void *arg), in pkcs7_bundle() 273 CBB outer_seq, wrapped_seq, seq, version_bytes, digest_algos_set, in pkcs7_bundle() 295 static int pkcs7_bundle_certificates_cb(CBB *out, const void *arg) { in pkcs7_bundle_certificates_cb() 298 CBB certificates; in pkcs7_bundle_certificates_cb() 321 int PKCS7_bundle_certificates(CBB *out, const STACK_OF(X509) *certs) { in PKCS7_bundle_certificates() 325 static int pkcs7_bundle_crls_cb(CBB *out, const void *arg) { in pkcs7_bundle_crls_cb() 328 CBB crl_data; in pkcs7_bundle_crls_cb() 351 int PKCS7_bundle_CRLs(CBB *out, const STACK_OF(X509_CRL) *crls) { in PKCS7_bundle_CRLs()
|
D | pkcs7_test.c | 472 CBB cbb; in test_cert_reparse() 536 CBB cbb; in test_crl_reparse()
|
/external/boringssl/src/crypto/rsa/ |
D | rsa_asn1.c | 88 static int marshal_integer(CBB *cbb, BIGNUM *bn) { in marshal_integer() 146 int RSA_marshal_public_key(CBB *cbb, const RSA *rsa) { in RSA_marshal_public_key() 147 CBB child; in RSA_marshal_public_key() 160 CBB cbb; in RSA_public_key_to_bytes() 305 int RSA_marshal_private_key(CBB *cbb, const RSA *rsa) { in RSA_marshal_private_key() 309 CBB child; in RSA_marshal_private_key() 326 CBB other_prime_infos; in RSA_marshal_private_key() 335 CBB other_prime_info; in RSA_marshal_private_key() 356 CBB cbb; in RSA_private_key_to_bytes()
|
/external/boringssl/src/crypto/bn/ |
D | bn_asn1.c | 61 int BN_bn2cbb(CBB *cbb, const BIGNUM *bn) { in BN_bn2cbb() 68 CBB child; in BN_bn2cbb()
|
/external/boringssl/src/crypto/ecdsa/ |
D | ecdsa_asn1.c | 140 int ECDSA_SIG_marshal(CBB *cbb, const ECDSA_SIG *sig) { in ECDSA_SIG_marshal() 141 CBB child; in ECDSA_SIG_marshal() 154 CBB cbb; in ECDSA_SIG_to_bytes()
|
/external/boringssl/src/ |
D | STYLE.md | 157 /* CBB_add_asn sets |*out_contents| to a |CBB| into which the contents of an 160 OPENSSL_EXPORT int CBB_add_asn1(CBB *cbb, CBB *out_contents, uint8_t tag);
|
/external/llvm/lib/Transforms/Utils/ |
D | CloneFunction.cpp | 131 BasicBlock *CBB = CloneBasicBlock(&BB, VMap, NameSuffix, NewFunc, CodeInfo); in CloneFunctionInto() local 134 VMap[&BB] = CBB; in CloneFunctionInto() 145 VMap[OldBBAddr] = BlockAddress::get(NewFunc, CBB); in CloneFunctionInto() 149 if (ReturnInst *RI = dyn_cast<ReturnInst>(CBB->getTerminator())) in CloneFunctionInto()
|
/external/boringssl/src/crypto/test/ |
D | scoped_types.h | 120 using ScopedCBB = ScopedOpenSSLContext<CBB, void, CBB_zero, CBB_cleanup>;
|
/external/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 606 BasicBlock *CBB = in cloneCommonBlocks() local 610 CBB->insertInto(&F, BB->getNextNode()); in cloneCommonBlocks() 613 VMap[BB] = CBB; in cloneCommonBlocks() 616 Orig2Clone.emplace_back(BB, CBB); in cloneCommonBlocks()
|
/external/boringssl/src/crypto/obj/ |
D | obj.c | 304 OPENSSL_EXPORT int OBJ_nid2cbb(CBB *out, int nid) { in OBJ_nid2cbb() 306 CBB oid; in OBJ_nid2cbb()
|