Home
last modified time | relevance | path

Searched refs:enc_key (Results 1 – 17 of 17) sorted by relevance

/external/boringssl/src/ssl/
Dssl_aead_ctx.cc58 const SSL_CIPHER *cipher, Span<const uint8_t> enc_key, in Create() argument
78 if (mac_key.size() + enc_key.size() + fixed_iv.size() > in Create()
84 OPENSSL_memcpy(merged_key + mac_key.size(), enc_key.data(), enc_key.size()); in Create()
85 OPENSSL_memcpy(merged_key + mac_key.size() + enc_key.size(), in Create()
87 enc_key = MakeConstSpan(merged_key, in Create()
88 enc_key.size() + mac_key.size() + fixed_iv.size()); in Create()
100 aead_ctx->ctx_.get(), aead, enc_key.data(), enc_key.size(), in Create()
Dinternal.h782 Span<const uint8_t> enc_key,
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dssl_aead_ctx.cc58 const SSL_CIPHER *cipher, Span<const uint8_t> enc_key, in Create() argument
78 if (mac_key.size() + enc_key.size() + fixed_iv.size() > in Create()
84 OPENSSL_memcpy(merged_key + mac_key.size(), enc_key.data(), enc_key.size()); in Create()
85 OPENSSL_memcpy(merged_key + mac_key.size() + enc_key.size(), in Create()
87 enc_key = MakeConstSpan(merged_key, in Create()
88 enc_key.size() + mac_key.size() + fixed_iv.size()); in Create()
101 aead_ctx->ctx_.get(), aead, enc_key.data(), enc_key.size(), in Create()
Dinternal.h783 Span<const uint8_t> enc_key,
/external/cronet/third_party/boringssl/src/ssl/
Dssl_aead_ctx.cc58 const SSL_CIPHER *cipher, Span<const uint8_t> enc_key, in Create() argument
78 if (mac_key.size() + enc_key.size() + fixed_iv.size() > in Create()
84 OPENSSL_memcpy(merged_key + mac_key.size(), enc_key.data(), enc_key.size()); in Create()
85 OPENSSL_memcpy(merged_key + mac_key.size() + enc_key.size(), in Create()
87 enc_key = MakeConstSpan(merged_key, in Create()
88 enc_key.size() + mac_key.size() + fixed_iv.size()); in Create()
100 aead_ctx->ctx_.get(), aead, enc_key.data(), enc_key.size(), in Create()
Dinternal.h782 Span<const uint8_t> enc_key,
/external/wpa_supplicant_8/src/common/
Ddpp_backup.c267 struct wpabuf *pwri = NULL, *enc_key = NULL, *key_der_alg = NULL, in dpp_build_pw_recipient_info() local
295 enc_key = wpabuf_alloc(hash_len + AES_BLOCK_SIZE); in dpp_build_pw_recipient_info()
296 if (!enc_key || in dpp_build_pw_recipient_info()
299 wpabuf_put(enc_key, hash_len + AES_BLOCK_SIZE)) < 0) in dpp_build_pw_recipient_info()
301 wpa_hexdump_buf(MSG_DEBUG, "DPP: encryptedKey", enc_key); in dpp_build_pw_recipient_info()
319 wpabuf_len(key_enc_alg) + wpabuf_len(enc_key)); in dpp_build_pw_recipient_info()
335 asn1_put_octet_string(pwri, enc_key); in dpp_build_pw_recipient_info()
340 wpabuf_free(enc_key); in dpp_build_pw_recipient_info()
527 const u8 *enc_key; member
721 data->enc_key = hdr.payload; in dpp_parse_recipient_infos()
[all …]
Ddpp_pkex.c148 wpabuf_free(pkex->enc_key); in dpp_pkex_build_exchange_req()
149 pkex->enc_key = wpabuf_alloc_copy(Mx, 2 * curve->prime_len); in dpp_pkex_build_exchange_req()
1386 wpabuf_free(pkex->enc_key); in dpp_pkex_free()
Ddpp_tcp.c2329 if (!conn->pkex || !conn->pkex->enc_key) in dpp_controller_is_own_pkex_req()
2340 if (attr_key_len == wpabuf_len(conn->pkex->enc_key) && in dpp_controller_is_own_pkex_req()
2341 os_memcmp(attr_key, wpabuf_head(conn->pkex->enc_key), in dpp_controller_is_own_pkex_req()
Ddpp.h228 struct wpabuf *enc_key; member
/external/rust/crates/quiche/deps/boringssl/src/crypto/cipher_extra/
De_aesgcmsiv.c699 } enc_key; member
734 aes_ctr_set_key(&out_keys->enc_key.ks, NULL, &out_keys->enc_block, in gcm_siv_keys()
770 keys.enc_block(tag, tag, &keys.enc_key.ks); in aead_aes_gcm_siv_seal_scatter()
772 gcm_siv_crypt(out, in, in_len, tag, keys.enc_block, &keys.enc_key.ks); in aead_aes_gcm_siv_seal_scatter()
810 gcm_siv_crypt(out, in, in_len, in_tag, keys.enc_block, &keys.enc_key.ks); in aead_aes_gcm_siv_open_gather()
814 keys.enc_block(expected_tag, expected_tag, &keys.enc_key.ks); in aead_aes_gcm_siv_open_gather()
/external/boringssl/src/crypto/cipher_extra/
De_aesgcmsiv.c668 } enc_key; member
703 aes_ctr_set_key(&out_keys->enc_key.ks, NULL, &out_keys->enc_block, in gcm_siv_keys()
739 keys.enc_block(tag, tag, &keys.enc_key.ks); in aead_aes_gcm_siv_seal_scatter()
741 gcm_siv_crypt(out, in, in_len, tag, keys.enc_block, &keys.enc_key.ks); in aead_aes_gcm_siv_seal_scatter()
779 gcm_siv_crypt(out, in, in_len, in_tag, keys.enc_block, &keys.enc_key.ks); in aead_aes_gcm_siv_open_gather()
783 keys.enc_block(expected_tag, expected_tag, &keys.enc_key.ks); in aead_aes_gcm_siv_open_gather()
/external/cronet/third_party/boringssl/src/crypto/cipher_extra/
De_aesgcmsiv.c668 } enc_key; member
703 aes_ctr_set_key(&out_keys->enc_key.ks, NULL, &out_keys->enc_block, in gcm_siv_keys()
739 keys.enc_block(tag, tag, &keys.enc_key.ks); in aead_aes_gcm_siv_seal_scatter()
741 gcm_siv_crypt(out, in, in_len, tag, keys.enc_block, &keys.enc_key.ks); in aead_aes_gcm_siv_seal_scatter()
779 gcm_siv_crypt(out, in, in_len, in_tag, keys.enc_block, &keys.enc_key.ks); in aead_aes_gcm_siv_open_gather()
783 keys.enc_block(expected_tag, expected_tag, &keys.enc_key.ks); in aead_aes_gcm_siv_open_gather()
/external/cronet/third_party/boringssl/src/rust/bssl-crypto/src/
Daes.rs93 let enc_key = unsafe { enc_key_uninit.assume_init() }; localVariable
95 AesEncryptKey(enc_key)
/external/boringssl/src/rust/bssl-crypto/src/
Daes.rs93 let enc_key = unsafe { enc_key_uninit.assume_init() }; localVariable
95 AesEncryptKey(enc_key)
/external/rust/crates/openssl/src/
Daes.rs303 let enc_key = AesKey::new_encrypt(&raw_key).unwrap(); in test_wrap_unwrap() localVariable
306 wrap_key(&enc_key, None, &mut wrapped, &key_data).unwrap(), in test_wrap_unwrap()
/external/python/cpython3/Doc/library/
Dhashlib.rst653 >>> enc_key = blake2s(key=orig_key, person=b'kEncrypt').digest()
655 >>> print(b64encode(enc_key).decode('utf-8'))