File: crypto.h

package info (click to toggle)
tinyssh 20250501-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,388 kB
  • sloc: ansic: 20,245; sh: 1,582; python: 1,449; makefile: 913
file content (31 lines) | stat: -rw-r--r-- 837 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* allways include local versions */
#include "crypto_int16.h"
#include "crypto_int32.h"
#include "crypto_int64.h"
#include "crypto_int8.h"
#include "crypto_uint16.h"
#include "crypto_uint32.h"
#include "crypto_uint64.h"
#include "crypto_uint8.h"
#include "crypto_verify_16.h"
#include "crypto_verify_32.h"

/* include randombytes from librandombytes */
#include "haslibrandombytes.h"
#ifdef HASLIBRANDOMBYTES
#include <randombytes.h>
#else
#include "randombytes.h"
#endif

/* TODO */
#include "crypto_hash_sha256.h"
#include "crypto_hash_sha512.h"
#include "crypto_kem_sntrup761.h"
#include "crypto_kem_sntrup761x25519.h"
#include "crypto_onetimeauth_poly1305.h"
#include "crypto_scalarmult_curve25519.h"
#include "crypto_dh_x25519.h"
#include "crypto_sign_ed25519.h"
#include "crypto_sort_uint32.h"
#include "crypto_stream_chacha20.h"