X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilccrypt%2Fpkcs1.h;h=38937aee59c3195c03bd8be8e35e2153922f0baf;hb=04f41c4481381e8e7c1e685a4edb6be6ec5d2c66;hp=7ed3e97d51b6ffe27fae12ca3a3150e9a113445c;hpb=02c161c97dd908adc4d78b8faf2ca9eb3cc1379d;p=silc.git diff --git a/lib/silccrypt/pkcs1.h b/lib/silccrypt/pkcs1.h index 7ed3e97d..38937aee 100644 --- a/lib/silccrypt/pkcs1.h +++ b/lib/silccrypt/pkcs1.h @@ -20,40 +20,6 @@ #ifndef PKCS1_H #define PKCS1_H -/* - PKCS #1 RSA wrapper. - - Heavily modified to work under SILC, code that is not needed in SILC has - been removed for good, and some code was fixed and changed. - - For example, RSA_DecodeOneBlock was not used at all by Mozilla, however, - I took this code in to use after doing some fixing. Also, OAEP is removed - totally for now. I'm not sure whether OAEP could be used in the future - with SILC but not for now. - - This file also implements partial SILC PKCS API for RSA with PKCS #1. - It is partial because all the other functions but encrypt, decrypt, - sign and verify are common. - - Note: - - The mandatory PKCS #1 implementation in SILC must be compliant to either - PKCS #1 version 1.5 or PKCS #1 version 2 with the following notes: - The signature encoding is always in same format as the encryption - encoding regardles of the PKCS #1 version. The signature with - appendix (with hash algorithm OID in the data) must not be used - in the SILC. Rationale for this is that there is no binding between - the PKCS #1 OIDs and the hash algorithms used in the SILC protocol. - Hence, the encoding is always in PKCS #1 version 1.5 format. - - Any questions and comments regarding this modified version should be - sent to priikone@poseidon.pspt.fi. - - References: ftp://ftp.rsasecurity.com/pub/pkcs/ascii/pkcs-1v2.asc, - ftp://ftp.rsasecurity.com/pub/pkcs/ascii/pkcs-1.asc, - and RFC 2437. -*/ - /* * SILC PKCS API for PKCS #1 *