[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1970611.axXSiX4HVh@positron.chronox.de>
Date: Thu, 12 Jan 2017 12:19:38 +0100
From: Stephan Müller <smueller@...onox.de>
To: George Cherian <gcherian@...iumnetworks.com>
Cc: George Cherian <george.cherian@...ium.com>,
herbert@...dor.apana.org.au, davem@...emloft.net,
david.daney@...ium.com, clabbe.montjoie@...il.com,
linux-kernel@...r.kernel.org, linux-crypto@...r.kernel.org
Subject: Re: [PATCH v4 2/3] drivers: crypto: Add the Virtual Function driver for CPT
Am Donnerstag, 12. Januar 2017, 16:40:32 CET schrieb George Cherian:
Hi George,
> >
> > Sure, please do not forget to invoke xts_verify_key.
>
> Should I be using xts_check_key or xts_verify_key?
Both are identical except for the input parameter -- the one requires
crypto_skcipher, the other crypto_tfm. Depending what pointer you have handy
in your setkey function, you would use the most appropriate one.
Ciao
Stephan
Powered by blists - more mailing lists