Home GnuPG

Add a function to retrieve algorithm used by MAC handler
8439a379c86eUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Add a function to retrieve algorithm used by MAC handler

* cipher/mac.c (_gcry_mac_get_algo): New function, returns used algo.
* src/visibility.c (gcry_mac_get_algo): New wrapper.
* src/visibility.h: Hanlde gcry_mac_get_algo.
* src/gcrypt-int.h (_gcry_mac_get_algo): New.
* src/gcrypt.h.in (gcry_mac_get_algo): New.
* src/libgcrypt.def (gcry_mac_get_algo): New.
* src/libgcrypt.vers (gcry_mac_get_algo): New.
* doc/gcrypt.texi: Document gcry_mac_get_algo.
* tests/basic.c (check_one_mac): Verify gcry_mac_get_algo.
  • Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>

Details

Provenance
lumagAuthored on Dec 27 2013, 9:37 AM
wernerCommitted on Jan 13 2014, 10:40 AM
Parents
rC36c9e0e4eb4f: Correct formatting of gcry_mac_get_algo_keylen documentation
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC8439a379c86e: Add a function to retrieve algorithm used by MAC handler (authored by Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>).Jan 13 2014, 10:40 AM