How to implement aes{128,256)-gcm at openssh.com.

Jakub Jelen jjelen at redhat.com
Thu Jul 13 11:11:15 CEST 2023


Hi,
you can use the example from libssh, but note that it is using the
"external counter" as at the time of implementing this, there was not
the new API to allow "internal counter", which should be more
straightforward using functions gcry_cipher_geniv() and
gcry_cipher_setup_geniv() -- not sure if they are in any released
versions yet already.

If you will have any specific questions, please let me know.

Regards,
Jakub

On Wed, Jul 12, 2023 at 1:22 AM Stef Bon via Gcrypt-devel
<gcrypt-devel at gnupg.org> wrote:
>
> Hi,
>
> already I've found:
>
> https://git.libssh.org/projects/libssh.git/plain/src/libgcrypt.c
>
> Still any help is appreciated.
>
> Stef
>
> _______________________________________________
> Gcrypt-devel mailing list
> Gcrypt-devel at gnupg.org
> https://lists.gnupg.org/mailman/listinfo/gcrypt-devel
>




More information about the Gcrypt-devel mailing list