Re: DMA map buffer allocated in ahash_request_ctx

2018-05-09 Thread Harsh Jain
On Wed, May 9, 2018 at 8:37 PM, Herbert Xu wrote: > On Wed, May 09, 2018 at 04:13:12PM +0300, Gilad Ben-Yossef wrote: >> On Wed, May 9, 2018 at 3:12 PM, Harsh Jain wrote: >> > Hi Herbert, >> > >> > Can we use buffer defined in ahash request

[PATCH] crypto: chelsio: request to HW should wrap

2018-05-09 Thread Atul Gupta
-Tx request and data is copied to HW Q in 64B desc, check for end of queue and adjust the current position to start from beginning before passing the additional request info. -key context copy should check key length only -Few reverse christmas tree correction Signed-off-by: Atul Gupta

[PATCH RESEND 1/2] Add DOWNLOAD_FIRMWARE SEV command

2018-05-09 Thread Janakarajan Natarajan
The DOWNLOAD_FIRMWARE command, added as of SEV API v0.15, allows the OS to install SEV firmware newer than the currently active SEV firmware. For the new SEV firmware to be applied it must: * Pass the validation test performed by the existing firmware. * Be of the same build or a newer build

[PATCH RESEND 2/2] Add GET_ID SEV command

2018-05-09 Thread Janakarajan Natarajan
The GET_ID command, added as of SEV API v0.16, allows the SEV firmware to be queried about a unique CPU ID. This unique ID can then be used to obtain the public certificate containing the Chip Endorsement Key (CEK) public key signed by the AMD SEV Signing Key (ASK). For more information please

Re: DMA map buffer allocated in ahash_request_ctx

2018-05-09 Thread Herbert Xu
On Wed, May 09, 2018 at 04:13:12PM +0300, Gilad Ben-Yossef wrote: > On Wed, May 9, 2018 at 3:12 PM, Harsh Jain wrote: > > Hi Herbert, > > > > Can we use buffer defined in ahash request context(private space for > > each request) to DMA map it to H/W.? > > Not Herbert

[PATCH v2 03/11] docs: crypto_engine.rst: Fix two parse warnings

2018-05-09 Thread Mauro Carvalho Chehab
./Documentation/crypto/crypto_engine.rst:13: WARNING: Unexpected indentation. ./Documentation/crypto/crypto_engine.rst:15: WARNING: Block quote ends without a blank line; unexpected unindent. Signed-off-by: Mauro Carvalho Chehab ---

Re: DMA map buffer allocated in ahash_request_ctx

2018-05-09 Thread Gilad Ben-Yossef
On Wed, May 9, 2018 at 3:12 PM, Harsh Jain wrote: > Hi Herbert, > > Can we use buffer defined in ahash request context(private space for > each request) to DMA map it to H/W.? Not Herbert but... the ccree driver is doing just and Herbert specifically indicated ahash

Re: [PATCH v15 net-next 00/12] Chelsio Inline TLS

2018-05-09 Thread Atul Gupta
On 4/1/2018 6:27 PM, Boris Pismenny wrote: > Hi, > > On 4/1/2018 6:37 AM, David Miller wrote: >> From: Atul Gupta >> Date: Sat, 31 Mar 2018 21:41:51 +0530 >> >>> Series for Chelsio Inline TLS driver (chtls) >> >> Series applied, thank you. >> > > Sorry for being late to

DMA map buffer allocated in ahash_request_ctx

2018-05-09 Thread Harsh Jain
Hi Herbert, Can we use buffer defined in ahash request context(private space for each request) to DMA map it to H/W.? Regards Harsh Jain

[PATCH] crypto: nx: fix spelling mistake: "seqeunce" -> "sequence"

2018-05-09 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in CSB_ERR error message text Signed-off-by: Colin Ian King --- drivers/crypto/nx/nx-842-powernv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git