mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-21 05:43:59 -07:00
ARM NEON Salsa20/12.
This commit is contained in:
parent
bc61357a44
commit
8e1ac9fb0c
4 changed files with 2257 additions and 0 deletions
15
ext/arm32-neon-salsa2012-asm/salsa2012.h
Normal file
15
ext/arm32-neon-salsa2012-asm/salsa2012.h
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue