Sven-Haegar Koch
3fca2cad48
Removed two newlines from the end of log messages which created empty lines.
2011-05-28 15:24:39 +02:00
Guus Sliepen
3626165002
Do not use hardcoded cipher block length when padding.
2009-12-19 23:23:25 +01:00
Guus Sliepen
f542ef8f9e
Fix alignment of results of RSA operations when using libgcrypt.
...
If the result of an RSA encryption or decryption operation can be represented
in less bytes than given, gcry_mpi_print() will not add leading zero bytes. Fix
this by adding those ourself.
2009-12-19 22:17:39 +01:00
Guus Sliepen
0bfd69a273
Fix reading raw RSA keys with libgcrypt.
2009-12-19 20:26:30 +01:00
Guus Sliepen
0ff44fc241
Reinitialise block cipher IV each time we encrypt a packet when using libgcrypt.
2009-12-19 20:10:38 +01:00
Guus Sliepen
3c90be7678
Fix block cipher padding when using libgcrypt.
2009-12-19 18:57:54 +01:00
Guus Sliepen
c845bc109c
Fix packet authentication.
...
This wasn't working at all, since we didn't do HMAC but just a plain hash.
Also, verification of packets failed because it was checking the whole packet,
not the packet minus the HMAC.
2009-12-18 01:15:25 +01:00
Guus Sliepen
08615e420b
Handle PKCS#5 padding in the gcrypt backend.
2009-11-05 00:02:42 +01:00
Guus Sliepen
d9b2ac6767
Handle truncated message authentication codes with gcrypt.
...
Commit 4124b9682f
did not update the gcrypt
backend.
2009-11-05 00:01:25 +01:00
Guus Sliepen
761517c21c
Update FSF address in files not covered by the merge.
2009-09-29 15:33:58 +02:00
Guus Sliepen
07a560eab6
Drop localisation and checkpoint tracing in files not covered by the merge.
2009-09-29 15:19:55 +02:00
Guus Sliepen
551cd19406
Move RSA key generation into the wrappers.
2008-12-14 12:47:26 +00:00
Guus Sliepen
86358fabfe
Small fixes to make gcrypt routines compile.
2007-09-04 14:58:52 +00:00
Scott Lamb
1fd1d5bd93
const correctness
...
cipher_encrypt and cipher_decrypt should take "const void *" data
2007-07-20 20:10:46 +00:00
Guus Sliepen
1b8f891836
Finish crypto wrapping. Also provide wrappers for OpenSSL.
...
Disable libgcrypt by default. Since it doesn't support the OFB cipher mode,
we can't use it in a backwards compatible way.
2007-05-23 13:45:49 +00:00