Lines Matching defs:rounds
59 armv8_aes_enc(int rounds, const uint8x16_t *keysched, const uint8x16_t from)
65 for (i = 0; i < rounds - 1; i += 2) {
72 tmp = vaeseq_u8(tmp, keysched[rounds - 1]);
74 tmp = vaeseq_u8(tmp, keysched[rounds]);
75 tmp = veorq_u8(tmp, keysched[rounds + 1]);
81 armv8_aes_dec(int rounds, const uint8x16_t *keysched, const uint8x16_t from)
87 for (i = 0; i < rounds - 1; i += 2) {
94 tmp = vaesdq_u8(tmp, keysched[rounds - 1]);
96 tmp = vaesdq_u8(tmp, keysched[rounds]);
97 tmp = veorq_u8(tmp, keysched[rounds + 1]);
164 armv8_aes_crypt_xts_block(int rounds, const uint8x16_t *key_schedule,
172 block = armv8_aes_enc(rounds - 1, key_schedule, block);
174 block = armv8_aes_dec(rounds - 1, key_schedule, block);
182 armv8_aes_crypt_xts(int rounds, const uint8x16_t *data_schedule,
202 tweakreg = armv8_aes_enc(rounds - 1, tweak_schedule, tweakreg);
206 armv8_aes_crypt_xts_block(rounds, data_schedule, &tweakreg,