gcry_cipher_setkey(h,k,l)

Werner Koch wk@gnupg.org
Sun, 21 Apr 2002 13:35:43 +0200


On Sun, 21 Apr 2002 13:20:23 +0200, Rüdiger Sonderfeld said:

> I don't understand how to use the gcry_cipher_setkey(h,k,l) function. I now h 
> is the handle but what is k and l? I will use it for the AES256 encryption.

A pointer to the key and the length of that key.  For AES256 L should
be 32.

  Werner
> _______________________________________________
> Gcrypt-devel mailing list
> Gcrypt-devel@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gcrypt-devel