Home
last modified time | relevance | path

Searched refs:CBB (Results 1 – 25 of 211) sorted by relevance

123456789

/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dbytestring.h357 CBB *child;
374 OPENSSL_EXPORT void CBB_zero(CBB *cbb);
379 OPENSSL_EXPORT int CBB_init(CBB *cbb, size_t initial_capacity);
384 OPENSSL_EXPORT int CBB_init_fixed(CBB *cbb, uint8_t *buf, size_t len);
393 OPENSSL_EXPORT void CBB_cleanup(CBB *cbb);
403 OPENSSL_EXPORT int CBB_finish(CBB *cbb, uint8_t **out_data, size_t *out_len);
410 OPENSSL_EXPORT int CBB_flush(CBB *cbb);
417 OPENSSL_EXPORT const uint8_t *CBB_data(const CBB *cbb);
424 OPENSSL_EXPORT size_t CBB_len(const CBB *cbb);
429 OPENSSL_EXPORT int CBB_add_u8_length_prefixed(CBB *cbb, CBB *out_contents);
[all …]
/external/boringssl/src/include/openssl/
Dbytestring.h372 CBB *child;
389 OPENSSL_EXPORT void CBB_zero(CBB *cbb);
394 OPENSSL_EXPORT int CBB_init(CBB *cbb, size_t initial_capacity);
399 OPENSSL_EXPORT int CBB_init_fixed(CBB *cbb, uint8_t *buf, size_t len);
408 OPENSSL_EXPORT void CBB_cleanup(CBB *cbb);
418 OPENSSL_EXPORT int CBB_finish(CBB *cbb, uint8_t **out_data, size_t *out_len);
425 OPENSSL_EXPORT int CBB_flush(CBB *cbb);
432 OPENSSL_EXPORT const uint8_t *CBB_data(const CBB *cbb);
439 OPENSSL_EXPORT size_t CBB_len(const CBB *cbb);
444 OPENSSL_EXPORT int CBB_add_u8_length_prefixed(CBB *cbb, CBB *out_contents);
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/bytestring/
Dcbb.c26 void CBB_zero(CBB *cbb) { in CBB_zero()
27 OPENSSL_memset(cbb, 0, sizeof(CBB)); in CBB_zero()
30 static int cbb_init(CBB *cbb, uint8_t *buf, size_t cap) { in cbb_init()
50 int CBB_init(CBB *cbb, size_t initial_capacity) { in CBB_init()
66 int CBB_init_fixed(CBB *cbb, uint8_t *buf, size_t len) { in CBB_init_fixed()
77 void CBB_cleanup(CBB *cbb) { in CBB_cleanup()
173 int CBB_finish(CBB *cbb, uint8_t **out_data, size_t *out_len) { in CBB_finish()
201 int CBB_flush(CBB *cbb) { in CBB_flush()
287 const uint8_t *CBB_data(const CBB *cbb) { in CBB_data()
292 size_t CBB_len(const CBB *cbb) { in CBB_len()
[all …]
Dinternal.h67 int CBB_finish_i2d(CBB *cbb, uint8_t **outp);
86 OPENSSL_EXPORT int cbb_add_utf8(CBB *cbb, uint32_t u);
87 OPENSSL_EXPORT int cbb_add_latin1(CBB *cbb, uint32_t u);
88 OPENSSL_EXPORT int cbb_add_ucs2_be(CBB *cbb, uint32_t u);
89 OPENSSL_EXPORT int cbb_add_utf32_be(CBB *cbb, uint32_t u);
Dunicode.c120 int cbb_add_utf8(CBB *cbb, uint32_t u) { in cbb_add_utf8()
145 int cbb_add_latin1(CBB *cbb, uint32_t u) { in cbb_add_latin1()
149 int cbb_add_ucs2_be(CBB *cbb, uint32_t u) { in cbb_add_ucs2_be()
153 int cbb_add_utf32_be(CBB *cbb, uint32_t u) { in cbb_add_utf32_be()
/external/boringssl/src/crypto/bytestring/
Dcbb.c26 void CBB_zero(CBB *cbb) { in CBB_zero()
27 OPENSSL_memset(cbb, 0, sizeof(CBB)); in CBB_zero()
30 static int cbb_init(CBB *cbb, uint8_t *buf, size_t cap) { in cbb_init()
50 int CBB_init(CBB *cbb, size_t initial_capacity) { in CBB_init()
66 int CBB_init_fixed(CBB *cbb, uint8_t *buf, size_t len) { in CBB_init_fixed()
77 void CBB_cleanup(CBB *cbb) { in CBB_cleanup()
173 int CBB_finish(CBB *cbb, uint8_t **out_data, size_t *out_len) { in CBB_finish()
201 int CBB_flush(CBB *cbb) { in CBB_flush()
287 const uint8_t *CBB_data(const CBB *cbb) { in CBB_data()
292 size_t CBB_len(const CBB *cbb) { in CBB_len()
[all …]
Dinternal.h67 int CBB_finish_i2d(CBB *cbb, uint8_t **outp);
86 OPENSSL_EXPORT int cbb_add_utf8(CBB *cbb, uint32_t u);
87 OPENSSL_EXPORT int cbb_add_latin1(CBB *cbb, uint32_t u);
88 OPENSSL_EXPORT int cbb_add_ucs2_be(CBB *cbb, uint32_t u);
89 OPENSSL_EXPORT int cbb_add_utf32_be(CBB *cbb, uint32_t u);
Dunicode.c120 int cbb_add_utf8(CBB *cbb, uint32_t u) { in cbb_add_utf8()
145 int cbb_add_latin1(CBB *cbb, uint32_t u) { in cbb_add_latin1()
149 int cbb_add_ucs2_be(CBB *cbb, uint32_t u) { in cbb_add_ucs2_be()
153 int cbb_add_utf32_be(CBB *cbb, uint32_t u) { in cbb_add_utf32_be()
/external/boringssl/src/crypto/trust_token/
Dinternal.h95 int pmbtoken_exp1_generate_key(CBB *out_private, CBB *out_public);
100 STACK_OF(TRUST_TOKEN_PRETOKEN) * pmbtoken_exp1_blind(CBB *cbb, size_t count);
101 int pmbtoken_exp1_sign(const TRUST_TOKEN_ISSUER_KEY *key, CBB *cbb, CBS *cbs,
120 int pmbtoken_exp2_generate_key(CBB *out_private, CBB *out_public);
125 STACK_OF(TRUST_TOKEN_PRETOKEN) * pmbtoken_exp2_blind(CBB *cbb, size_t count);
126 int pmbtoken_exp2_sign(const TRUST_TOKEN_ISSUER_KEY *key, CBB *cbb, CBS *cbs,
155 int voprf_exp2_generate_key(CBB *out_private, CBB *out_public);
160 STACK_OF(TRUST_TOKEN_PRETOKEN) * voprf_exp2_blind(CBB *cbb, size_t count);
161 int voprf_exp2_sign(const TRUST_TOKEN_ISSUER_KEY *key, CBB *cbb, CBS *cbs,
180 int (*generate_key)(CBB *out_private, CBB *out_public);
[all …]
Dvoprf.c63 static int cbb_add_point(CBB *out, const EC_GROUP *group, in cbb_add_point()
89 static int scalar_to_cbb(CBB *out, const EC_GROUP *group, in scalar_to_cbb()
113 static int voprf_generate_key(const VOPRF_METHOD *method, CBB *out_private, in voprf_generate_key()
114 CBB *out_public) { in voprf_generate_key()
167 voprf_blind(const VOPRF_METHOD *method, CBB *cbb, size_t count) { in STACK_OF()
230 CBB cbb; in hash_to_scalar_dleq()
256 const CBB *points, size_t index) { in hash_to_scalar_batch()
265 CBB cbb; in hash_to_scalar_batch()
287 static int dleq_generate(const VOPRF_METHOD *method, CBB *cbb, in dleq_generate()
414 const TRUST_TOKEN_ISSUER_KEY *key, CBB *cbb, CBS *cbs, in voprf_sign()
[all …]
Dpmbtoken.c105 static int point_to_cbb(CBB *out, const EC_GROUP *group, in point_to_cbb()
118 static int cbb_add_prefixed_point(CBB *out, const EC_GROUP *group, in cbb_add_prefixed_point()
121 CBB child; in cbb_add_prefixed_point()
169 CBB *out_private, CBB *out_public) { in pmbtoken_generate_key()
269 pmbtoken_blind(const PMBTOKEN_METHOD *method, CBB *cbb, size_t count) { in STACK_OF()
322 static int scalar_to_cbb(CBB *out, const EC_GROUP *group, in scalar_to_cbb()
353 CBB cbb; in hash_c_dleq()
388 CBB cbb; in hash_c_dleqor()
418 const CBB *points, size_t index) { in hash_c_batch()
427 CBB cbb; in hash_c_batch()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/trust_token/
Dinternal.h83 int pmbtoken_exp0_generate_key(CBB *out_private, CBB *out_public);
88 STACK_OF(PMBTOKEN_PRETOKEN) * pmbtoken_exp0_blind(CBB *cbb, size_t count);
89 int pmbtoken_exp0_sign(const PMBTOKEN_ISSUER_KEY *key, CBB *cbb, CBS *cbs,
112 int pmbtoken_exp1_generate_key(CBB *out_private, CBB *out_public);
117 STACK_OF(PMBTOKEN_PRETOKEN) * pmbtoken_exp1_blind(CBB *cbb, size_t count);
118 int pmbtoken_exp1_sign(const PMBTOKEN_ISSUER_KEY *key, CBB *cbb, CBS *cbs,
141 int (*generate_key)(CBB *out_private, CBB *out_public);
162 STACK_OF(PMBTOKEN_PRETOKEN) *(*blind)(CBB *cbb, size_t count);
170 int (*sign)(const PMBTOKEN_ISSUER_KEY *key, CBB *cbb, CBS *cbs,
Dpmbtoken.c107 static int point_to_cbb(CBB *out, const EC_GROUP *group, in point_to_cbb()
146 CBB *out_private, CBB *out_public) { in pmbtoken_generate_key()
175 CBB child; in pmbtoken_generate_key()
249 pmbtoken_blind(const PMBTOKEN_METHOD *method, CBB *cbb, size_t count) { in STACK_OF()
291 CBB child; in STACK_OF()
306 static int scalar_to_cbb(CBB *out, const EC_GROUP *group, in scalar_to_cbb()
337 CBB cbb; in hash_c_dleq()
372 CBB cbb; in hash_c_dleqor()
402 const CBB *points, size_t index) { in hash_c_batch()
411 CBB cbb; in hash_c_batch()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/dsa/
Ddsa_asn1.c76 static int marshal_integer(CBB *cbb, BIGNUM *bn) { in marshal_integer()
102 int DSA_SIG_marshal(CBB *cbb, const DSA_SIG *sig) { in DSA_SIG_marshal()
103 CBB child; in DSA_SIG_marshal()
133 int DSA_marshal_public_key(CBB *cbb, const DSA *dsa) { in DSA_marshal_public_key()
134 CBB child; in DSA_marshal_public_key()
165 int DSA_marshal_parameters(CBB *cbb, const DSA *dsa) { in DSA_marshal_parameters()
166 CBB child; in DSA_marshal_parameters()
213 int DSA_marshal_private_key(CBB *cbb, const DSA *dsa) { in DSA_marshal_private_key()
214 CBB child; in DSA_marshal_private_key()
248 CBB cbb; in i2d_DSA_SIG()
[all …]
/external/boringssl/src/crypto/dsa/
Ddsa_asn1.c112 static int marshal_integer(CBB *cbb, BIGNUM *bn) { in marshal_integer()
138 int DSA_SIG_marshal(CBB *cbb, const DSA_SIG *sig) { in DSA_SIG_marshal()
139 CBB child; in DSA_SIG_marshal()
175 int DSA_marshal_public_key(CBB *cbb, const DSA *dsa) { in DSA_marshal_public_key()
176 CBB child; in DSA_marshal_public_key()
213 int DSA_marshal_parameters(CBB *cbb, const DSA *dsa) { in DSA_marshal_parameters()
214 CBB child; in DSA_marshal_parameters()
264 int DSA_marshal_private_key(CBB *cbb, const DSA *dsa) { in DSA_marshal_private_key()
265 CBB child; in DSA_marshal_private_key()
299 CBB cbb; in i2d_DSA_SIG()
[all …]
/external/boringssl/src/ssl/
Dt1_lib.cc469 bool tls12_add_verify_sigalgs(const SSL_HANDSHAKE *hs, CBB *out) { in tls12_add_verify_sigalgs()
510 bool (*add_clienthello)(SSL_HANDSHAKE *hs, CBB *out);
516 bool (*add_serverhello)(SSL_HANDSHAKE *hs, CBB *out);
537 static bool dont_add_serverhello(SSL_HANDSHAKE *hs, CBB *out) { in dont_add_serverhello()
545 static bool ext_sni_add_clienthello(SSL_HANDSHAKE *hs, CBB *out) { in ext_sni_add_clienthello()
551 CBB contents, server_name_list, name; in ext_sni_add_clienthello()
579 static bool ext_sni_add_serverhello(SSL_HANDSHAKE *hs, CBB *out) { in ext_sni_add_serverhello()
606 static bool ext_ech_add_clienthello_grease(SSL_HANDSHAKE *hs, CBB *out) { in ext_ech_add_clienthello_grease()
610 CBB ech_body; in ext_ech_add_clienthello_grease()
681 CBB ech_body, config_id_cbb, enc_cbb, payload_cbb; in ext_ech_add_clienthello_grease()
[all …]
Dssl_key_share.cc45 bool Offer(CBB *out) override { in Offer()
127 bool Serialize(CBB *out) override { in Serialize()
129 CBB cbb; in Serialize()
165 bool Offer(CBB *out) override { in Offer()
192 bool Serialize(CBB *out) override { in Serialize()
217 bool Offer(CBB *out) override { in Offer()
238 bool Accept(CBB *out_public_key, Array<uint8_t> *out_secret, in Accept()
353 bool SSLKeyShare::Accept(CBB *out_public_key, Array<uint8_t> *out_secret, in Accept()
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dt1_lib.cc464 bool tls12_add_verify_sigalgs(const SSL_HANDSHAKE *hs, CBB *out) { in tls12_add_verify_sigalgs()
505 bool (*add_clienthello)(SSL_HANDSHAKE *hs, CBB *out);
511 bool (*add_serverhello)(SSL_HANDSHAKE *hs, CBB *out);
532 static bool dont_add_serverhello(SSL_HANDSHAKE *hs, CBB *out) { in dont_add_serverhello()
540 static bool ext_sni_add_clienthello(SSL_HANDSHAKE *hs, CBB *out) { in ext_sni_add_clienthello()
546 CBB contents, server_name_list, name; in ext_sni_add_clienthello()
574 static bool ext_sni_add_serverhello(SSL_HANDSHAKE *hs, CBB *out) { in ext_sni_add_serverhello()
593 static bool ext_ri_add_clienthello(SSL_HANDSHAKE *hs, CBB *out) { in ext_ri_add_clienthello()
603 CBB contents, prev_finished; in ext_ri_add_clienthello()
734 static bool ext_ri_add_serverhello(SSL_HANDSHAKE *hs, CBB *out) { in ext_ri_add_serverhello()
[all …]
Dssl_key_share.cc45 bool Offer(CBB *out) override { in Offer()
127 bool Serialize(CBB *out) override { in Serialize()
129 CBB cbb; in Serialize()
165 bool Offer(CBB *out) override { in Offer()
192 bool Serialize(CBB *out) override { in Serialize()
217 bool Offer(CBB *out) override { in Offer()
238 bool Accept(CBB *out_public_key, Array<uint8_t> *out_secret, in Accept()
353 bool SSLKeyShare::Accept(CBB *out_public_key, Array<uint8_t> *out_secret, in Accept()
/external/boringssl/src/crypto/rsa_extra/
Drsa_asn1.c81 static int marshal_integer(CBB *cbb, BIGNUM *bn) { in marshal_integer()
127 int RSA_marshal_public_key(CBB *cbb, const RSA *rsa) { in RSA_marshal_public_key()
128 CBB child; in RSA_marshal_public_key()
141 CBB cbb; in RSA_public_key_to_bytes()
216 int RSA_marshal_private_key(CBB *cbb, const RSA *rsa) { in RSA_marshal_private_key()
217 CBB child; in RSA_marshal_private_key()
237 CBB cbb; in RSA_private_key_to_bytes()
268 CBB cbb; in i2d_RSAPublicKey()
296 CBB cbb; in i2d_RSAPrivateKey()
/external/rust/crates/quiche/deps/boringssl/src/crypto/rsa_extra/
Drsa_asn1.c81 static int marshal_integer(CBB *cbb, BIGNUM *bn) { in marshal_integer()
127 int RSA_marshal_public_key(CBB *cbb, const RSA *rsa) { in RSA_marshal_public_key()
128 CBB child; in RSA_marshal_public_key()
141 CBB cbb; in RSA_public_key_to_bytes()
216 int RSA_marshal_private_key(CBB *cbb, const RSA *rsa) { in RSA_marshal_private_key()
217 CBB child; in RSA_marshal_private_key()
237 CBB cbb; in RSA_private_key_to_bytes()
268 CBB cbb; in i2d_RSAPublicKey()
296 CBB cbb; in i2d_RSAPrivateKey()
/external/rust/crates/quiche/deps/boringssl/src/crypto/dh/
Ddh_asn1.c77 static int marshal_integer(CBB *cbb, BIGNUM *bn) { in marshal_integer()
120 int DH_marshal_parameters(CBB *cbb, const DH *dh) { in DH_marshal_parameters()
121 CBB child; in DH_marshal_parameters()
153 CBB cbb; in i2d_DHparams()
/external/boringssl/src/crypto/dh_extra/
Ddh_asn1.c77 static int marshal_integer(CBB *cbb, BIGNUM *bn) { in marshal_integer()
120 int DH_marshal_parameters(CBB *cbb, const DH *dh) { in DH_marshal_parameters()
121 CBB child; in DH_marshal_parameters()
153 CBB cbb; in i2d_DHparams()
/external/boringssl/src/crypto/ecdsa_extra/
Decdsa_asn1.c83 CBB cbb; in ECDSA_sign()
181 int ECDSA_SIG_marshal(CBB *cbb, const ECDSA_SIG *sig) { in ECDSA_SIG_marshal()
182 CBB child; in ECDSA_SIG_marshal()
195 CBB cbb; in ECDSA_SIG_to_bytes()
260 CBB cbb; in i2d_ECDSA_SIG()
/external/rust/crates/quiche/deps/boringssl/src/crypto/ecdsa_extra/
Decdsa_asn1.c83 CBB cbb; in ECDSA_sign()
181 int ECDSA_SIG_marshal(CBB *cbb, const ECDSA_SIG *sig) { in ECDSA_SIG_marshal()
182 CBB child; in ECDSA_SIG_marshal()
195 CBB cbb; in ECDSA_SIG_to_bytes()
260 CBB cbb; in i2d_ECDSA_SIG()

123456789