NIIBE Yutaka
6cbc75e712
mpi: Avoid data-dependent timing variations in mpi_powm.
...
* include/mpi.h, mpi/mpiutils.c (mpi_set_cond): New.
* mpi/mpi-pow.c (SIZE_PRECOMP): Rename from SIZE_B_2I3.
(mpi_powm): Access all data in the table and use mpi_set_cond.
--
Access to the precomputed table was indexed by a portion of EXPO,
which could be mounted by a side channel attack. This change fixes
this particular data-dependent access pattern.
2015-02-26 21:00:05 +09:00
Werner Koch
9a2a818887
Switched to GPLv3.
...
Updated gettext.
2007-10-23 10:48:09 +00:00
Werner Koch
9f433cccca
Removed the use of g10defs.h.
...
This required some code cleanups and the introduction of
a few accessor ducntions in mpi.
2006-12-11 19:54:53 +00:00
Werner Koch
a1cdf3c75f
Converted all m_free to xfree etc.
2005-07-27 18:10:56 +00:00
Werner Koch
7d4043ca57
Updated FSF street address and preparations for a release candidate.
2005-05-31 08:39:18 +00:00
Werner Koch
6b3a008e46
Renamed prototype parameter name to avoid gcc warnings.
2004-04-27 08:24:37 +00:00
David Shaw
5c09a56385
* mpi.h (gcry_mpi, mpi_get_opaque, mpi_set_opaque): Make nbits and the
...
length of an opaque MPI unsigned.
2003-12-17 22:28:49 +00:00
David Shaw
702dfdff27
* cipher.h, i18n.h, iobuf.h, memory.h, mpi.h, types.h, util.h: Edit all
...
preprocessor instructions to remove whitespace before the '#'. This is
not required by C89, but there are some compilers out there that don't
like it.
2003-05-24 16:40:46 +00:00
Werner Koch
7a71a26d59
* mpi-bit.c (mpi_normalize): Replaced the check for protected by
...
is_opaque.
(mpi_get_nbits): Removed the special case for protected MPIs.
* mpicoder.c (do_get_buffer): Likewise.
(mpi_print): Removed the nbit_info printing.
2002-09-11 07:28:44 +00:00
David Shaw
151ee2f47b
Update head to match stable 1.0
2002-06-29 13:31:13 +00:00
Werner Koch
4555c0be94
See ChangeLog: Wed Dec 8 21:58:32 CET 1999 Werner Koch
1999-12-08 21:03:03 +00:00
Werner Koch
cf70ca8d68
See ChangeLog: Tue Oct 26 14:10:21 CEST 1999 Werner Koch
1999-10-26 12:14:37 +00:00
Werner Koch
bd7298cf0d
See ChangeLog: Wed Jul 7 13:23:40 CEST 1999 Werner Koch
1999-07-07 11:28:26 +00:00
Werner Koch
e5a79b2da8
See ChangeLog: Tue May 4 15:49:29 CEST 1999 Werner Koch
1999-05-04 13:55:41 +00:00
Werner Koch
e1a1b3fc90
See ChangeLog: Tue Feb 16 14:10:02 CET 1999 Werner Koch
1999-02-16 13:16:33 +00:00
Werner Koch
7d0efec7cf
See ChangeLog: Thu Jan 7 18:00:58 CET 1999 Werner Koch
1999-01-07 17:05:48 +00:00
Werner Koch
ab986970eb
See ChangeLog: Tue Dec 8 13:15:16 CET 1998 Werner Koch
1998-12-08 12:20:53 +00:00
Werner Koch
6d21f2838d
chnages done at the train
1998-08-07 08:53:38 +00:00
Werner Koch
9b609091ab
intermediate check in
1998-08-05 16:51:59 +00:00
Werner Koch
e6ac5acbbf
some more internall structure changes
1998-06-16 15:13:28 +00:00
Werner Koch
6e1ca6b80f
extensions are now working and fixed a lot of bugs
1998-06-15 15:41:04 +00:00
Werner Koch
d9b3dc0000
update from tobold
1998-06-11 07:16:50 +00:00
Werner Koch
3c7368a33d
new release
1998-04-09 11:19:09 +00:00
Werner Koch
6b91e7762c
some cleanups
1998-03-19 15:27:29 +00:00
Werner Koch
4c0c155922
a couple of changes; but some parts are now broken
1998-02-11 03:25:44 +00:00
Werner Koch
c8f12e218f
changed structure of trustdb
1998-02-02 14:36:06 +00:00
Werner Koch
4ec1775f3e
added some trust model stuff
1998-01-16 21:15:24 +00:00
Werner Koch
ed36092588
started with trust stuff
1998-01-12 10:18:17 +00:00
Werner Koch
c351df1dc5
changed configuration stuff, replaced some Makefile.am by distfiles.
1997-12-23 17:30:18 +00:00
Werner Koch
ee8d92fefa
better prime number generator. improved ELG key generation
1997-12-19 11:41:47 +00:00
Werner Koch
935965049d
fingerprints and self signatures added
1997-12-09 12:46:23 +00:00
Werner Koch
649eae8f1b
Improved prime number test
1997-11-27 11:44:13 +00:00
Werner Koch
9479cf7e24
How with some assembly support
1997-11-26 22:02:28 +00:00
Werner Koch
46900fbd43
ElGamal funktioniert und ist default
1997-11-24 22:24:04 +00:00
Werner Koch
25c8f1a3d7
Output armor works, RSA keygen works.
1997-11-19 13:12:23 +00:00
Werner Koch
5393dd53c5
initially checkin
1997-11-18 14:06:00 +00:00