ZeroTierOne/ext/x64-salsa2012-asm/salsa2012.h

17 lines
340 B
C
Raw Normal View History

2017-04-19 22:58:20 +00:00
#ifndef ZT_X64_SALSA2012_ASM
#define ZT_X64_SALSA2012_ASM
#ifdef __cplusplus
extern "C" {
#endif
2017-04-18 19:22:44 +00:00
// Generates Salsa20/12 key stream
// output, outlen, nonce, key (256-bit / 32-byte)
2017-04-18 19:22:44 +00:00
extern int zt_salsa2012_amd64_xmm6(unsigned char *, unsigned long long, const unsigned char *, const unsigned char *);
#ifdef __cplusplus
}
#endif
2017-04-19 22:58:20 +00:00
#endif