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