Lines Matching refs:in_key
131 static int skcipher_aes_setkey(struct crypto_skcipher *tfm, const u8 *in_key,
136 return aes_expandkey(ctx, in_key, key_len);
140 const u8 *in_key, unsigned int key_len)
145 ret = xts_verify_key(tfm, in_key, key_len);
149 ret = aes_expandkey(&ctx->key1, in_key, key_len / 2);
151 ret = aes_expandkey(&ctx->key2, &in_key[key_len / 2],
157 const u8 *in_key,
164 ret = aes_expandkey(&ctx->key1, in_key, key_len);
168 crypto_shash_tfm_digest(ctx->hash, in_key, key_len, digest);
772 static int cbcmac_setkey(struct crypto_shash *tfm, const u8 *in_key,
777 return aes_expandkey(&ctx->key, in_key, key_len);
789 static int cmac_setkey(struct crypto_shash *tfm, const u8 *in_key,
797 err = cbcmac_setkey(tfm, in_key, key_len);
813 static int xcbc_setkey(struct crypto_shash *tfm, const u8 *in_key,
827 err = cbcmac_setkey(tfm, in_key, key_len);