Home
last modified time | relevance | path

Searched refs:POLY1305_TAGLEN (Results 1 – 3 of 3) sorted by relevance

/third_party/libwebsockets/plugins/ssh-base/crypto/
Dchacha.c258 keys->MAC_length = POLY1305_TAGLEN; in lws_chacha_activate()
307 u_char expected_tag[POLY1305_TAGLEN], poly_key[POLY1305_KEYLEN]; in chachapoly_crypt()
325 if (lws_timingsafe_bcmp(expected_tag, tag, POLY1305_TAGLEN)) { in chachapoly_crypt()
358 return chachapoly_crypt(keys, seq, pt, ct, len - POLY1305_TAGLEN - 4, 4, in lws_chacha_decrypt()
359 POLY1305_TAGLEN, 0); in lws_chacha_decrypt()
Dpoly1305.c28 poly1305_auth(unsigned char out[POLY1305_TAGLEN], in poly1305_auth() argument
/third_party/libwebsockets/plugins/ssh-base/include/
Dlws-ssh.h54 #define POLY1305_TAGLEN 16 macro
590 poly1305_auth(u_char out[POLY1305_TAGLEN], const u_char *m, size_t inlen,