[guile-gcrypt] Symmetric Ciphers Module

Saad Rhoulam saad at rhoulam.tech
Fri Apr 10 16:38:11 CEST 2026


Hello everyone,

While hoping to make something in Guile that needed symmetric 
encryption, it fell to me to extend guile-gcrypt. Unfortunately, because 
of how some procedures like `gcrypt_cipher_gettag` are implemented, the 
Guile FFI reports that they don't exist! This blocks AEAD, which is what 
I needed, so it's back to the drawing board for me. But, short of AEAD, 
some amount of symmetric cryptographic functionality is accessible from 
Guile, hence the attached patch.

I've left the AEAD-related code commented out in the module in case 
anyone is interested in this challenge.

Regards,

S. Rhoulam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cipher.patch
Type: text/x-patch
Size: 18361 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gcrypt-devel/attachments/20260410/270321ae/attachment-0001.bin>


More information about the Gcrypt-devel mailing list