Lines Matching defs:num_rounds
341 unsigned num_rounds;
348 num_rounds = 10;
351 num_rounds = 12;
354 num_rounds = 14;
361 nkf = (int)((num_rounds + 1) << 2);
401 return num_rounds;
407 unsigned num_rounds, const uint64_t comp_skey[static 30])
411 n = (num_rounds + 1) << 1;
435 unsigned num_rounds;
441 num_rounds = 10;
444 num_rounds = 12;
447 num_rounds = 14;
454 nkf = (int)((num_rounds + 1) << 2);
474 return num_rounds;
482 unsigned num_rounds;
485 num_rounds = br_aes_ct64_keysched_stdenc(skey, key, key_len);
486 if (num_rounds == 0)
492 tkey[0] = skey[4*num_rounds + 0];
493 tkey[1] = skey[4*num_rounds + 1];
494 tkey[2] = skey[4*num_rounds + 2];
495 tkey[3] = skey[4*num_rounds + 3];
496 for (i = 1; i < num_rounds; i++) {
501 br_aes_ct64_interleave_out(&tkey[4*(num_rounds - i)],
504 tkey[4*num_rounds + 0] = skey[0];
505 tkey[4*num_rounds + 1] = skey[1];
506 tkey[4*num_rounds + 2] = skey[2];
507 tkey[4*num_rounds + 3] = skey[3];
509 memcpy(skey, tkey, 4*(num_rounds + 1)*sizeof(uint32_t));
510 explicit_memset(tkey, 0, 4*(num_rounds + 1)*sizeof(uint32_t));
511 return num_rounds;