Mailing List Archive

PATCH: gcry_ac_key_get_elements
Hi,

I did not find any way of extracting the element names from a key (it
is possible to extract the _number_ of elements using
GCRYCTL_GET_ALGO_N[PS]KEY, though.) Here's a function that does just
that. I just write a "ac API" version of the function, since that's
the API I'm using.

Cheers,
Johan.

[cipher/]
2004-11-26 Johan Rydberg <jrydberg@gnu.org>

* ac.c (gcry_ac_key_get_elements): New function.

[src/]
2004-11-26 Johan Rydberg <jrydberg@gnu.org>

* libgcrypt.vers (gcry_ac_key_get_elemenets): Add.
* gcrypt.h (gcry_ac_key_get_elements): New.

[tests/]
2004-11-26 Johan Rydberg <jrydberg@gnu.org>

* ac.c (check_one): Test gcry_ac_key_get_elements.