Home | History | Annotate | Download | only in cipher

Lines Matching refs:exp_key

1913 aes_encrypt(v128_t *plaintext, const aes_expanded_key_t exp_key) {
1916 v128_xor_eq(plaintext, exp_key + 0);
1919 aes_round(plaintext, exp_key + 1);
1920 aes_round(plaintext, exp_key + 2);
1921 aes_round(plaintext, exp_key + 3);
1922 aes_round(plaintext, exp_key + 4);
1923 aes_round(plaintext, exp_key + 5);
1924 aes_round(plaintext, exp_key + 6);
1925 aes_round(plaintext, exp_key + 7);
1926 aes_round(plaintext, exp_key + 8);
1927 aes_round(plaintext, exp_key + 9);
1930 aes_final_round(plaintext, exp_key + 10);
1934 aes_decrypt(v128_t *plaintext, const aes_expanded_key_t exp_key) {
1937 v128_xor_eq(plaintext, exp_key + 0);
1940 aes_inv_round(plaintext, exp_key + 1);
1941 aes_inv_round(plaintext, exp_key + 2);
1942 aes_inv_round(plaintext, exp_key + 3);
1943 aes_inv_round(plaintext, exp_key + 4);
1944 aes_inv_round(plaintext, exp_key + 5);
1945 aes_inv_round(plaintext, exp_key + 6);
1946 aes_inv_round(plaintext, exp_key + 7);
1947 aes_inv_round(plaintext, exp_key + 8);
1948 aes_inv_round(plaintext, exp_key + 9);
1950 aes_inv_final_round(plaintext, exp_key + 10);