Home
last modified time | relevance | path

Searched defs:cbs (Results 1 – 25 of 134) sorted by relevance

123456

/external/rust/crates/quiche/deps/boringssl/src/crypto/bytestring/
Dcbs.c26 void CBS_init(CBS *cbs, const uint8_t *data, size_t len) { in CBS_init()
31 static int cbs_get(CBS *cbs, const uint8_t **p, size_t n) { in cbs_get()
42 int CBS_skip(CBS *cbs, size_t len) { in CBS_skip()
47 const uint8_t *CBS_data(const CBS *cbs) { in CBS_data()
51 size_t CBS_len(const CBS *cbs) { in CBS_len()
55 int CBS_stow(const CBS *cbs, uint8_t **out_ptr, size_t *out_len) { in CBS_stow()
71 int CBS_strdup(const CBS *cbs, char **out_ptr) { in CBS_strdup()
79 int CBS_contains_zero_byte(const CBS *cbs) { in CBS_contains_zero_byte()
83 int CBS_mem_equal(const CBS *cbs, const uint8_t *data, size_t len) { in CBS_mem_equal()
90 static int cbs_get_u(CBS *cbs, uint64_t *out, size_t len) { in cbs_get_u()
[all …]
Dunicode.c41 int cbs_get_utf8(CBS *cbs, uint32_t *out) { in cbs_get_utf8()
83 int cbs_get_latin1(CBS *cbs, uint32_t *out) { in cbs_get_latin1()
92 int cbs_get_ucs2_be(CBS *cbs, uint32_t *out) { in cbs_get_ucs2_be()
103 int cbs_get_utf32_be(CBS *cbs, uint32_t *out) { in cbs_get_utf32_be()
/external/boringssl/src/crypto/bytestring/
Dcbs.c26 void CBS_init(CBS *cbs, const uint8_t *data, size_t len) { in CBS_init()
31 static int cbs_get(CBS *cbs, const uint8_t **p, size_t n) { in cbs_get()
42 int CBS_skip(CBS *cbs, size_t len) { in CBS_skip()
47 const uint8_t *CBS_data(const CBS *cbs) { in CBS_data()
51 size_t CBS_len(const CBS *cbs) { in CBS_len()
55 int CBS_stow(const CBS *cbs, uint8_t **out_ptr, size_t *out_len) { in CBS_stow()
71 int CBS_strdup(const CBS *cbs, char **out_ptr) { in CBS_strdup()
79 int CBS_contains_zero_byte(const CBS *cbs) { in CBS_contains_zero_byte()
83 int CBS_mem_equal(const CBS *cbs, const uint8_t *data, size_t len) { in CBS_mem_equal()
90 static int cbs_get_u(CBS *cbs, uint64_t *out, size_t len) { in cbs_get_u()
[all …]
Dunicode.c41 int cbs_get_utf8(CBS *cbs, uint32_t *out) { in cbs_get_utf8()
83 int cbs_get_latin1(CBS *cbs, uint32_t *out) { in cbs_get_latin1()
92 int cbs_get_ucs2_be(CBS *cbs, uint32_t *out) { in cbs_get_ucs2_be()
103 int cbs_get_utf32_be(CBS *cbs, uint32_t *out) { in cbs_get_utf32_be()
/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/
Devp_asn1.c79 static int parse_key_type(CBS *cbs, int *out_type) { in parse_key_type()
97 EVP_PKEY *EVP_parse_public_key(CBS *cbs) { in EVP_parse_public_key()
153 EVP_PKEY *EVP_parse_private_key(CBS *cbs) { in EVP_parse_private_key()
205 static EVP_PKEY *old_priv_decode(CBS *cbs, int type) { in old_priv_decode()
254 CBS cbs; in d2i_PrivateKey() local
283 CBS cbs, sequence; in num_elements() local
309 CBS cbs; in d2i_AutoPrivateKey() local
356 CBS cbs; in d2i_PublicKey() local
/external/rust/crates/quiche/deps/boringssl/src/crypto/dsa/
Ddsa_asn1.c67 static int parse_integer(CBS *cbs, BIGNUM **out) { in parse_integer()
85 DSA_SIG *DSA_SIG_parse(CBS *cbs) { in DSA_SIG_parse()
114 DSA *DSA_parse_public_key(CBS *cbs) { in DSA_parse_public_key()
147 DSA *DSA_parse_parameters(CBS *cbs) { in DSA_parse_parameters()
178 DSA *DSA_parse_private_key(CBS *cbs) { in DSA_parse_private_key()
233 CBS cbs; in d2i_DSA_SIG() local
261 CBS cbs; in d2i_DSAPublicKey() local
289 CBS cbs; in d2i_DSAPrivateKey() local
317 CBS cbs; in d2i_DSAparams() local
/external/boringssl/src/crypto/evp/
Devp_asn1.c80 static int parse_key_type(CBS *cbs, int *out_type) { in parse_key_type()
98 EVP_PKEY *EVP_parse_public_key(CBS *cbs) { in EVP_parse_public_key()
154 EVP_PKEY *EVP_parse_private_key(CBS *cbs) { in EVP_parse_private_key()
206 static EVP_PKEY *old_priv_decode(CBS *cbs, int type) { in old_priv_decode()
255 CBS cbs; in d2i_PrivateKey() local
284 CBS cbs, sequence; in num_elements() local
310 CBS cbs; in d2i_AutoPrivateKey() local
357 CBS cbs; in d2i_PublicKey() local
395 CBS cbs; in d2i_PUBKEY() local
427 CBS cbs; in d2i_RSA_PUBKEY() local
[all …]
/external/boringssl/src/crypto/dsa/
Ddsa_asn1.c103 static int parse_integer(CBS *cbs, BIGNUM **out) { in parse_integer()
121 DSA_SIG *DSA_SIG_parse(CBS *cbs) { in DSA_SIG_parse()
150 DSA *DSA_parse_public_key(CBS *cbs) { in DSA_parse_public_key()
189 DSA *DSA_parse_parameters(CBS *cbs) { in DSA_parse_parameters()
226 DSA *DSA_parse_private_key(CBS *cbs) { in DSA_parse_private_key()
284 CBS cbs; in d2i_DSA_SIG() local
312 CBS cbs; in d2i_DSAPublicKey() local
340 CBS cbs; in d2i_DSAPrivateKey() local
368 CBS cbs; in d2i_DSAparams() local
/external/boringssl/src/crypto/rsa_extra/
Drsa_asn1.c72 static int parse_integer(CBS *cbs, BIGNUM **out) { in parse_integer()
90 RSA *RSA_parse_public_key(CBS *cbs) { in RSA_parse_public_key()
116 CBS cbs; in RSA_public_key_from_bytes() local
157 RSA *RSA_parse_private_key(CBS *cbs) { in RSA_parse_private_key()
205 CBS cbs; in RSA_private_key_from_bytes() local
253 CBS cbs; in d2i_RSAPublicKey() local
281 CBS cbs; in d2i_RSAPrivateKey() local
/external/rust/crates/quiche/deps/boringssl/src/crypto/rsa_extra/
Drsa_asn1.c72 static int parse_integer(CBS *cbs, BIGNUM **out) { in parse_integer()
90 RSA *RSA_parse_public_key(CBS *cbs) { in RSA_parse_public_key()
116 CBS cbs; in RSA_public_key_from_bytes() local
157 RSA *RSA_parse_private_key(CBS *cbs) { in RSA_parse_private_key()
205 CBS cbs; in RSA_private_key_from_bytes() local
253 CBS cbs; in d2i_RSAPublicKey() local
281 CBS cbs; in d2i_RSAPrivateKey() local
/external/boringssl/src/crypto/pkcs7/
Dpkcs7_x509.c32 int PKCS7_get_certificates(STACK_OF(X509) *out_certs, CBS *cbs) { in PKCS7_get_certificates()
65 int PKCS7_get_CRLs(STACK_OF(X509_CRL) *out_crls, CBS *cbs) { in PKCS7_get_CRLs()
143 CBS cbs; in PKCS7_get_PEM_certificates() local
165 CBS cbs; in PKCS7_get_PEM_CRLs() local
232 static PKCS7 *pkcs7_new(CBS *cbs) { in pkcs7_new()
277 CBS cbs; in d2i_PKCS7() local
300 CBS cbs; in d2i_PKCS7_bio() local
380 CBS cbs; in PKCS7_sign() local
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs7/
Dpkcs7_x509.c32 int PKCS7_get_certificates(STACK_OF(X509) *out_certs, CBS *cbs) { in PKCS7_get_certificates()
65 int PKCS7_get_CRLs(STACK_OF(X509_CRL) *out_crls, CBS *cbs) { in PKCS7_get_CRLs()
143 CBS cbs; in PKCS7_get_PEM_certificates() local
165 CBS cbs; in PKCS7_get_PEM_CRLs() local
232 static PKCS7 *pkcs7_new(CBS *cbs) { in pkcs7_new()
277 CBS cbs; in d2i_PKCS7() local
300 CBS cbs; in d2i_PKCS7_bio() local
380 CBS cbs; in PKCS7_sign() local
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dssl_asn1.cc421 static int SSL_SESSION_parse_string(CBS *cbs, UniquePtr<char> *out, unsigned tag) { in SSL_SESSION_parse_string()
448 static bool SSL_SESSION_parse_octet_string(CBS *cbs, Array<uint8_t> *out, in SSL_SESSION_parse_octet_string()
458 static int SSL_SESSION_parse_crypto_buffer(CBS *cbs, in SSL_SESSION_parse_crypto_buffer()
484 CBS *cbs, uint8_t *out, uint8_t *out_len, uint8_t max_out, unsigned tag) { in SSL_SESSION_parse_bounded_octet_string()
496 static int SSL_SESSION_parse_long(CBS *cbs, long *out, unsigned tag, in SSL_SESSION_parse_long()
509 static int SSL_SESSION_parse_u32(CBS *cbs, uint32_t *out, unsigned tag, in SSL_SESSION_parse_u32()
522 static int SSL_SESSION_parse_u16(CBS *cbs, uint16_t *out, unsigned tag, in SSL_SESSION_parse_u16()
535 UniquePtr<SSL_SESSION> SSL_SESSION_parse(CBS *cbs, in SSL_SESSION_parse()
844 CBS cbs; in SSL_SESSION_from_bytes() local
/external/rust/crates/quiche/deps/boringssl/src/crypto/dh/
Ddh_asn1.c68 static int parse_integer(CBS *cbs, BIGNUM **out) { in parse_integer()
86 DH *DH_parse_parameters(CBS *cbs) { in DH_parse_parameters()
138 CBS cbs; in d2i_DHparams() local
/external/boringssl/src/crypto/dh_extra/
Ddh_asn1.c68 static int parse_integer(CBS *cbs, BIGNUM **out) { in parse_integer()
86 DH *DH_parse_parameters(CBS *cbs) { in DH_parse_parameters()
138 CBS cbs; in d2i_DHparams() local
/external/boringssl/src/ssl/
Dssl_asn1.cc441 static int SSL_SESSION_parse_string(CBS *cbs, UniquePtr<char> *out, unsigned tag) { in SSL_SESSION_parse_string()
468 static bool SSL_SESSION_parse_octet_string(CBS *cbs, Array<uint8_t> *out, in SSL_SESSION_parse_octet_string()
478 static int SSL_SESSION_parse_crypto_buffer(CBS *cbs, in SSL_SESSION_parse_crypto_buffer()
504 CBS *cbs, uint8_t *out, uint8_t *out_len, uint8_t max_out, unsigned tag) { in SSL_SESSION_parse_bounded_octet_string()
516 static int SSL_SESSION_parse_long(CBS *cbs, long *out, unsigned tag, in SSL_SESSION_parse_long()
529 static int SSL_SESSION_parse_u32(CBS *cbs, uint32_t *out, unsigned tag, in SSL_SESSION_parse_u32()
542 static int SSL_SESSION_parse_u16(CBS *cbs, uint16_t *out, unsigned tag, in SSL_SESSION_parse_u16()
555 UniquePtr<SSL_SESSION> SSL_SESSION_parse(CBS *cbs, in SSL_SESSION_parse()
884 CBS cbs; in SSL_SESSION_from_bytes() local
/external/rust/crates/quiche/deps/boringssl/src/crypto/ec_extra/
Dec_asn1.c75 EC_KEY *EC_KEY_parse_private_key(CBS *cbs, const EC_GROUP *group) { in EC_KEY_parse_private_key()
246 static int is_unsigned_integer(const CBS *cbs) { in is_unsigned_integer()
339 EC_GROUP *EC_KEY_parse_curve_name(CBS *cbs) { in EC_KEY_parse_curve_name()
383 EC_GROUP *EC_KEY_parse_parameters(CBS *cbs) { in EC_KEY_parse_parameters()
445 CBS cbs; in d2i_ECPrivateKey() local
474 CBS cbs; in d2i_ECParameters() local
/external/rust/crates/quiche/deps/boringssl/src/crypto/digest_extra/
Ddigest_extra.c140 static const EVP_MD *cbs_to_md(const CBS *cbs) { in cbs_to_md()
158 CBS cbs; in EVP_get_digestbyobj() local
163 const EVP_MD *EVP_parse_digest_algorithm(CBS *cbs) { in EVP_parse_digest_algorithm()
/external/boringssl/src/crypto/ec_extra/
Dec_asn1.c75 EC_KEY *EC_KEY_parse_private_key(CBS *cbs, const EC_GROUP *group) { in EC_KEY_parse_private_key()
324 EC_GROUP *EC_KEY_parse_curve_name(CBS *cbs) { in EC_KEY_parse_curve_name()
368 EC_GROUP *EC_KEY_parse_parameters(CBS *cbs) { in EC_KEY_parse_parameters()
430 CBS cbs; in d2i_ECPrivateKey() local
459 CBS cbs; in d2i_ECParameters() local
/external/boringssl/src/crypto/digest_extra/
Ddigest_extra.c142 static const EVP_MD *cbs_to_md(const CBS *cbs) { in cbs_to_md()
160 CBS cbs; in EVP_get_digestbyobj() local
165 const EVP_MD *EVP_parse_digest_algorithm(CBS *cbs) { in EVP_parse_digest_algorithm()
/external/boringssl/src/ssl/test/
Dfuzzer.h295 CBS cbs; in TestOneInput() local
432 CBS cbs; in Init() local
446 bssl::UniquePtr<SSL> SetupTest(CBS *cbs) { in SetupTest()
523 CBS cbs; member
/external/rust/crates/quiche/deps/boringssl/src/ssl/test/
Dfuzzer.h295 CBS cbs; in TestOneInput() local
432 CBS cbs; in Init() local
446 bssl::UniquePtr<SSL> SetupTest(CBS *cbs) { in SetupTest()
523 CBS cbs; member
/external/boringssl/src/crypto/ecdsa_extra/
Decdsa_asn1.c152 ECDSA_SIG *ECDSA_SIG_parse(CBS *cbs) { in ECDSA_SIG_parse()
170 CBS cbs; in ECDSA_SIG_from_bytes() local
245 CBS cbs; in d2i_ECDSA_SIG() local
/external/rust/crates/quiche/deps/boringssl/src/crypto/ecdsa_extra/
Decdsa_asn1.c152 ECDSA_SIG *ECDSA_SIG_parse(CBS *cbs) { in ECDSA_SIG_parse()
170 CBS cbs; in ECDSA_SIG_from_bytes() local
245 CBS cbs; in d2i_ECDSA_SIG() local
/external/mesa3d/src/gallium/drivers/lima/
Dlima_context.c51 struct lima_ctx_buff_state *cbs = ctx->buffer_state + buff; in lima_ctx_buff_va() local
63 struct lima_ctx_buff_state *cbs = ctx->buffer_state + buff; in lima_ctx_buff_map() local
73 struct lima_ctx_buff_state *cbs = ctx->buffer_state + buff; in lima_ctx_buff_alloc() local

123456