gnutls_crypto_register_mac - Online Linux Manual Page

Section : 3
Updated : 3.7.3
Source : gnutls
Note : gnutls

NAMEgnutls_crypto_register_mac − API function

SYNOPSIS#include <gnutls/crypto.h> int gnutls_crypto_register_mac(gnutls_mac_algorithm_t algorithm, int priority, gnutls_mac_init_func init, gnutls_mac_setkey_func setkey, gnutls_mac_setnonce_func setnonce, gnutls_mac_hash_func hash, gnutls_mac_output_func output, gnutls_mac_deinit_func deinit, gnutls_mac_fast_func hash_fast);

ARGUMENTSgnutls_mac_algorithm_t algorithm is the gnutls MAC identifier int priority is the priority of the algorithm gnutls_mac_init_func init A function which initializes the MAC gnutls_mac_setkey_func setkey A function which sets the key of the MAC gnutls_mac_setnonce_func setnonce A function which sets the nonce for the mac (may be NULL for common MAC algorithms) gnutls_mac_hash_func hash Perform the hash operation gnutls_mac_output_func output Provide the output of the MAC gnutls_mac_deinit_func deinit A function which deinitializes the MAC gnutls_mac_fast_func hash_fast Perform the MAC operation in one go

DESCRIPTIONThis function will register a MAC algorithm to be used by gnutls. Any algorithm registered will override the included algorithms and by convention kernel implemented algorithms have priority of 90 and CPU−assisted of 80. The algorithm with the lowest priority will be used by gnutls.

DEPRECATEDsince 3.7.0 it is no longer possible to override cipher implementation

RETURNSGNUTLS_E_SUCCESS on success, otherwise a negative error code.

SINCE3.4.0

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

COPYRIGHTCopyright © 2001- Free Software Foundation, Inc., and others.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.

SEE ALSOThe 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/ 
0
Johanes Gumabo
Data Size   :   7,501 byte
man-gnutls_crypto_register_mac.3Build   :   2025-03-22, 13:26   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   58 / 4,755,720
Visitor ID   :     :  
Visitor IP   :   216.73.216.132   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   20   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36


Very long time ago, I have the best tutor, Wenzel Svojanovsky. If someone knows the email address of Wenzel Svojanovsky, please send an email to johanesgumabo@gmail.com.

If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.