Lines Matching refs:keylen
118 @param keylen The key length in bytes
123 int SETUP(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey)
133 if (keylen != 16 && keylen != 24 && keylen != 32) {
137 if (num_rounds != 0 && num_rounds != (10 + ((keylen/8)-2)*2)) {
141 skey->rijndael.Nr = 10 + ((keylen/8)-2)*2;
150 if (keylen == 16) {
163 } else if (keylen == 24) {
184 } else if (keylen == 32) {
649 int keylen;
687 if ((err = rijndael_setup(tests[i].key, tests[i].keylen, 0, &key)) != CRYPT_OK) {