Searched refs:POLY1305_TAGLEN (Results 1 - 8 of 8) sorted by relevance
/openbsd-current/usr.bin/ssh/ |
H A D | poly1305.h | 14 #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)))
|
H A D | cipher-chachapoly.c | 58 * POLY1305_TAGLEN bytes at offset 'len'+'aadlen' as the authentication 67 u_char expected_tag[POLY1305_TAGLEN], poly_key[POLY1305_KEYLEN]; 85 if (timingsafe_bcmp(expected_tag, tag, POLY1305_TAGLEN) != 0) {
|
H A D | cipher-chachapoly-libcrypto.c | 74 * POLY1305_TAGLEN bytes at offset 'len'+'aadlen' as the authentication 83 u_char expected_tag[POLY1305_TAGLEN], poly_key[POLY1305_KEYLEN]; 104 if (timingsafe_bcmp(expected_tag, tag, POLY1305_TAGLEN) != 0) {
|
H A D | poly1305.c | 29 poly1305_auth(unsigned char out[POLY1305_TAGLEN], const unsigned char *m, size_t inlen, const unsigned char key[POLY1305_KEYLEN]) {
|
/openbsd-current/sys/crypto/ |
H A D | chachapoly.h | 38 #define POLY1305_TAGLEN 16 macro 61 void Chacha20_Poly1305_Final(uint8_t[POLY1305_TAGLEN], void *); 65 #define CHACHA20POLY1305_AUTHTAG_SIZE POLY1305_TAGLEN
|
H A D | chachapoly.c | 108 Chacha20_Poly1305_Final(uint8_t tag[POLY1305_TAGLEN], void *xctx)
|
H A D | xform.c | 294 CHACHA20_KEYSIZE+CHACHA20_SALT, POLY1305_BLOCK_LEN, POLY1305_TAGLEN,
|
/openbsd-current/regress/sys/crypto/chachapoly/ |
H A D | chachapoly_test.c | 378 u_char *p, *data[TST_NUM], tag[POLY1305_TAGLEN]; 420 fail = !match(data[TST_TAG], tag, POLY1305_TAGLEN);
|
Completed in 143 milliseconds