summaryrefslogtreecommitdiff
path: root/ext/x64-salsa2012-asm/salsa2012.h
blob: 73e375ebe815c8764702619ce7c095453c9e83b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef ZT_X64_SALSA2012_ASM
#define ZT_X64_SALSA2012_ASM

#ifdef __cplusplus
extern "C" {
#endif

// Generates Salsa20/12 key stream
// output, outlen, nonce, key (256-bit / 32-byte)
extern int zt_salsa2012_amd64_xmm6(unsigned char *, unsigned long long, const unsigned char *, const unsigned char *);

#ifdef __cplusplus
}
#endif

#endif