Re: [Cryptodev-linux-devel] Passing DMA in/out parameters from Stack

2013-02-01 Thread Nikos Mavrogiannopoulos
On Fri, Feb 1, 2013 at 6:24 AM, Dutta Yashpal-B05456 wrote: > Hi, > > In cryptodev, there are some scenarios where in/out parameters are allocated > on stack. One of few such cases is > as follows: > > During cryptodev_hash_init, the Mackey being passed to crypto_ahash_setkey > is on stack and

[Cryptodev-linux-devel] Passing DMA in/out parameters from Stack

2013-01-31 Thread Dutta Yashpal-B05456
Hi, In cryptodev, there are some scenarios where in/out parameters are allocated on stack. One of few such cases is as follows: During cryptodev_hash_init, the Mackey being passed to crypto_ahash_setkey is on stack and resides on stack in Crypto_create_session " uint8_t keyp[CRYPTO_HMAC_MAX_K