File: crypto_stream_salsa20.h

package info (click to toggle)
dq 20230101-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,020 kB
  • sloc: ansic: 8,269; makefile: 363; sh: 176; python: 82
file content (16 lines) | stat: -rw-r--r-- 839 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef crypto_stream_salsa20_H
#define crypto_stream_salsa20_H

#define crypto_stream_salsa20_tinynacl_KEYBYTES 32
#define crypto_stream_salsa20_tinynacl_NONCEBYTES 8
extern int crypto_stream_salsa20_tinynacl(unsigned char *,unsigned long long,const unsigned char *,const unsigned char *);
extern int crypto_stream_salsa20_tinynacl_xor(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned char *);

#define crypto_stream_salsa20 crypto_stream_salsa20_tinynacl
#define crypto_stream_salsa20_xor crypto_stream_salsa20_tinynacl_xor
#define crypto_stream_salsa20_KEYBYTES crypto_stream_salsa20_tinynacl_KEYBYTES
#define crypto_stream_salsa20_NONCEBYTES crypto_stream_salsa20_tinynacl_NONCEBYTES
#define crypto_stream_salsa20_IMPLEMENTATION "tinynacl"
#define crypto_stream_salsa20_VERSION "-"

#endif