Lines Matching defs:key
75 static int ccp_aes_xts_setkey(struct crypto_skcipher *tfm, const u8 *key,
82 ret = xts_verify_key(tfm, key, key_len);
91 memcpy(ctx->u.aes.key, key, key_len);
95 memcpy(ctx->u.aes.key, key, key_len);
99 sg_init_one(&ctx->u.aes.key_sg, ctx->u.aes.key, key_len);
101 return crypto_skcipher_setkey(ctx->u.aes.tfm_skcipher, key, key_len);
149 * unsupported unit sizes or key sizes
174 rctx->cmd.u.xts.key = &ctx->u.aes.key_sg;