File: crypto_stream_chacha20.h

package info (click to toggle)
tinyssh 20190101-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,188 kB
  • sloc: ansic: 11,914; sh: 1,005; python: 385; makefile: 18
file content (16 lines) | stat: -rw-r--r-- 862 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef crypto_stream_chacha20_H
#define crypto_stream_chacha20_H

#define crypto_stream_chacha20_tinynacl_KEYBYTES 32
#define crypto_stream_chacha20_tinynacl_NONCEBYTES 8
extern int crypto_stream_chacha20_tinynacl(unsigned char *, unsigned long long, const unsigned char *, const unsigned char *);
extern int crypto_stream_chacha20_tinynacl_xor(unsigned char *, const unsigned char *, unsigned long long, const unsigned char *, const unsigned char *);

#define crypto_stream_chacha20 crypto_stream_chacha20_tinynacl
#define crypto_stream_chacha20_xor crypto_stream_chacha20_tinynacl_xor
#define crypto_stream_chacha20_KEYBYTES crypto_stream_chacha20_tinynacl_KEYBYTES
#define crypto_stream_chacha20_NONCEBYTES crypto_stream_chacha20_tinynacl_NONCEBYTES
#define crypto_stream_chacha20_IMPLEMENTATION "tinynacl"
#define crypto_stream_chacha20_VERSION "-"

#endif