updates.
[silc.git] / lib / silccrypt / pkcs1.h
index 7ed3e97d51b6ffe27fae12ca3a3150e9a113445c..38937aee59c3195c03bd8be8e35e2153922f0baf 100644 (file)
 #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
  *