Lines Matching refs:num_rounds
49 @param num_rounds The number of rounds desired (0 for default)
54 static int _rc5_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey)
56 int rc5_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey)
65 if (num_rounds == 0) {
66 num_rounds = rc5_desc.default_rounds;
69 if (num_rounds < 12 || num_rounds > 24) {
78 skey->rc5.rounds = num_rounds;
96 t = (ulong32)(2 * (num_rounds + 1));
112 int rc5_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey)
115 x = _rc5_setup(key, keylen, num_rounds, skey);