Home
last modified time | relevance | path

Searched refs:enc_key (Results 1 – 5 of 5) 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()
101 aead_ctx->ctx_.get(), aead, enc_key.data(), enc_key.size(), in Create()
Dinternal.h766 Span<const uint8_t> enc_key,
/external/wpa_supplicant_8/src/common/
Ddpp_backup.c275 struct wpabuf *pwri = NULL, *enc_key = NULL, *key_der_alg = NULL, in dpp_build_pw_recipient_info() local
300 enc_key = wpabuf_alloc(hash_len + AES_BLOCK_SIZE); in dpp_build_pw_recipient_info()
301 if (!enc_key || in dpp_build_pw_recipient_info()
304 wpabuf_put(enc_key, hash_len + AES_BLOCK_SIZE)) < 0) in dpp_build_pw_recipient_info()
306 wpa_hexdump_buf(MSG_DEBUG, "DPP: encryptedKey", enc_key); in dpp_build_pw_recipient_info()
324 wpabuf_len(key_enc_alg) + wpabuf_len(enc_key)); in dpp_build_pw_recipient_info()
340 asn1_put_octet_string(pwri, enc_key); in dpp_build_pw_recipient_info()
345 wpabuf_free(enc_key); in dpp_build_pw_recipient_info()
532 const u8 *enc_key; member
733 data->enc_key = hdr.payload; in dpp_parse_recipient_infos()
[all …]
/external/boringssl/src/crypto/cipher_extra/
De_aesgcmsiv.c699 } enc_key; member
726 aes_ctr_set_key(&out_keys->enc_key.ks, NULL, &out_keys->enc_block, in gcm_siv_keys()
762 keys.enc_block(tag, tag, &keys.enc_key.ks); in aead_aes_gcm_siv_seal_scatter()
764 gcm_siv_crypt(out, in, in_len, tag, keys.enc_block, &keys.enc_key.ks); in aead_aes_gcm_siv_seal_scatter()
802 gcm_siv_crypt(out, in, in_len, in_tag, keys.enc_block, &keys.enc_key.ks); in aead_aes_gcm_siv_open_gather()
806 keys.enc_block(expected_tag, expected_tag, &keys.enc_key.ks); in aead_aes_gcm_siv_open_gather()
/external/python/cpython3/Doc/library/
Dhashlib.rst633 >>> enc_key = blake2s(key=orig_key, person=b'kEncrypt').digest()
635 >>> print(b64encode(enc_key).decode('utf-8'))