Re: [PATCH 0/7] crypto: aes - allow generic AES to be omitted

2017-03-27 Thread Eric Biggers
Hi Ard, On Sun, Mar 26, 2017 at 07:49:01PM +0100, Ard Biesheuvel wrote: > The generic AES driver uses 16 lookup tables of 1 KB each, and has > encryption and decryption routines that are fully unrolled. Given how > the dependencies between this code and other drivers are declared in > Kconfig

RE: [PATCH 1/1] crypto: If two strings are exact match, they must have same length.

2017-03-27 Thread Ming Ma (mingma)
Please ignore this patch, we have seen some issues in older verison of linux kernel. But it doesn't seem to be an issue in the latest kernel. thanks -Original Message- From: linux-crypto-ow...@vger.kernel.org [mailto:linux-crypto-ow...@vger.kernel.org] On Behalf Of Herbert Xu Sent:

Re: [RFC PATCH v2 15/32] x86: Add support for changing memory encryption attribute in early boot

2017-03-27 Thread Brijesh Singh
Hi Boris, On 03/24/2017 12:12 PM, Borislav Petkov wrote: } +static inline int __init early_set_memory_decrypted(void *addr, + unsigned long size) +{ + return 1; return 1 when !CONFIG_AMD_MEM_ENCRYPT ? The non-early

Re: [PATCH v3 1/3] crypto: hw_random - Add new Exynos RNG driver

2017-03-27 Thread Stephan Müller
Am Montag, 27. März 2017, 06:23:11 CEST schrieb PrasannaKumar Muralidharan: Hi PrasannaKumar, > > Oh my, if you are right with your first guess, this is a bad DRNG design. > > > > Just out of curiousity: what happens if a caller invokes the seed function > > twice or more times (each time with