Lines Matching refs:keylen
340 @param keylen The key length in bytes
346 static int _twofish_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey)
348 int twofish_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey)
366 if (keylen != 16 && keylen != 24 && keylen != 32) {
371 k = keylen / 8;
374 for (x = 0; x < keylen; x++) {
456 int twofish_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey)
459 x = _twofish_setup(key, keylen, num_rounds, skey);
623 int keylen;
661 if ((err = twofish_setup(tests[i].key, tests[i].keylen, 0, &key)) != CRYPT_OK) {