[PATCH] MD2 for libgcrypt

Stephan Mueller smueller at chronox.de
Fri Jul 16 15:25:36 CEST 2010


Hi,

please see attached the patch adding MD2 to libgcrypt. The
implementation is copied from NSS. As this implementation is covered by
the LGPL, it should be consistent with libgcrypt.

The code works, the test case passes (and I even verified that negative
tests fail).

Furthermore, I am able to import the infamous Verisign Class 1
certificate using MD2 into the key store with gpgsm.

Please verify the code attached and let me know.

The code base is libgcrypt 1.4.4 as found on Ubuntu Lucid.

Thanks
Stephan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: md2_cipher.patch
Type: text/x-patch
Size: 9121 bytes
Desc: not available
URL: </pipermail/attachments/20100716/8cbd1e1b/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: md2_confighin.patch
Type: text/x-patch
Size: 369 bytes
Desc: not available
URL: </pipermail/attachments/20100716/8cbd1e1b/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: md2_configureac.patch
Type: text/x-patch
Size: 807 bytes
Desc: not available
URL: </pipermail/attachments/20100716/8cbd1e1b/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: md2_src.patch
Type: text/x-patch
Size: 513 bytes
Desc: not available
URL: </pipermail/attachments/20100716/8cbd1e1b/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: md2_tests.patch
Type: text/x-patch
Size: 592 bytes
Desc: not available
URL: </pipermail/attachments/20100716/8cbd1e1b/attachment-0009.bin>


More information about the Gcrypt-devel mailing list