lkml.org 
[lkml]   [2019]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 0/2] crypto: validate inputs for gcm and aes
On Wed, Jul 31, 2019 at 04:05:53PM +0300, Iuliana Prodan wrote:
> Added inline helper functions to check authsize and assoclen for
> gcm, rfc4106 and rfc4543.
> Added, also, inline helper function to check key length for AES algorithms.
> These are used in the generic implementation of gcm/rfc4106/rfc4543
> and aes.
>
> Changes since v2:
> - rename aes helper functions without crypto_ prefix;
> - change include for gcm.h.
>
> Iuliana Prodan (2):
> crypto: gcm - helper functions for assoclen/authsize check
> crypto: aes - helper function to validate key length for AES
> algorithms
>
> crypto/gcm.c | 41 ++++++++++++++-------------------------
> include/crypto/aes.h | 17 ++++++++++++++++
> include/crypto/gcm.h | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++
> lib/crypto/aes.c | 8 ++++----
> 4 files changed, 91 insertions(+), 30 deletions(-)

All applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

\
 
 \ /
  Last update: 2019-08-09 08:19    [W:0.376 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site