Re: [PATCH v9 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 Sat, Jan 04, 2025 at 05:26:28PM +0100, Christian Marangi wrote:
>
> I'm a bit confused by this... I can't find any reference of
> CRYPTO_ALG_SYNC, is this something new? Any hint on where to look for
> it? Can't find it in include/linux/crypto.h
> 
> Following the codeflow of crypto_alloc_ahash is a bit problematic.

Sorry, I meant CRYPTO_ALG_ASYNC:

	ahash_tfm = crypto_alloc_ahash(alg_name, 0, CRYPTO_ALG_ASYNC);

This should give you a synchronous tfm.

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