Re: ARM-CE aes encryption on uneven blocks

2016-10-26 Thread Cata Vasile
Then what is the role of the "for" structure? Why not do just a single encryption/decryption call? Regards, Cata >From: Hamid Nassiby >Sent: Wednesday, October 26, 2016 10:16 AM >To: Cata Vasile >Cc: linux-crypto@vger.kernel.org >Subject: Re: ARM-CE aes encryption o

Re: ARM-CE aes encryption on uneven blocks

2016-10-26 Thread Hamid Nassiby
Hi, Based on my old experience with "struct crypto_alg" based drivers, the data you receive there, is padded beforehand(in the upper layers); Therefore the plaintext contains integral multiple of AES block size of data and based on the number of blocks, the crypto transform can be computed. Regar