Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1557381

Re: [PATCH v4 2/3] drivers: crypto: Add the Virtual Function driver for CPT

From Stephan Müller <smueller@chronox.de>
Newsgroups linux.kernel
Subject Re: [PATCH v4 2/3] drivers: crypto: Add the Virtual Function driver for CPT
Date 2017-01-12 12:30 +0100
Message-ID <sYLJU-3mz-19@gated-at.bofh.it> (permalink)
References <sYp6G-6cY-31@gated-at.bofh.it> <sYqm6-6WF-11@gated-at.bofh.it> <sYLJU-3mz-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: [PATCH v4 2/3] drivers: crypto: Add the Virtual Function driver for CPT Stephan Müller <smueller@chronox.de> - 2017-01-11 12:20 +0100
  Re: [PATCH v4 2/3] drivers: crypto: Add the Virtual Function driver for CPT Stephan Müller <smueller@chronox.de> - 2017-01-11 13:40 +0100
    Re: [PATCH v4 2/3] drivers: crypto: Add the Virtual Function driver for CPT Stephan Müller <smueller@chronox.de> - 2017-01-12 12:30 +0100

csiph-web