HomeSort by relevance Sort by last modified time
    Searched defs:cbb (Results 1 - 25 of 36) sorted by null

1 2

  /external/boringssl/src/crypto/dh/
dh_asn1.c 77 static int marshal_integer(CBB *cbb, BIGNUM *bn) {
83 return BN_marshal_asn1(cbb, bn);
120 int DH_marshal_parameters(CBB *cbb, const DH *dh) {
121 CBB child;
122 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) ||
127 !CBB_flush(cbb)) {
153 CBB cbb; local
    [all...]
dh_test.cc 569 bssl::ScopedCBB cbb; local
572 if (!CBB_init(cbb.get(), 0) ||
573 !DH_marshal_parameters(cbb.get(), dh.get()) ||
574 !CBB_finish(cbb.get(), &der, &der_len)) {
615 if (!CBB_init(cbb.get(), 0) ||
616 !DH_marshal_parameters(cbb.get(), dh.get()) ||
617 !CBB_finish(cbb.get(), &der, &der_len)) {
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/
Cube.java 78 ByteBuffer cbb = ByteBuffer.allocateDirect(colors.length*4); local
79 cbb.order(ByteOrder.nativeOrder());
80 mColorBuffer = cbb.asIntBuffer();
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
Cube.java 78 ByteBuffer cbb = ByteBuffer.allocateDirect(colors.length*4); local
79 cbb.order(ByteOrder.nativeOrder());
80 mColorBuffer = cbb.asIntBuffer();
  /external/boringssl/src/crypto/pkcs7/
pkcs7_test.cc 484 bssl::ScopedCBB cbb; local
521 bssl::ScopedCBB cbb; local
    [all...]
  /frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
Cube.java 78 ByteBuffer cbb = ByteBuffer.allocateDirect(colors.length*4); local
79 cbb.order(ByteOrder.nativeOrder());
80 mColorBuffer = cbb.asIntBuffer();
  /packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cube/
Cube.java 78 ByteBuffer cbb = ByteBuffer.allocateDirect(colors.length*4); local
79 cbb.order(ByteOrder.nativeOrder());
80 mColorBuffer = cbb.asIntBuffer();
  /external/boringssl/src/crypto/bytestring/
ber.c 114 static int cbs_convert_ber(CBS *in, CBB *out, unsigned string_tag,
126 CBB *out_contents, out_contents_storage;
196 CBB cbb; local
211 if (!CBB_init(&cbb, CBS_len(in)) ||
212 !cbs_convert_ber(in, &cbb, 0, 0, 0) ||
213 !CBB_finish(&cbb, out, out_len)) {
214 CBB_cleanup(&cbb);
236 CBB result;
bytestring_test.cc 247 CBB cbb; local
248 ASSERT_TRUE(CBB_init(&cbb, 100));
249 CBB_cleanup(&cbb);
257 bssl::ScopedCBB cbb; local
258 ASSERT_TRUE(CBB_init(cbb.get(), 100));
259 cbb.Reset();
261 ASSERT_TRUE(CBB_init(cbb.get(), 0));
262 ASSERT_TRUE(CBB_add_u8(cbb.get(), 1));
263 ASSERT_TRUE(CBB_add_u16(cbb.get(), 0x203))
274 bssl::ScopedCBB cbb; local
304 bssl::ScopedCBB cbb; local
321 bssl::ScopedCBB cbb; local
348 bssl::ScopedCBB cbb; local
392 bssl::ScopedCBB cbb; local
422 bssl::ScopedCBB cbb; local
638 bssl::ScopedCBB cbb; local
657 CBB cbb; local
667 bssl::ScopedCBB cbb; local
687 bssl::ScopedCBB cbb; local
    [all...]
  /external/boringssl/src/crypto/dsa/
dsa_asn1.c 76 static int marshal_integer(CBB *cbb, BIGNUM *bn) {
82 return BN_marshal_asn1(cbb, bn);
102 int DSA_SIG_marshal(CBB *cbb, const DSA_SIG *sig) {
103 CBB child;
104 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) ||
107 !CBB_flush(cbb)) {
133 int DSA_marshal_public_key(CBB *cbb, const DSA *dsa)
248 CBB cbb; local
276 CBB cbb; local
304 CBB cbb; local
332 CBB cbb; local
    [all...]
  /external/boringssl/src/crypto/ecdsa_extra/
ecdsa_asn1.c 98 CBB cbb; local
99 CBB_zero(&cbb);
101 if (!CBB_init_fixed(&cbb, sig, ECDSA_size(eckey)) ||
102 !ECDSA_SIG_marshal(&cbb, s) ||
103 !CBB_finish(&cbb, NULL, &len)) {
105 CBB_cleanup(&cbb);
196 int ECDSA_SIG_marshal(CBB *cbb, const ECDSA_SIG *sig) {
197 CBB child
210 CBB cbb; local
275 CBB cbb; local
    [all...]
  /external/boringssl/src/crypto/evp/
evp_test.cc 144 int (*marshal_func)(CBB *cbb, const EVP_PKEY *key)) {
164 bssl::ScopedCBB cbb; local
167 if (!CBB_init(cbb.get(), 0) ||
168 !marshal_func(cbb.get(), pkey.get()) ||
169 !CBB_finish(cbb.get(), &der, &der_len)) {
evp_extra_test.cc 499 bssl::ScopedCBB cbb; local
500 EXPECT_FALSE(EVP_marshal_public_key(cbb.get(), empty.get()))
580 bssl::ScopedCBB cbb; local
583 ASSERT_TRUE(CBB_init(cbb.get(), 0));
584 ASSERT_TRUE(EVP_marshal_public_key(cbb.get(), pubkey.get()));
585 ASSERT_TRUE(CBB_finish(cbb.get(), &der, &der_len));
590 ASSERT_TRUE(CBB_init(cbb.get(), 0));
591 EXPECT_FALSE(EVP_marshal_private_key(cbb.get(), pubkey.get()));
595 cbb.Reset();
    [all...]
  /external/boringssl/src/crypto/rsa_extra/
rsa_asn1.c 88 static int marshal_integer(CBB *cbb, BIGNUM *bn) {
94 return BN_marshal_asn1(cbb, bn);
146 int RSA_marshal_public_key(CBB *cbb, const RSA *rsa) {
147 CBB child;
148 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) ||
151 !CBB_flush(cbb)) {
160 CBB cbb; local
256 CBB cbb; local
287 CBB cbb; local
315 CBB cbb; local
    [all...]
  /external/boringssl/src/crypto/fipsmodule/ec/
ec_test.cc 118 bssl::ScopedCBB cbb; local
121 if (!CBB_init(cbb.get(), 0) ||
122 !EC_KEY_marshal_private_key(cbb.get(), key, EC_KEY_get_enc_flags(key)) ||
123 !CBB_finish(cbb.get(), &der, &der_len)) {
  /development/samples/ApiDemos/src/com/example/android/apis/os/
RotationVectorDemo.java 192 ByteBuffer cbb = ByteBuffer.allocateDirect(colors.length*4); local
193 cbb.order(ByteOrder.nativeOrder());
194 mColorBuffer = cbb.asFloatBuffer();
  /external/boringssl/src/crypto/bn_extra/
convert.c 72 int BN_bn2cbb_padded(CBB *out, size_t len, const BIGNUM *in) {
249 CBB cbb; local
250 if (!CBB_init(&cbb, 16) ||
251 !CBB_add_u8(&cbb, 0 /* trailing NUL */)) {
256 if (!CBB_add_u8(&cbb, '0')) {
273 if (!CBB_add_u8(&cbb, '0' + word % 10)) {
283 !CBB_add_u8(&cbb, '-')) {
289 if (!CBB_finish(&cbb, &data, &len)) {
307 CBB_cleanup(&cbb);
    [all...]
  /external/boringssl/src/crypto/ec_extra/
ec_asn1.c 193 int EC_KEY_marshal_private_key(CBB *cbb, const EC_KEY *key,
200 CBB ec_private_key, private_key;
201 if (!CBB_add_asn1(cbb, &ec_private_key, CBS_ASN1_SEQUENCE) ||
212 CBB child;
223 CBB child, public_key;
237 if (!CBB_flush(cbb)) {
350 int EC_KEY_marshal_curve_name(CBB *cbb, const EC_GROUP *group) {
361 CBB child
449 CBB cbb; local
492 CBB cbb; local
    [all...]
  /external/boringssl/src/crypto/obj/
obj.c 318 OPENSSL_EXPORT int OBJ_nid2cbb(CBB *out, int nid) {
320 CBB oid;
455 static int add_decimal(CBB *out, uint64_t v) {
482 CBB cbb; local
483 if (!CBB_init(&cbb, 32)) {
497 if (!CBB_add_bytes(&cbb, (const uint8_t *)"2.", 2) ||
498 !add_decimal(&cbb, v - 80)) {
501 } else if (!add_decimal(&cbb, v / 40) ||
502 !CBB_add_u8(&cbb, '.') |
    [all...]
  /external/boringssl/src/ssl/
d1_both.cc 173 CBB cbb; local
174 if (!CBB_init_fixed(&cbb, frag->data, DTLS1_HM_HEADER_LENGTH) ||
175 !CBB_add_u8(&cbb, msg_hdr->type) ||
176 !CBB_add_u24(&cbb, msg_hdr->msg_len) ||
177 !CBB_add_u16(&cbb, msg_hdr->seq) ||
178 !CBB_add_u24(&cbb, 0 /* frag_off */) ||
179 !CBB_add_u24(&cbb, msg_hdr->msg_len) ||
180 !CBB_finish(&cbb, NULL, NULL)) {
181 CBB_cleanup(&cbb);
680 CBB cbb; local
    [all...]
s3_both.cc 235 int ssl3_init_message(SSL *ssl, CBB *cbb, CBB *body, uint8_t type) {
237 if (!CBB_init(cbb, 64) ||
238 !CBB_add_u8(cbb, type) ||
239 !CBB_add_u24_length_prefixed(cbb, body)) {
241 CBB_cleanup(cbb);
248 int ssl3_finish_message(SSL *ssl, CBB *cbb, uint8_t **out_msg,
250 if (!CBB_finish(cbb, out_msg, out_len))
414 CBB cbb, body; local
479 CBB cbb, body; local
    [all...]
tls13_both.cc 135 CBB cbb; local
136 if (!CBB_init(&cbb, 64 + 33 + 1 + 2 * EVP_MAX_MD_SIZE)) {
141 if (!CBB_add_u8(&cbb, 0x20)) {
165 if (!CBB_add_bytes(&cbb, context, context_len)) {
173 !CBB_add_bytes(&cbb, context_hash, context_hash_len) ||
174 !CBB_finish(&cbb, out, out_len)) {
182 CBB_cleanup(&cbb);
459 bssl::ScopedCBB cbb; local
460 CBB body, certificate_list
536 bssl::ScopedCBB cbb; local
591 CBB cbb, body; local
622 CBB cbb, body; local
    [all...]
ssl_asn1.cc 199 CBB cbb, session, child, child2; local
205 CBB_zero(&cbb);
206 if (!CBB_init(&cbb, 0) ||
207 !CBB_add_asn1(&cbb, &session, CBS_ASN1_SEQUENCE) ||
414 if (!CBB_finish(&cbb, out_data, out_len)) {
421 CBB_cleanup(&cbb);
tls13_client.cc 618 CBB cbb, body; local
619 if (!ssl->method->init_message(ssl, &cbb, &body, SSL3_MT_CHANNEL_ID) ||
621 !ssl_add_message_cbb(ssl, &cbb)) {
622 CBB_cleanup(&cbb);
tls13_enc.cc 74 CBB cbb, child; local
77 if (!CBB_init(&cbb, 2 + 1 + strlen(kTLS13LabelVersion) + label_len + 1 +
79 !CBB_add_u16(&cbb, len) ||
80 !CBB_add_u8_length_prefixed(&cbb, &child) ||
84 !CBB_add_u8_length_prefixed(&cbb, &child) ||
86 !CBB_finish(&cbb, &hkdf_label, &hkdf_label_len)) {
87 CBB_cleanup(&cbb);

Completed in 531 milliseconds

1 2