/external/rust/crates/openssl/src/ |
D | hkdf.rs | 15 out_key: &mut [u8], in hkdf() 23 out_key.as_mut_ptr(), in hkdf() 24 out_key.len(), in hkdf() 46 out_key: &'a mut [u8], in hkdf_extract() 51 let mut out_len = out_key.len(); in hkdf_extract() 54 out_key.as_mut_ptr(), in hkdf_extract() 64 Ok(&out_key[..out_len]) in hkdf_extract() 71 out_key: &mut [u8], in hkdf_expand() 78 out_key.as_mut_ptr(), in hkdf_expand() 79 out_key.len(), in hkdf_expand()
|
/external/rust/crates/openssl/patches/ |
D | 0003-hkdf.diff | 21 + out_key: &mut [u8], 29 + out_key.as_mut_ptr(), 30 + out_key.len(), 52 + out_key: &'a mut [u8], 57 + let mut out_len = out_key.len(); 60 + out_key.as_mut_ptr(), 70 + Ok(&out_key[..out_len]) 77 + out_key: &mut [u8], 84 + out_key.as_mut_ptr(), 85 + out_key.len(),
|
/external/boringssl/src/crypto/evp/ |
D | pbkdf.c | 67 const EVP_MD *digest, size_t key_len, uint8_t *out_key) { in PKCS5_PBKDF2_HMAC() argument 100 OPENSSL_memcpy(out_key, digest_tmp, todo); in PKCS5_PBKDF2_HMAC() 109 out_key[k] ^= digest_tmp[k]; in PKCS5_PBKDF2_HMAC() 114 out_key += todo; in PKCS5_PBKDF2_HMAC() 143 uint8_t *out_key) { in PKCS5_PBKDF2_HMAC_SHA1() argument 145 EVP_sha1(), key_len, out_key); in PKCS5_PBKDF2_HMAC_SHA1()
|
/external/cronet/third_party/boringssl/src/crypto/evp/ |
D | pbkdf.c | 67 const EVP_MD *digest, size_t key_len, uint8_t *out_key) { in PKCS5_PBKDF2_HMAC() argument 100 OPENSSL_memcpy(out_key, digest_tmp, todo); in PKCS5_PBKDF2_HMAC() 109 out_key[k] ^= digest_tmp[k]; in PKCS5_PBKDF2_HMAC() 114 out_key += todo; in PKCS5_PBKDF2_HMAC() 143 uint8_t *out_key) { in PKCS5_PBKDF2_HMAC_SHA1() argument 145 EVP_sha1(), key_len, out_key); in PKCS5_PBKDF2_HMAC_SHA1()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/ |
D | pbkdf.c | 67 const EVP_MD *digest, size_t key_len, uint8_t *out_key) { in PKCS5_PBKDF2_HMAC() argument 100 OPENSSL_memcpy(out_key, digest_tmp, todo); in PKCS5_PBKDF2_HMAC() 109 out_key[k] ^= digest_tmp[k]; in PKCS5_PBKDF2_HMAC() 114 out_key += todo; in PKCS5_PBKDF2_HMAC() 143 uint8_t *out_key) { in PKCS5_PBKDF2_HMAC_SHA1() argument 145 EVP_sha1(), key_len, out_key); in PKCS5_PBKDF2_HMAC_SHA1()
|
/external/boringssl/src/crypto/fipsmodule/hkdf/ |
D | hkdf.c | 26 int HKDF(uint8_t *out_key, size_t out_len, const EVP_MD *digest, in HKDF() argument 35 !HKDF_expand(out_key, out_len, digest, prk, prk_len, info, info_len)) { in HKDF() 42 int HKDF_extract(uint8_t *out_key, size_t *out_len, const EVP_MD *digest, in HKDF_extract() argument 50 if (HMAC(digest, salt, salt_len, secret, secret_len, out_key, &len) == NULL) { in HKDF_extract() 59 int HKDF_expand(uint8_t *out_key, size_t out_len, const EVP_MD *digest, in HKDF_expand() argument 100 OPENSSL_memcpy(out_key + done, previous, todo); in HKDF_expand()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/hkdf/ |
D | hkdf.c | 26 int HKDF(uint8_t *out_key, size_t out_len, const EVP_MD *digest, in HKDF() argument 35 !HKDF_expand(out_key, out_len, digest, prk, prk_len, info, info_len)) { in HKDF() 42 int HKDF_extract(uint8_t *out_key, size_t *out_len, const EVP_MD *digest, in HKDF_extract() argument 50 if (HMAC(digest, salt, salt_len, secret, secret_len, out_key, &len) == NULL) { in HKDF_extract() 59 int HKDF_expand(uint8_t *out_key, size_t out_len, const EVP_MD *digest, in HKDF_expand() argument 100 OPENSSL_memcpy(out_key + done, previous, todo); in HKDF_expand()
|
/external/cronet/third_party/boringssl/src/crypto/fipsmodule/hkdf/ |
D | hkdf.c | 26 int HKDF(uint8_t *out_key, size_t out_len, const EVP_MD *digest, in HKDF() argument 35 !HKDF_expand(out_key, out_len, digest, prk, prk_len, info, info_len)) { in HKDF() 42 int HKDF_extract(uint8_t *out_key, size_t *out_len, const EVP_MD *digest, in HKDF_extract() argument 50 if (HMAC(digest, salt, salt_len, secret, secret_len, out_key, &len) == NULL) { in HKDF_extract() 59 int HKDF_expand(uint8_t *out_key, size_t out_len, const EVP_MD *digest, in HKDF_expand() argument 100 OPENSSL_memcpy(out_key + done, previous, todo); in HKDF_expand()
|
/external/cronet/third_party/boringssl/src/include/openssl/ |
D | hkdf.h | 35 OPENSSL_EXPORT int HKDF(uint8_t *out_key, size_t out_len, const EVP_MD *digest, 48 OPENSSL_EXPORT int HKDF_extract(uint8_t *out_key, size_t *out_len, 56 OPENSSL_EXPORT int HKDF_expand(uint8_t *out_key, size_t out_len,
|
D | ec_key.h | 332 OPENSSL_EXPORT EC_KEY *d2i_ECPrivateKey(EC_KEY **out_key, const uint8_t **inp, 345 OPENSSL_EXPORT EC_KEY *d2i_ECParameters(EC_KEY **out_key, const uint8_t **inp, 360 OPENSSL_EXPORT EC_KEY *o2i_ECPublicKey(EC_KEY **out_key, const uint8_t **inp,
|
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/ |
D | hkdf.h | 35 OPENSSL_EXPORT int HKDF(uint8_t *out_key, size_t out_len, const EVP_MD *digest, 48 OPENSSL_EXPORT int HKDF_extract(uint8_t *out_key, size_t *out_len, 56 OPENSSL_EXPORT int HKDF_expand(uint8_t *out_key, size_t out_len,
|
D | ec_key.h | 308 OPENSSL_EXPORT EC_KEY *d2i_ECPrivateKey(EC_KEY **out_key, const uint8_t **inp, 327 OPENSSL_EXPORT EC_KEY *d2i_ECParameters(EC_KEY **out_key, const uint8_t **inp, 344 OPENSSL_EXPORT EC_KEY *o2i_ECPublicKey(EC_KEY **out_key, const uint8_t **inp,
|
/external/boringssl/src/include/openssl/ |
D | hkdf.h | 35 OPENSSL_EXPORT int HKDF(uint8_t *out_key, size_t out_len, const EVP_MD *digest, 48 OPENSSL_EXPORT int HKDF_extract(uint8_t *out_key, size_t *out_len, 56 OPENSSL_EXPORT int HKDF_expand(uint8_t *out_key, size_t out_len,
|
D | ec_key.h | 332 OPENSSL_EXPORT EC_KEY *d2i_ECPrivateKey(EC_KEY **out_key, const uint8_t **inp, 345 OPENSSL_EXPORT EC_KEY *d2i_ECParameters(EC_KEY **out_key, const uint8_t **inp, 360 OPENSSL_EXPORT EC_KEY *o2i_ECPublicKey(EC_KEY **out_key, const uint8_t **inp,
|
/external/tensorflow/tensorflow/core/kernels/ |
D | stateless_random_ops.cc | 32 Status GenerateKey(Tensor seed, random::PhiloxRandom::Key* out_key, in GenerateKey() argument 52 (*out_key)[0] = 0x3ec8f720; in GenerateKey() 53 (*out_key)[1] = 0x02461e29; in GenerateKey() 58 const auto mix = random::PhiloxRandom(*out_counter, *out_key)(); in GenerateKey() 59 (*out_key)[0] = mix[0]; in GenerateKey() 60 (*out_key)[1] = mix[1]; in GenerateKey()
|
/external/cronet/third_party/boringssl/src/crypto/x509/ |
D | x_pubkey.c | 196 int X509_PUBKEY_get0_param(ASN1_OBJECT **out_obj, const uint8_t **out_key, in X509_PUBKEY_get0_param() argument 202 if (out_key != NULL) { in X509_PUBKEY_get0_param() 203 *out_key = pub->public_key->data; in X509_PUBKEY_get0_param()
|
/external/boringssl/src/crypto/x509/ |
D | x_pubkey.c | 196 int X509_PUBKEY_get0_param(ASN1_OBJECT **out_obj, const uint8_t **out_key, in X509_PUBKEY_get0_param() argument 202 if (out_key != NULL) { in X509_PUBKEY_get0_param() 203 *out_key = pub->public_key->data; in X509_PUBKEY_get0_param()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/ |
D | x_pubkey.c | 198 int X509_PUBKEY_get0_param(ASN1_OBJECT **out_obj, const uint8_t **out_key, in X509_PUBKEY_get0_param() argument 205 if (out_key != NULL) { in X509_PUBKEY_get0_param() 206 *out_key = pub->public_key->data; in X509_PUBKEY_get0_param()
|
/external/cronet/net/third_party/quiche/src/quiche/quic/core/crypto/ |
D | quic_decrypter.cc | 69 std::string* out_key, in DiversifyPreliminaryKey() argument 75 *out_key = std::string(hkdf.server_write_key()); in DiversifyPreliminaryKey()
|
/external/cronet/net/third_party/quiche/src/quiche/spdy/core/ |
D | http2_header_block.cc | 267 absl::string_view out_key; in operator []() local 272 out_key = WriteKey(key); in operator []() 277 out_key = iter->first; in operator []() 279 return ValueProxy(this, iter, out_key, &value_size_); in operator []()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/hpke/ |
D | hpke.c | 77 static int hpke_labeled_extract(const EVP_MD *hkdf_md, uint8_t *out_key, in hpke_labeled_extract() argument 89 HKDF_extract(out_key, out_len, hkdf_md, CBB_data(&labeled_ikm), in hpke_labeled_extract() 95 static int hpke_labeled_expand(const EVP_MD *hkdf_md, uint8_t *out_key, in hpke_labeled_expand() argument 108 HKDF_expand(out_key, out_len, hkdf_md, prk, prk_len, in hpke_labeled_expand() 120 uint8_t *out_key, size_t out_len, in dhkem_extract_and_expand() argument 130 hpke_labeled_expand(hkdf_md, out_key, out_len, prk, prk_len, suite_id, in dhkem_extract_and_expand()
|
/external/boringssl/src/crypto/hpke/ |
D | hpke.c | 78 static int hpke_labeled_extract(const EVP_MD *hkdf_md, uint8_t *out_key, in hpke_labeled_extract() argument 90 HKDF_extract(out_key, out_len, hkdf_md, CBB_data(&labeled_ikm), in hpke_labeled_extract() 96 static int hpke_labeled_expand(const EVP_MD *hkdf_md, uint8_t *out_key, in hpke_labeled_expand() argument 109 HKDF_expand(out_key, out_len, hkdf_md, prk, prk_len, in hpke_labeled_expand() 121 uint8_t *out_key, size_t out_len, in dhkem_extract_and_expand() argument 131 hpke_labeled_expand(hkdf_md, out_key, out_len, prk, prk_len, suite_id, in dhkem_extract_and_expand()
|
/external/cronet/third_party/boringssl/src/crypto/hpke/ |
D | hpke.c | 78 static int hpke_labeled_extract(const EVP_MD *hkdf_md, uint8_t *out_key, in hpke_labeled_extract() argument 90 HKDF_extract(out_key, out_len, hkdf_md, CBB_data(&labeled_ikm), in hpke_labeled_extract() 96 static int hpke_labeled_expand(const EVP_MD *hkdf_md, uint8_t *out_key, in hpke_labeled_expand() argument 109 HKDF_expand(out_key, out_len, hkdf_md, prk, prk_len, in hpke_labeled_expand() 121 uint8_t *out_key, size_t out_len, in dhkem_extract_and_expand() argument 131 hpke_labeled_expand(hkdf_md, out_key, out_len, prk, prk_len, suite_id, in dhkem_extract_and_expand()
|
/external/boringssl/src/crypto/pkcs8/ |
D | pkcs8_x509.c | 231 EVP_PKEY **out_key; member 387 if (*ctx->out_key) { in PKCS12_handle_safe_bag() 406 *ctx->out_key = pkey; in PKCS12_handle_safe_bag() 586 int PKCS12_get_key_and_certs(EVP_PKEY **out_key, STACK_OF(X509) *out_certs, in PKCS12_get_key_and_certs() argument 601 *out_key = NULL; in PKCS12_get_key_and_certs() 654 ctx.out_key = out_key; in PKCS12_get_key_and_certs() 721 EVP_PKEY_free(*out_key); in PKCS12_get_key_and_certs() 722 *out_key = NULL; in PKCS12_get_key_and_certs()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs8/ |
D | pkcs8_x509.c | 277 EVP_PKEY **out_key; member 435 if (*ctx->out_key) { in PKCS12_handle_safe_bag() 454 *ctx->out_key = pkey; in PKCS12_handle_safe_bag() 634 int PKCS12_get_key_and_certs(EVP_PKEY **out_key, STACK_OF(X509) *out_certs, in PKCS12_get_key_and_certs() argument 649 *out_key = NULL; in PKCS12_get_key_and_certs() 702 ctx.out_key = out_key; in PKCS12_get_key_and_certs() 769 EVP_PKEY_free(*out_key); in PKCS12_get_key_and_certs() 770 *out_key = NULL; in PKCS12_get_key_and_certs()
|