nuttx/syscall/syscall.csv
Jussi Kivilinna dffb8a67e3 Add entropy pool and strong random number generator
Entropy pool gathers environmental noise from device drivers, user-space, etc., and returns good random numbers, suitable for cryptographic use. Based on entropy pool design from *BSDs and uses BLAKE2Xs algorithm for CSPRNG output.

Patch also adds /dev/urandom support for using entropy pool RNG and new 'getrandom' system call for getting randomness without file-descriptor usage (thus avoiding file-descriptor exhaustion attacks). The 'getrandom' interface is similar as 'getentropy' and 'getrandom' available on OpenBSD and Linux respectively.
2017-03-30 07:38:37 -06:00

18 KiB

1_exitunistd.hvoidint
2aio_readaio.hdefined(CONFIG_FS_AIO)intFAR struct aiocb *
3aio_writeaio.hdefined(CONFIG_FS_AIO)intFAR struct aiocb *
4atexitstdlib.hdefined(CONFIG_SCHED_ATEXIT)intvoid (*)(void)
5closeunistd.hCONFIG_NSOCKET_DESCRIPTORS > 0 || CONFIG_NFILE_DESCRIPTORS > 0intint
6closedirdirent.hCONFIG_NFILE_DESCRIPTORS > 0intFAR DIR*
7dupunistd.hCONFIG_NFILE_DESCRIPTORS > 0intint
8exitstdlib.hvoidint
9fsyncunistd.hCONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_MOUNTPOINT)intint
10getenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)FAR char*FAR const char*
11modhandlenuttx/module.hdefined(CONFIG_MODULE)FAR void *FAR const char *
12mq_closemqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_t
13mq_unlinkmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intconst char*
14opendirdirent.hCONFIG_NFILE_DESCRIPTORS > 0FAR DIR*FAR const char*
15pthread_barrier_destroypthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_barrier_t*
16pthread_barrier_waitpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_barrier_t*
17pthread_cancelpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_t
18pthread_cleanup_poppthread.hdefined(CONFIG_PTHREAD_CLEANUP)voidint
19pthread_cond_broadcastpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t*
20pthread_cond_destroypthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t*
21pthread_cond_signalpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t*
22pthread_detachpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_t
23pthread_exitpthread.h!defined(CONFIG_DISABLE_PTHREAD)voidpthread_addr_t
24pthread_getspecificpthread.h!defined(CONFIG_DISABLE_PTHREAD)FAR void*pthread_key_t
25pthread_key_deletepthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_key_t
26pthread_mutex_destroypthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t*
27pthread_mutex_lockpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t*
28pthread_mutex_trylockpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t*
29pthread_mutex_unlockpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t*
30pthread_mutex_consistentpthread.h!defined(CONFIG_DISABLE_PTHREAD) && !defined(CONFIG_PTHREAD_MUTEX_UNSAFE)intFAR pthread_mutex_t*
31putenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)intFAR const char*
32readdirdirent.hCONFIG_NFILE_DESCRIPTORS > 0FAR struct dirent*FAR DIR*
33rewinddirdirent.hCONFIG_NFILE_DESCRIPTORS > 0voidFAR DIR*
34rmdirunistd.hCONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char*
35rmmodnuttx/module.hdefined(CONFIG_MODULE)intFAR void *
36sched_getschedulersched.hintpid_t
37sem_closesemaphore.hdefined(CONFIG_FS_NAMED_SEMAPHORES)intFAR sem_t*
38sem_destroysemaphore.hintFAR sem_t*
39sem_postsemaphore.hintFAR sem_t*
40sem_trywaitsemaphore.hintFAR sem_t*
41sem_unlinksemaphore.hdefined(CONFIG_FS_NAMED_SEMAPHORES)intFAR const char*
42sem_waitsemaphore.hintFAR sem_t*
43set_errnoerrno.h!defined(__DIRECT_ERRNO_ACCESS)voidint
44shmdtsys/shm.hdefined(CONFIG_MM_SHM)intFAR const void *
45sigpendingsignal.h!defined(CONFIG_DISABLE_SIGNALS)intFAR sigset_t*
46sigsuspendsignal.h!defined(CONFIG_DISABLE_SIGNALS)intFAR const sigset_t*
47task_deletesched.hintpid_t
48task_restartsched.hintpid_t
49telldirdirent.hCONFIG_NFILE_DESCRIPTORS > 0off_tFAR DIR*
50timer_deletetime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_t
51timer_getoverruntime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_t
52unamesys/utsname.hintFAR struct utsname*
53unlinkunistd.hCONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char*
54unsetenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)intconst char*
55waitsys/wait.hdefined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT)pid_tint*