Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   gnutls_hmac_get_key_size    ( 3 )

Функции API (API function)

Имя (Name)

gnutls_hmac_get_key_size - API function

Синопсис (Synopsis)

#include <gnutls/crypto.h>

unsigned gnutls_hmac_get_key_size(gnutls_mac_algorithm_t algorithm);


Аргументы (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.

Возвращаемое значение (Return value)

The key size or zero on error.

Сообщение об ошибках (Reporting bugs)

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

Смотри также (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/