Lines Matching refs:key_len
186 unsigned int key_len) in aes_expandkey() argument
188 u32 kwords = key_len / sizeof(u32); in aes_expandkey()
192 err = aes_check_keylen(key_len); in aes_expandkey()
196 ctx->key_length = key_len; in aes_expandkey()
210 if (key_len == AES_KEYSIZE_192) { in aes_expandkey()
215 } else if (key_len == AES_KEYSIZE_256) { in aes_expandkey()
231 ctx->key_dec[0] = ctx->key_enc[key_len + 24]; in aes_expandkey()
232 ctx->key_dec[1] = ctx->key_enc[key_len + 25]; in aes_expandkey()
233 ctx->key_dec[2] = ctx->key_enc[key_len + 26]; in aes_expandkey()
234 ctx->key_dec[3] = ctx->key_enc[key_len + 27]; in aes_expandkey()
236 for (i = 4, j = key_len + 20; j > 0; i += 4, j -= 4) { in aes_expandkey()