RSA - relation between message size and key size

Werner Koch wk at gnupg.org
Sat Jul 7 12:25:56 CEST 2018


On Fri,  6 Jul 2018 10:24, sbi at pi4.de said:

> The big unanswered question is still why the gcry_pk_encrypt only
> works properly with data up to the key size and if that behavior is
> intended. Why is that function generating unusable output without
> throwing an error?

Because Libgcrypt is a low-level library which even the release
announcements tell:

  Libgcrypt is a general purpose library of cryptographic building
  blocks.  It is originally based on code used by GnuPG.  It does not
  provide any implementation of OpenPGP or other protocols.  _Thorough_
  _understanding of applied cryptography is required to use Libgcrypt_.



Salam-Shalom,

   Werner

-- 
#  Please read:  Daniel Ellsberg - The Doomsday Machine  #
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gcrypt-devel/attachments/20180707/65638340/attachment-0001.sig>


More information about the Gcrypt-devel mailing list