Re: [PATCH v4 2/3] drivers: crypto: Add the Virtual Function driver for CPT
From: Stephan Müller
Date: Thu Jan 12 2017 - 06:19:57 EST
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