Home
last modified time | relevance | path

Searched refs:rd_key (Results 1 – 8 of 8) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/aes/
Daes_test.cc430 OPENSSL_memcpy(out->rd_key, key, words * sizeof(uint32_t)); in aes_ref_set_encrypt_key()
432 uint32_t tmp = out->rd_key[i - 1]; in aes_ref_set_encrypt_key()
438 out->rd_key[i] = tmp ^ out->rd_key[i - words]; in aes_ref_set_encrypt_key()
443 out->rd_key[i] = CRYPTO_bswap4(out->rd_key[i]); in aes_ref_set_encrypt_key()
549 std::swap(out->rd_key[4 * i], out->rd_key[4 * (out->rounds - i)]); in aes_ref_set_decrypt_key()
550 std::swap(out->rd_key[4 * i + 1], out->rd_key[4 * (out->rounds - i) + 1]); in aes_ref_set_decrypt_key()
551 std::swap(out->rd_key[4 * i + 2], out->rd_key[4 * (out->rounds - i) + 2]); in aes_ref_set_decrypt_key()
552 std::swap(out->rd_key[4 * i + 3], out->rd_key[4 * (out->rounds - i) + 3]); in aes_ref_set_decrypt_key()
558 aes_ref_inv_mix_columns(out->rd_key + 4 * i); in aes_ref_set_decrypt_key()
Daes_nohw.c907 memcpy(tmp, key->rd_key + 4 * i, 16); in aes_nohw_expand_round_keys()
944 memcpy(key->rd_key, block, 16); in aes_nohw_setup_key_128()
963 memcpy(key->rd_key + 4 * i, block, 16); in aes_nohw_setup_key_128()
982 memcpy(key->rd_key, block1, 16); in aes_nohw_setup_key_192()
1029 memcpy(key->rd_key + 4 * (3 * i + 1), block2, 16); in aes_nohw_setup_key_192()
1030 memcpy(key->rd_key + 4 * (3 * i + 2), block1, 16); in aes_nohw_setup_key_192()
1064 memcpy(key->rd_key + 4 * (3 * i + 3), block2, 16); in aes_nohw_setup_key_192()
1079 memcpy(key->rd_key, block1, 16); in aes_nohw_setup_key_256()
1082 memcpy(key->rd_key + 4, block2, 16); in aes_nohw_setup_key_256()
1100 memcpy(key->rd_key + 4 * i, block1, 16); in aes_nohw_setup_key_256()
[all …]
/external/rust/crates/ring/include/GFp/
Daes.h63 uint32_t rd_key[4 * (AES_MAXNR + 1)]; member
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/aes/
Daes_nohw.c907 memcpy(tmp, key->rd_key + 4 * i, 16); in aes_nohw_expand_round_keys()
944 memcpy(key->rd_key, block, 16); in aes_nohw_setup_key_128()
963 memcpy(key->rd_key + 4 * i, block, 16); in aes_nohw_setup_key_128()
982 memcpy(key->rd_key, block1, 16); in aes_nohw_setup_key_192()
1029 memcpy(key->rd_key + 4 * (3 * i + 1), block2, 16); in aes_nohw_setup_key_192()
1030 memcpy(key->rd_key + 4 * (3 * i + 2), block1, 16); in aes_nohw_setup_key_192()
1064 memcpy(key->rd_key + 4 * (3 * i + 3), block2, 16); in aes_nohw_setup_key_192()
1079 memcpy(key->rd_key, block1, 16); in aes_nohw_setup_key_256()
1082 memcpy(key->rd_key + 4, block2, 16); in aes_nohw_setup_key_256()
1100 memcpy(key->rd_key + 4 * i, block1, 16); in aes_nohw_setup_key_256()
[all …]
/external/rust/crates/ring/src/aead/
Daes.rs130 rd_key: [0u32; 4 * (MAX_ROUNDS + 1)], in new()
242 rd_key: [0u32; 4 * (MAX_ROUNDS + 1)], in ctr32_encrypt_blocks()
322 pub rd_key: [u32; 4 * (MAX_ROUNDS + 1)], field
/external/rust/crates/ring/crypto/fipsmodule/aes/
Daes_nohw.c773 GFp_memcpy(tmp, key->rd_key + 4 * i, 16); in aes_nohw_expand_round_keys()
810 GFp_memcpy(key->rd_key, block, 16); in aes_nohw_setup_key_128()
829 GFp_memcpy(key->rd_key + 4 * i, block, 16); in aes_nohw_setup_key_128()
839 GFp_memcpy(key->rd_key, block1, 16); in aes_nohw_setup_key_256()
842 GFp_memcpy(key->rd_key + 4, block2, 16); in aes_nohw_setup_key_256()
860 GFp_memcpy(key->rd_key + 4 * i, block1, 16); in aes_nohw_setup_key_256()
876 GFp_memcpy(key->rd_key + 4 * (i + 1), block2, 16); in aes_nohw_setup_key_256()
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Daes.h73 uint32_t rd_key[4 * (AES_MAXNR + 1)]; member
/external/boringssl/src/include/openssl/
Daes.h73 uint32_t rd_key[4 * (AES_MAXNR + 1)]; member