Home
last modified time | relevance | path

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

123

/external/boringssl/src/crypto/bytestring/
Dcbs.c27 void CBS_init(CBS *cbs, const uint8_t *data, size_t len) { in CBS_init()
32 static int cbs_get(CBS *cbs, const uint8_t **p, size_t n) { in cbs_get()
43 int CBS_skip(CBS *cbs, size_t len) { in CBS_skip()
48 const uint8_t *CBS_data(const CBS *cbs) { in CBS_data()
52 size_t CBS_len(const CBS *cbs) { in CBS_len()
56 int CBS_stow(const CBS *cbs, uint8_t **out_ptr, size_t *out_len) { in CBS_stow()
72 int CBS_strdup(const CBS *cbs, char **out_ptr) { in CBS_strdup()
80 int CBS_contains_zero_byte(const CBS *cbs) { in CBS_contains_zero_byte()
84 int CBS_mem_equal(const CBS *cbs, const uint8_t *data, size_t len) { in CBS_mem_equal()
91 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()
Dbytestring_test.cc262 CBS cbs, child; in TEST() local
729 CBS cbs; in TEST() local
749 CBS cbs; in TEST() local
832 CBS cbs; in TEST() local
850 CBS cbs; in TEST() local
885 CBS cbs; in TEST() local
964 CBS cbs; in TEST() local
980 CBS cbs; in TEST() local
1212 CBS cbs; in TEST() local
/external/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
Devp_test.cc149 EVP_PKEY *(*parse_func)(CBS *cbs), in ImportKey()
156 CBS cbs; in ImportKey() local
608 CBS cbs; in RunWycheproofTest() local
/external/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/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
Dpkcs7.c43 int pkcs7_parse_header(uint8_t **der_bytes, CBS *out, CBS *cbs) { in pkcs7_parse_header()
86 int PKCS7_get_raw_certificates(STACK_OF(CRYPTO_BUFFER) *out_certs, CBS *cbs, in PKCS7_get_raw_certificates()
/external/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/ssl/
Dssl_asn1.cc399 static int SSL_SESSION_parse_string(CBS *cbs, UniquePtr<char> *out, unsigned tag) { in SSL_SESSION_parse_string()
426 static bool SSL_SESSION_parse_octet_string(CBS *cbs, Array<uint8_t> *out, in SSL_SESSION_parse_octet_string()
436 static int SSL_SESSION_parse_crypto_buffer(CBS *cbs, in SSL_SESSION_parse_crypto_buffer()
462 CBS *cbs, uint8_t *out, uint8_t *out_len, uint8_t max_out, unsigned tag) { in SSL_SESSION_parse_bounded_octet_string()
474 static int SSL_SESSION_parse_long(CBS *cbs, long *out, unsigned tag, in SSL_SESSION_parse_long()
487 static int SSL_SESSION_parse_u32(CBS *cbs, uint32_t *out, unsigned tag, in SSL_SESSION_parse_u32()
500 static int SSL_SESSION_parse_u16(CBS *cbs, uint16_t *out, unsigned tag, in SSL_SESSION_parse_u16()
513 UniquePtr<SSL_SESSION> SSL_SESSION_parse(CBS *cbs, in SSL_SESSION_parse()
816 CBS cbs; in SSL_SESSION_from_bytes() local
Dd1_both.cc350 CBS cbs; in dtls1_open_handshake() local
459 bool dtls1_parse_fragment(CBS *cbs, struct hm_header_st *out_hdr, in dtls1_parse_fragment()
671 CBS cbs, body; in seal_next_message() local
/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()
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/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/ssl/test/
Dfuzzer.h295 CBS cbs; in TestOneInput() local
436 CBS cbs; in Init() local
450 bssl::UniquePtr<SSL> SetupTest(CBS *cbs) { in SetupTest()
527 CBS cbs; member
Dtest_state.cc106 bool DeserializeContextState(CBS *cbs, SSL_CTX *ctx) { in DeserializeContextState()
147 std::unique_ptr<TestState> TestState::Deserialize(CBS *cbs, SSL_CTX *ctx) { in Deserialize()
/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/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
/external/boringssl/src/crypto/bn_extra/
Dbn_asn1.c21 int BN_parse_asn1_unsigned(CBS *cbs, BIGNUM *ret) { in BN_parse_asn1_unsigned()
/external/libevent/
Devthread.c93 evthread_set_lock_callbacks(const struct evthread_lock_callbacks *cbs) in evthread_set_lock_callbacks()
136 evthread_set_condition_callbacks(const struct evthread_condition_callbacks *cbs) in evthread_set_condition_callbacks()
320 struct evthread_lock_callbacks cbs = { in evthread_enable_lock_debugging() local
/external/boringssl/src/crypto/asn1/
Da_mbstr.c133 CBS cbs; in OPENSSL_DECLARE_ERROR_REASON() local
/external/strace/tests-mx32/
Daio_pgetevents.c108 const long *cbs = tail_memdup(proto_cbs, sizeof(proto_cbs)); in main() local
/external/strace/tests-m32/
Daio_pgetevents.c108 const long *cbs = tail_memdup(proto_cbs, sizeof(proto_cbs)); in main() local
/external/strace/tests/
Daio_pgetevents.c108 const long *cbs = tail_memdup(proto_cbs, sizeof(proto_cbs)); in main() local
Daio.c188 const long *cbs = tail_memdup(proto_cbs, sizeof(proto_cbs)); in main() local

123