X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=crypto%2Fecc.c;h=c80aa25994a0c3e4b87cefba958862d5a657b2f3;hb=a579767c1f4e3270818504843a86ba3277127152;hp=8acf8433ca2916357970de816c76010295c02d85;hpb=25d8d4eecace9de5a6a2193e4df1917afbdd3052;p=linux-2.6-microblaze.git diff --git a/crypto/ecc.c b/crypto/ecc.c index 8acf8433ca29..c80aa25994a0 100644 --- a/crypto/ecc.c +++ b/crypto/ecc.c @@ -67,7 +67,7 @@ static u64 *ecc_alloc_digits_space(unsigned int ndigits) static void ecc_free_digits_space(u64 *space) { - kzfree(space); + kfree_sensitive(space); } static struct ecc_point *ecc_alloc_point(unsigned int ndigits) @@ -101,9 +101,9 @@ static void ecc_free_point(struct ecc_point *p) if (!p) return; - kzfree(p->x); - kzfree(p->y); - kzfree(p); + kfree_sensitive(p->x); + kfree_sensitive(p->y); + kfree_sensitive(p); } static void vli_clear(u64 *vli, unsigned int ndigits)