Re: [BUG] crypto: atmel-aes - erro when compiling with VERBOSE_DEBUG enable

2016-09-22 Thread levent demir
Fix debug function call in atmel_aes_write Signed-off-by: Levent DEMIR --- drivers/crypto/atmel-aes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/atmel-aes.c b/drivers/crypto/atmel-aes.c index e3d40a8..2b0f926 100644 --- a/drivers/crypto/atmel-aes.c +++ b

[BUG] crypto: atmel-aes - erro when compiling with VERBOSE_DEBUG enable

2016-09-13 Thread levent demir
Hello, if you enable VERBOSE_DEBUG and compile you will have the following error : drivers/crypto/atmel-aes.c:323:5: error: too few arguments to function 'atmel_aes_reg_name' atmel_aes_reg_name(offset, tmp)); ^ include/linux/device.h:1306:41: note: in definition of macro 'dev_vdbg'

Atmel driver - XTS mode - Alignement issue

2016-05-31 Thread levent demir
Hi all, I am working on SAMA5D3 board with atmel-aes driver, I have a question about sg. This board does not support XTS mode, however we want to add this functionality. As a recall XTS mode : For a 512 bytes block: 1) We encrypt the given IV with the second part of the key [ECB]. 2) We