hmac.pod (160815) | hmac.pod (205128) |
---|---|
1=pod 2 3=head1 NAME 4 5HMAC, HMAC_Init, HMAC_Update, HMAC_Final, HMAC_cleanup - HMAC message 6authentication code 7 8=head1 SYNOPSIS --- 27 unchanged lines hidden (view full) --- 36B<key_len> bytes long. 37 38It places the result in B<md> (which must have space for the output of 39the hash function, which is no more than B<EVP_MAX_MD_SIZE> bytes). 40If B<md> is NULL, the digest is placed in a static array. The size of 41the output is placed in B<md_len>, unless it is B<NULL>. 42 43B<evp_md> can be EVP_sha1(), EVP_ripemd160() etc. | 1=pod 2 3=head1 NAME 4 5HMAC, HMAC_Init, HMAC_Update, HMAC_Final, HMAC_cleanup - HMAC message 6authentication code 7 8=head1 SYNOPSIS --- 27 unchanged lines hidden (view full) --- 36B<key_len> bytes long. 37 38It places the result in B<md> (which must have space for the output of 39the hash function, which is no more than B<EVP_MAX_MD_SIZE> bytes). 40If B<md> is NULL, the digest is placed in a static array. The size of 41the output is placed in B<md_len>, unless it is B<NULL>. 42 43B<evp_md> can be EVP_sha1(), EVP_ripemd160() etc. |
44B<key> and B<evp_md> may be B<NULL> if a key and hash function have 45been set in a previous call to HMAC_Init() for that B<HMAC_CTX>. | |
46 47HMAC_CTX_init() initialises a B<HMAC_CTX> before first use. It must be 48called. 49 50HMAC_CTX_cleanup() erases the key and other data from the B<HMAC_CTX> 51and releases any associated resources. It must be called when an 52B<HMAC_CTX> is no longer required. 53 --- 49 unchanged lines hidden --- | 44 45HMAC_CTX_init() initialises a B<HMAC_CTX> before first use. It must be 46called. 47 48HMAC_CTX_cleanup() erases the key and other data from the B<HMAC_CTX> 49and releases any associated resources. It must be called when an 50B<HMAC_CTX> is no longer required. 51 --- 49 unchanged lines hidden --- |