Lines Matching refs:rounds
483 Nr = key->rounds; in ossl_aria_encrypt()
556 key->rounds = Nr; in ossl_aria_set_encrypt_key()
686 rk_tail = rk_head + key->rounds; in ossl_aria_set_decrypt_key()
1090 unsigned int rounds, const ARIA_u128 *keys) in do_encrypt() argument
1096 for (i = 0; i < rounds - 2; i += 2) { in do_encrypt()
1100 FO(&p, &p, &keys[rounds - 2]); in do_encrypt()
1101 sl2(o, &p, &keys[rounds - 1]); in do_encrypt()
1102 xor128(o, o, &keys[rounds]); in do_encrypt()
1113 do_encrypt(out, in, key->rounds, key->rd_key); in ossl_aria_encrypt()
1135 key->rounds = 12; in ossl_aria_set_encrypt_key()
1143 key->rounds = 14; in ossl_aria_set_encrypt_key()
1152 key->rounds = 16; in ossl_aria_set_encrypt_key()
1180 if (key->rounds > 12) { in ossl_aria_set_encrypt_key()
1184 if (key->rounds > 14) { in ossl_aria_set_encrypt_key()
1200 unsigned int i, rounds = ek.rounds; in ossl_aria_set_decrypt_key() local
1203 key->rounds = rounds; in ossl_aria_set_decrypt_key()
1204 memcpy(&key->rd_key[0], &ek.rd_key[rounds], sizeof(key->rd_key[0])); in ossl_aria_set_decrypt_key()
1205 for (i = 1; i < rounds; i++) in ossl_aria_set_decrypt_key()
1206 a(&key->rd_key[i], &ek.rd_key[rounds - i]); in ossl_aria_set_decrypt_key()
1207 memcpy(&key->rd_key[rounds], &ek.rd_key[0], sizeof(key->rd_key[rounds])); in ossl_aria_set_decrypt_key()