diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-10-22 07:17:25 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-10-22 07:17:25 +0200 |
commit | 7effba9d98e8a39ee1504192d02d40e86d90b19a (patch) | |
tree | d80632537083c18c2d608db2b4b40a77ad361c92 /sys/man | |
parent | a3c155704117d99f4c7486f9cf48d0a281997ff1 (diff) |
libsec: add poly1305
Diffstat (limited to 'sys/man')
-rw-r--r-- | sys/man/2/sechash | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/man/2/sechash b/sys/man/2/sechash index 4fd9f4f08..2f1c85438 100644 --- a/sys/man/2/sechash +++ b/sys/man/2/sechash @@ -2,7 +2,7 @@ .SH NAME md4, md5, sha1, sha2_224, sha2_256, sha2_384, sha2_512, -ripemd160, +ripemd160, poly1305, hmac_x, hmac_md5, hmac_sha1, hmac_sha2_224, hmac_sha2_256, hmac_sha2_384, hmac_sha2_512, md5pickle, md5unpickle, @@ -58,6 +58,8 @@ DS* sha2_512(uchar *data, ulong dlen, uchar *digest, DS *state) .Ti DS* ripemd160(uchar *data, ulong dlen, uchar *digest, DS *state) .Ti +DS* poly1305(uchar *p, ulong len, uchar *key, ulong klen, uchar *digest, DS *state) +.Ti DS* hmac_x(uchar *p, ulong len, uchar *key, ulong klen, uchar *digest, DS *s, DS*(*x)(uchar*, ulong, uchar*, DS*), int xlen) .Ti DS* hmac_md5(uchar *data, ulong dlen, uchar *key, ulong klen, uchar *digest, DS *state) @@ -92,6 +94,7 @@ The routines .IR sha2_384 , .IR sha2_512 , .IR ripemd160 , +.IR poly1305 , .IR hmac_md5 , .IR hmac_sha1 , .IR hmac_sha2_224 , @@ -149,6 +152,10 @@ internally, but .I hmac_x is not intended for general use. .PP +.IR Poly1305 +is a one-time authenticator designed by D. J. Bernstein. It takes a 32-byte +one-time key and a message and produces a 16-byte tag. +.PP The functions .I md5pickle and |