Re: [PATCH v7 3/3] crypto: Add Inside Secure SafeXcel EIP-93 crypto engine support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 10, 2024 at 01:16:42PM +0100, Christian Marangi wrote:
>
> Oh! Ok, that is neat. Just to make sure everything is clear,
> to complete the request it's the same used for final, the
> ahash_request_complete(). I tought the -EINPROGRESS,
> ahash_request_complete() pattern was only for final.

Correct, the same calling convention applies whether you're doing
update or finup/final.  One difference is that after final/finup
you don't have to export the hash state because it's no longer
defined.

Cheers,
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux