Home
last modified time | relevance | path

Searched refs:CBS_ASN1_OCTETSTRING (Results 1 – 25 of 39) sorted by relevance

12

/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dhandoff.cc42 if (!CBB_add_asn1(out, &ciphers, CBS_ASN1_OCTETSTRING)) { in serialize_features()
52 if (!CBB_add_asn1(out, &curves, CBS_ASN1_OCTETSTRING)) { in serialize_features()
109 if (!CBS_get_asn1(in, &ciphers, CBS_ASN1_OCTETSTRING)) { in apply_remote_features()
152 if (!CBS_get_asn1(in, &curves, CBS_ASN1_OCTETSTRING)) { in apply_remote_features()
216 if (!CBS_get_asn1(&seq, &transcript, CBS_ASN1_OCTETSTRING) || in SSL_apply_handoff()
217 !CBS_get_asn1(&seq, &hs_buf, CBS_ASN1_OCTETSTRING) || in SSL_apply_handoff()
428 if (!CBS_get_asn1(&seq, &read_seq, CBS_ASN1_OCTETSTRING) || in SSL_apply_handback()
430 !CBS_get_asn1(&seq, &write_seq, CBS_ASN1_OCTETSTRING) || in SSL_apply_handback()
432 !CBS_get_asn1(&seq, &server_rand, CBS_ASN1_OCTETSTRING) || in SSL_apply_handback()
436 !CBS_get_asn1(&seq, &client_rand, CBS_ASN1_OCTETSTRING) || in SSL_apply_handback()
[all …]
Dssl_asn1.cc208 !CBB_add_asn1(&session, &child, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_to_bytes_full()
352 !CBB_add_asn1(&child, &child2, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_to_bytes_full()
468 !CBS_get_asn1(&child, &value, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_parse_crypto_buffer()
563 if (!CBS_get_asn1(&session, &cipher, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_parse()
576 if (!CBS_get_asn1(&session, &session_id, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_parse()
578 !CBS_get_asn1(&session, &master_key, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_parse()
637 !CBS_get_asn1(&child, &peer_sha256, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_parse()
Dssl_key_share.cc134 !CBB_add_asn1(out, &cbb, CBS_ASN1_OCTETSTRING) || in Serialize()
145 if (!CBS_get_asn1(in, &private_key, CBS_ASN1_OCTETSTRING)) { in Deserialize()
199 if (!CBS_get_asn1(in, &key, CBS_ASN1_OCTETSTRING) || in Deserialize()
/external/boringssl/src/ssl/
Dhandoff.cc44 if (!CBB_add_asn1(out, &ciphers, CBS_ASN1_OCTETSTRING)) { in serialize_features()
54 if (!CBB_add_asn1(out, &curves, CBS_ASN1_OCTETSTRING)) { in serialize_features()
121 if (!CBS_get_asn1(in, &ciphers, CBS_ASN1_OCTETSTRING)) { in apply_remote_features()
164 if (!CBS_get_asn1(in, &curves, CBS_ASN1_OCTETSTRING)) { in apply_remote_features()
251 if (!CBS_get_asn1(&seq, &transcript, CBS_ASN1_OCTETSTRING) || in SSL_apply_handoff()
252 !CBS_get_asn1(&seq, &hs_buf, CBS_ASN1_OCTETSTRING) || in SSL_apply_handoff()
463 if (!CBS_get_asn1(&seq, &read_seq, CBS_ASN1_OCTETSTRING) || in SSL_apply_handback()
465 !CBS_get_asn1(&seq, &write_seq, CBS_ASN1_OCTETSTRING) || in SSL_apply_handback()
467 !CBS_get_asn1(&seq, &server_rand, CBS_ASN1_OCTETSTRING) || in SSL_apply_handback()
471 !CBS_get_asn1(&seq, &client_rand, CBS_ASN1_OCTETSTRING) || in SSL_apply_handback()
[all …]
Dssl_asn1.cc216 !CBB_add_asn1(&session, &child, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_to_bytes_full()
359 !CBB_add_asn1(&child, &child2, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_to_bytes_full()
488 !CBS_get_asn1(&child, &value, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_parse_crypto_buffer()
583 if (!CBS_get_asn1(&session, &cipher, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_parse()
596 if (!CBS_get_asn1(&session, &session_id, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_parse()
598 !CBS_get_asn1(&session, &secret, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_parse()
657 !CBS_get_asn1(&child, &peer_sha256, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_parse()
Dssl_key_share.cc134 !CBB_add_asn1(out, &cbb, CBS_ASN1_OCTETSTRING) || in Serialize()
145 if (!CBS_get_asn1(in, &private_key, CBS_ASN1_OCTETSTRING)) { in Deserialize()
199 if (!CBS_get_asn1(in, &key, CBS_ASN1_OCTETSTRING) || in Deserialize()
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs8/
Dp5_pbev2.c191 !CBB_add_asn1(&kdf_param, &salt_cbb, CBS_ASN1_OCTETSTRING) || in PKCS5_pbe2_encrypt_init()
202 !CBB_add_asn1(&cipher_cbb, &iv_cbb, CBS_ASN1_OCTETSTRING) || in PKCS5_pbe2_encrypt_init()
245 !CBS_get_asn1(&pbkdf2_params, &salt, CBS_ASN1_OCTETSTRING) || in PKCS5_pbe2_decrypt_init()
307 if (!CBS_get_asn1(&enc_scheme, &iv, CBS_ASN1_OCTETSTRING) || in PKCS5_pbe2_decrypt_init()
Dpkcs8_x509.c434 !CBS_get_asn1(&wrapped_cert, &cert, CBS_ASN1_OCTETSTRING)) { in PKCS12_handle_safe_bag()
531 CBS_ASN1_CONTEXT_SPECIFIC | 0, CBS_ASN1_OCTETSTRING)) { in PKCS12_handle_content_info()
555 CBS_ASN1_OCTETSTRING)) { in PKCS12_handle_content_info()
666 if (!CBS_get_asn1(&wrapped_authsafes, &authsafes, CBS_ASN1_OCTETSTRING)) { in PKCS12_get_key_and_certs()
689 if (!CBS_get_asn1(&mac, &expected_mac, CBS_ASN1_OCTETSTRING) || in PKCS12_get_key_and_certs()
690 !CBS_get_asn1(&mac_data, &salt, CBS_ASN1_OCTETSTRING)) { in PKCS12_get_key_and_certs()
1007 !CBB_add_asn1(&values, &value, CBS_ASN1_OCTETSTRING) || in add_bag_attributes()
1031 !CBB_add_asn1(&wrapped_cert, &cert_value, CBS_ASN1_OCTETSTRING)) { in add_cert_bag()
1198 CBS_ASN1_OCTETSTRING) || in PKCS12_create()
1235 !CBB_add_asn1(&wrapper, &data, CBS_ASN1_OCTETSTRING) || in PKCS12_create()
[all …]
Dpkcs8.c263 !CBS_get_asn1(&pbe_param, &salt, CBS_ASN1_OCTETSTRING) || in pkcs12_pbe_decrypt_init()
349 !CBB_add_asn1(&param, &salt_cbb, CBS_ASN1_OCTETSTRING) || in pkcs12_pbe_encrypt_init()
425 !CBS_get_asn1(&epki, &ciphertext, CBS_ASN1_OCTETSTRING) || in PKCS8_parse_encrypted_private_key()
514 if (!CBB_add_asn1(&epki, &ciphertext, CBS_ASN1_OCTETSTRING) || in PKCS8_marshal_encrypted_private_key()
/external/boringssl/src/crypto/pkcs8/
Dp5_pbev2.c191 !CBB_add_asn1(&kdf_param, &salt_cbb, CBS_ASN1_OCTETSTRING) || in PKCS5_pbe2_encrypt_init()
202 !CBB_add_asn1(&cipher_cbb, &iv_cbb, CBS_ASN1_OCTETSTRING) || in PKCS5_pbe2_encrypt_init()
245 !CBS_get_asn1(&pbkdf2_params, &salt, CBS_ASN1_OCTETSTRING) || in PKCS5_pbe2_decrypt_init()
307 if (!CBS_get_asn1(&enc_scheme, &iv, CBS_ASN1_OCTETSTRING) || in PKCS5_pbe2_decrypt_init()
Dpkcs8_x509.c465 !CBS_get_asn1(&wrapped_cert, &cert, CBS_ASN1_OCTETSTRING)) { in PKCS12_handle_safe_bag()
562 CBS_ASN1_CONTEXT_SPECIFIC | 0, CBS_ASN1_OCTETSTRING)) { in PKCS12_handle_content_info()
586 CBS_ASN1_OCTETSTRING)) { in PKCS12_handle_content_info()
697 if (!CBS_get_asn1(&wrapped_authsafes, &authsafes, CBS_ASN1_OCTETSTRING)) { in PKCS12_get_key_and_certs()
720 if (!CBS_get_asn1(&mac, &expected_mac, CBS_ASN1_OCTETSTRING) || in PKCS12_get_key_and_certs()
721 !CBS_get_asn1(&mac_data, &salt, CBS_ASN1_OCTETSTRING)) { in PKCS12_get_key_and_certs()
1038 !CBB_add_asn1(&values, &value, CBS_ASN1_OCTETSTRING) || in add_bag_attributes()
1062 !CBB_add_asn1(&wrapped_cert, &cert_value, CBS_ASN1_OCTETSTRING)) { in add_cert_bag()
1229 CBS_ASN1_OCTETSTRING) || in PKCS12_create()
1266 !CBB_add_asn1(&wrapper, &data, CBS_ASN1_OCTETSTRING) || in PKCS12_create()
[all …]
/external/boringssl/src/crypto/evp/
Dp_ed25519_asn1.c161 !CBS_get_asn1(key, &inner, CBS_ASN1_OCTETSTRING) || in ed25519_priv_decode()
184 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in ed25519_priv_encode()
185 !CBB_add_asn1(&private_key, &inner, CBS_ASN1_OCTETSTRING) || in ed25519_priv_encode()
Dp_x25519_asn1.c158 !CBS_get_asn1(key, &inner, CBS_ASN1_OCTETSTRING) || in x25519_priv_decode()
181 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in x25519_priv_encode()
182 !CBB_add_asn1(&private_key, &inner, CBS_ASN1_OCTETSTRING) || in x25519_priv_encode()
Dp_rsa_asn1.c124 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in rsa_priv_encode()
Dp_ec_asn1.c181 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in eckey_priv_encode()
Dp_dsa_asn1.c188 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in dsa_priv_encode()
/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/
Dp_ed25519_asn1.c161 !CBS_get_asn1(key, &inner, CBS_ASN1_OCTETSTRING) || in ed25519_priv_decode()
184 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in ed25519_priv_encode()
185 !CBB_add_asn1(&private_key, &inner, CBS_ASN1_OCTETSTRING) || in ed25519_priv_encode()
Dp_x25519_asn1.c158 !CBS_get_asn1(key, &inner, CBS_ASN1_OCTETSTRING) || in x25519_priv_decode()
181 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in x25519_priv_encode()
182 !CBB_add_asn1(&private_key, &inner, CBS_ASN1_OCTETSTRING) || in x25519_priv_encode()
Dp_rsa_asn1.c124 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in rsa_priv_encode()
Dp_ec_asn1.c181 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in eckey_priv_encode()
Dp_dsa_asn1.c184 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in dsa_priv_encode()
/external/boringssl/src/crypto/ec_extra/
Dec_asn1.c81 !CBS_get_asn1(&ec_private_key, &private_key, CBS_ASN1_OCTETSTRING)) { in EC_KEY_parse_private_key()
202 !CBB_add_asn1(&ec_private_key, &private_key, CBS_ASN1_OCTETSTRING) || in EC_KEY_marshal_private_key()
267 !CBS_get_asn1(&curve, out_a, CBS_ASN1_OCTETSTRING) || in parse_explicit_prime_curve()
268 !CBS_get_asn1(&curve, out_b, CBS_ASN1_OCTETSTRING) || in parse_explicit_prime_curve()
272 !CBS_get_asn1(&params, &base, CBS_ASN1_OCTETSTRING) || in parse_explicit_prime_curve()
/external/rust/crates/quiche/deps/boringssl/src/crypto/ec_extra/
Dec_asn1.c81 !CBS_get_asn1(&ec_private_key, &private_key, CBS_ASN1_OCTETSTRING)) { in EC_KEY_parse_private_key()
202 !CBB_add_asn1(&ec_private_key, &private_key, CBS_ASN1_OCTETSTRING) || in EC_KEY_marshal_private_key()
282 !CBS_get_asn1(&curve, out_a, CBS_ASN1_OCTETSTRING) || in parse_explicit_prime_curve()
283 !CBS_get_asn1(&curve, out_b, CBS_ASN1_OCTETSTRING) || in parse_explicit_prime_curve()
287 !CBS_get_asn1(&params, &base, CBS_ASN1_OCTETSTRING) || in parse_explicit_prime_curve()
/external/boringssl/src/crypto/bytestring/
Dber.c34 case CBS_ASN1_OCTETSTRING: in is_string_type()
/external/rust/crates/quiche/deps/boringssl/src/crypto/bytestring/
Dber.c34 case CBS_ASN1_OCTETSTRING: in is_string_type()

12