Lines Matching refs:key_len
73 unsigned int key_len) in aesbs_setkey() argument
79 err = aes_expandkey(&rk, in_key, key_len); in aesbs_setkey()
83 ctx->rounds = 6 + key_len / 4; in aesbs_setkey()
132 unsigned int key_len) in aesbs_cbc_setkey() argument
138 err = aes_expandkey(&rk, in_key, key_len); in aesbs_cbc_setkey()
142 ctx->key.rounds = 6 + key_len / 4; in aesbs_cbc_setkey()
247 unsigned int key_len) in aesbs_xts_setkey() argument
253 err = xts_verify_key(tfm, in_key, key_len); in aesbs_xts_setkey()
257 key_len /= 2; in aesbs_xts_setkey()
258 err = aes_expandkey(&ctx->cts, in_key, key_len); in aesbs_xts_setkey()
262 err = aes_expandkey(&rk, in_key + key_len, key_len); in aesbs_xts_setkey()
268 return aesbs_setkey(tfm, in_key, key_len); in aesbs_xts_setkey()