From: Stephan Mueller Date: Fri, 17 Apr 2015 12:54:08 +0000 (+0200) Subject: cryoto: drbg - clear all temporary memory X-Git-Tag: omap-for-v4.3/legacy-v2-signed~193^2~291 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e0498d99f182dd06c012dfc62768e8ca0450adf;p=pandora-kernel.git cryoto: drbg - clear all temporary memory The buffer uses for temporary data must be cleared entirely. In AES192 the used buffer is drbg_statelen(drbg) + drbg_blocklen(drbg) as documented in the comment above drbg_ctr_df. This patch ensures that the temp buffer is completely wiped. Signed-off-by: Stephan Mueller Signed-off-by: Herbert Xu --- Reading git-diff-tree failed