logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

gnutls_hmac_get_key_size - API function

Arguments

gnutls_mac_algorithm_t algorithm the mac algorithm to use

Description

This function will return the size of the key to be used with this algorithm. On the algorithms which may accept arbitrary key sizes, the returned size is the MAC key size used in the TLS protocol.

Name

gnutls_hmac_get_key_size - API function

Reporting Bugs

Report bugs to <bugs@gnutls.org>. Home page: https://www.gnutls.org

Returns

The key size or zero on error.

See Also

The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form visit https://www.gnutls.org/manual/ gnutls 3.8.9 gnutls_hmac_get_key_size(3)

Since

3.6.12

Synopsis

#include<gnutls/crypto.h>unsignedgnutls_hmac_get_key_size(gnutls_mac_algorithm_talgorithm);

See Also