diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-04-19 15:58:20 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-04-19 15:58:20 -0700 |
commit | 8e1ac9fb0cd3c8c60370e5cc47154edf13bdd814 (patch) | |
tree | 97d56191a304a45cf7e91b12cb93df58478ea3bb /ext/arm32-neon-salsa2012-asm/salsa2012.h | |
parent | bc61357a44cf4906dda2b30c4474ae891982e620 (diff) | |
download | infinitytier-8e1ac9fb0cd3c8c60370e5cc47154edf13bdd814.tar.gz infinitytier-8e1ac9fb0cd3c8c60370e5cc47154edf13bdd814.zip |
ARM NEON Salsa20/12.
Diffstat (limited to 'ext/arm32-neon-salsa2012-asm/salsa2012.h')
-rw-r--r-- | ext/arm32-neon-salsa2012-asm/salsa2012.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/arm32-neon-salsa2012-asm/salsa2012.h b/ext/arm32-neon-salsa2012-asm/salsa2012.h new file mode 100644 index 00000000..7820a2e6 --- /dev/null +++ b/ext/arm32-neon-salsa2012-asm/salsa2012.h @@ -0,0 +1,15 @@ +#ifndef ZT_SALSA2012_ARM32NEON_ASM +#define ZT_SALSA2012_ARM32NEON_ASM + +#ifdef __cplusplus +extern "C" { +#endif + +// ciphertext buffer, message/NULL, length, nonce (8 bytes), key (32 bytes) +extern int zt_salsa2012_armneon3_xor(unsigned char *c,const unsigned char *m,unsigned long long len,const unsigned char *n,const unsigned char *k); + +#ifdef __cplusplus +} +#endif + +#endif |