File: randombytes.h

package info (click to toggle)
librandombytes 0~20240318-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 328 kB
  • sloc: ansic: 411; python: 340; sh: 137; makefile: 23
file content (24 lines) | stat: -rw-r--r-- 483 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// version 20230126
// public domain
// djb

// public API: randombytes()

#ifndef randombytes_h
#define randombytes_h

#define randombytes randombytes_internal_void_voidstar_longlong
#define randombytes_source randombytes_internal_source

#ifdef __cplusplus
extern "C" {
#endif

extern void randombytes(void *,long long) __attribute__((visibility("default")));
extern const char *randombytes_source(void) __attribute__((visibility("default")));

#ifdef __cplusplus
}
#endif

#endif