Lines Matching refs:in_key
137 static int skcipher_aes_setkey(struct crypto_skcipher *tfm, const u8 *in_key,
142 return aes_expandkey(ctx, in_key, key_len);
146 const u8 *in_key, unsigned int key_len)
151 ret = xts_verify_key(tfm, in_key, key_len);
155 ret = aes_expandkey(&ctx->key1, in_key, key_len / 2);
157 ret = aes_expandkey(&ctx->key2, &in_key[key_len / 2],
163 const u8 *in_key,
170 ret = aes_expandkey(&ctx->key1, in_key, key_len);
174 crypto_shash_tfm_digest(ctx->hash, in_key, key_len, digest);
800 static int cbcmac_setkey(struct crypto_shash *tfm, const u8 *in_key,
805 return aes_expandkey(&ctx->key, in_key, key_len);
817 static int cmac_setkey(struct crypto_shash *tfm, const u8 *in_key,
825 err = cbcmac_setkey(tfm, in_key, key_len);
841 static int xcbc_setkey(struct crypto_shash *tfm, const u8 *in_key,
855 err = cbcmac_setkey(tfm, in_key, key_len);