Home
last modified time | relevance | path

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

/external/openssh/
Dpoly1305.h14 #define POLY1305_TAGLEN 16 macro
16 void poly1305_auth(u_char out[POLY1305_TAGLEN], const u_char *m, size_t inlen,
18 __attribute__((__bounded__(__minbytes__, 1, POLY1305_TAGLEN)))
Dcipher-chachapoly.c75 u_char expected_tag[POLY1305_TAGLEN], poly_key[POLY1305_KEYLEN]; in chachapoly_crypt()
93 if (timingsafe_bcmp(expected_tag, tag, POLY1305_TAGLEN) != 0) { in chachapoly_crypt()
Dcipher-chachapoly-libcrypto.c91 u_char expected_tag[POLY1305_TAGLEN], poly_key[POLY1305_KEYLEN]; in chachapoly_crypt()
112 if (timingsafe_bcmp(expected_tag, tag, POLY1305_TAGLEN) != 0) { in chachapoly_crypt()
Dpoly1305.c34 poly1305_auth(unsigned char out[POLY1305_TAGLEN], const unsigned char *m, size_t inlen, const unsig… in poly1305_auth() argument
/external/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
/external/libwebsockets/plugins/ssh-base/include/
Dlws-ssh.h50 #define POLY1305_TAGLEN 16 macro
581 poly1305_auth(u_char out[POLY1305_TAGLEN], const u_char *m, size_t inlen,