[PATCH] Add a simple PKCS#1 padding mode

Werner Koch wk at gnupg.org
Mon Dec 16 18:05:51 CET 2013


On Mon, 16 Dec 2013 17:40, dbaryshkov at gmail.com said:

> Allow user to specify (flags pkcs1) to enable pkcs1 padding of raw value
> (no hash algorithm is specified). It is up to the user to verify that
> passed value is properly formatted and includes DER-encoded ASN OID of
> the hash function.

Please xplain this too.  Why shall we add a crippled pkcs#1 mode?  Is
this tfor the SHA1+MD5 hash of TLS?  If so, we should add a specila
hash-algo string.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gcrypt-devel mailing list