Lines Matching full:rounds
56 armv8_aes_enc(int rounds, const uint8x16_t *keysched, const uint8x16_t from) in armv8_aes_enc() argument
62 for (i = 0; i < rounds - 1; i += 2) { in armv8_aes_enc()
69 tmp = vaeseq_u8(tmp, keysched[rounds - 1]); in armv8_aes_enc()
71 tmp = vaeseq_u8(tmp, keysched[rounds]); in armv8_aes_enc()
72 tmp = veorq_u8(tmp, keysched[rounds + 1]); in armv8_aes_enc()
78 armv8_aes_dec(int rounds, const uint8x16_t *keysched, const uint8x16_t from) in armv8_aes_dec() argument
84 for (i = 0; i < rounds - 1; i += 2) { in armv8_aes_dec()
91 tmp = vaesdq_u8(tmp, keysched[rounds - 1]); in armv8_aes_dec()
93 tmp = vaesdq_u8(tmp, keysched[rounds]); in armv8_aes_dec()
94 tmp = veorq_u8(tmp, keysched[rounds + 1]); in armv8_aes_dec()
217 armv8_aes_crypt_xts_block(int rounds, const uint8x16_t *key_schedule, in armv8_aes_crypt_xts_block() argument
225 block = armv8_aes_enc(rounds - 1, key_schedule, block); in armv8_aes_crypt_xts_block()
227 block = armv8_aes_dec(rounds - 1, key_schedule, block); in armv8_aes_crypt_xts_block()
235 armv8_aes_crypt_xts(int rounds, const uint8x16_t *data_schedule, in armv8_aes_crypt_xts() argument
261 tweakreg = armv8_aes_enc(rounds - 1, tweak_schedule, tweakreg); in armv8_aes_crypt_xts()
270 armv8_aes_crypt_xts_block(rounds, data_schedule, in armv8_aes_crypt_xts()
277 armv8_aes_crypt_xts_block(rounds, data_schedule, in armv8_aes_crypt_xts()