lkml.org 
[lkml]   [2019]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] crypto: validate inputs for gcm and aes
Date
Added inline helper functions to check authsize and assoclen for
gcm and rfc4106.
Added, also, inline helper function to check key length for AES algorithms.
These are used in the generic implementation of gcm/rfc4106 and aes/aes_ti.

Iuliana Prodan (2):
crypto: gcm - helper functions for assoclen/authsize check
crypto: aes - helper function to validate key length for AES
algorithms

crypto/aes_generic.c | 7 ++++---
crypto/aes_ti.c | 8 ++++----
crypto/gcm.c | 41 +++++++++++++++-------------------------
include/crypto/aes.h | 17 +++++++++++++++++
include/crypto/gcm.h | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 93 insertions(+), 33 deletions(-)

--
2.1.0

\
 
 \ /
  Last update: 2019-07-25 15:48    [W:0.109 / U:25.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site