Home
last modified time | relevance | path

Searched refs:enc_key (Results 1 – 4 of 4) 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.h664 Span<const uint8_t> enc_key,
/external/boringssl/src/crypto/cipher_extra/
De_aesgcmsiv.c694 } enc_key; member
721 aes_ctr_set_key(&out_keys->enc_key.ks, NULL, &out_keys->enc_block, in gcm_siv_keys()
757 keys.enc_block(tag, tag, &keys.enc_key.ks); in aead_aes_gcm_siv_seal_scatter()
759 gcm_siv_crypt(out, in, in_len, tag, keys.enc_block, &keys.enc_key.ks); in aead_aes_gcm_siv_seal_scatter()
797 gcm_siv_crypt(out, in, in_len, in_tag, keys.enc_block, &keys.enc_key.ks); in aead_aes_gcm_siv_open_gather()
801 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'))