Lines Matching refs:key_len
132 unsigned int key_len) in skcipher_aes_setkey() argument
137 ret = aes_expandkey(ctx, in_key, key_len); in skcipher_aes_setkey()
145 const u8 *in_key, unsigned int key_len) in xts_set_key() argument
150 ret = xts_verify_key(tfm, in_key, key_len); in xts_set_key()
154 ret = aes_expandkey(&ctx->key1, in_key, key_len / 2); in xts_set_key()
156 ret = aes_expandkey(&ctx->key2, &in_key[key_len / 2], in xts_set_key()
157 key_len / 2); in xts_set_key()
167 unsigned int key_len) in essiv_cbc_set_key() argument
174 ret = aes_expandkey(&ctx->key1, in_key, key_len); in essiv_cbc_set_key()
179 crypto_shash_digest(desc, in_key, key_len, digest); in essiv_cbc_set_key()
791 unsigned int key_len) in cbcmac_setkey() argument
796 err = aes_expandkey(&ctx->key, in_key, key_len); in cbcmac_setkey()
813 unsigned int key_len) in cmac_setkey() argument
817 int rounds = 6 + key_len / 4; in cmac_setkey()
820 err = cbcmac_setkey(tfm, in_key, key_len); in cmac_setkey()
837 unsigned int key_len) in xcbc_setkey() argument
846 int rounds = 6 + key_len / 4; in xcbc_setkey()
850 err = cbcmac_setkey(tfm, in_key, key_len); in xcbc_setkey()