From f0672f96a0f98f24abd9cb8cec586545e154d357 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 5 Jan 2007 21:01:48 +0000 Subject: [PATCH] x git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19737 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/des/ChangeLog | 3 +++ lib/des/imath/iprime.c | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/des/ChangeLog b/lib/des/ChangeLog index 3a7f510ea..315ed8fa2 100644 --- a/lib/des/ChangeLog +++ b/lib/des/ChangeLog @@ -1,5 +1,8 @@ 2007-01-05 Love Hörnquist Åstrand + * imath/iprime.c: Use a larger table of small primes, cut down + genenration in best cases to half compared to using a small table. + * rsa.h: add RSA_FLAG_NO_BLINDING * rsa-imath.c: Add keyblinding, add a commented out CRT based RSA. diff --git a/lib/des/imath/iprime.c b/lib/des/imath/iprime.c index ae6266ff4..83a6578e0 100755 --- a/lib/des/imath/iprime.c +++ b/lib/des/imath/iprime.c @@ -110,7 +110,6 @@ static const int s_ptab[] = { 4801, 4813, 4817, 4831, 4861, 4871, 4877, 4889, 4903, 4909, 4919, 4931, 4933, 4937, 4943, 4951, 4957, 4967, 4969, 4973, 4987, 4993, 4999 -#endif }; static const int s_ptab_size = sizeof(s_ptab)/sizeof(s_ptab[0]);