mirror of
https://github.com/apache/nuttx.git
synced 2026-10-13 17:20:20 +00:00
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. |
||
|---|---|---|
| .. | ||
| adxl345.h | ||
| adxl345_base.c | ||
| adxl345_i2c.c | ||
| adxl345_spi.c | ||
| as5048b.c | ||
| bh1750fvi.c | ||
| bmg160.c | ||
| bmp180.c | ||
| Kconfig | ||
| kxtj9.c | ||
| l3gd20.c | ||
| lis3dsh.c | ||
| lis3mdl.c | ||
| lis331dl.c | ||
| lm75.c | ||
| lm92.c | ||
| lsm9ds1.c | ||
| Make.defs | ||
| max6675.c | ||
| max31855.c | ||
| mb7040.c | ||
| mcp9844.c | ||
| mlx90393.c | ||
| mpl115a.c | ||
| ms58xx.c | ||
| qencoder.c | ||
| README.txt | ||
| veml6070.c | ||
| xen1210.c | ||
| xen1210.h | ||
| zerocross.c | ||
ADXL345 ======= The ADXL345 accelerometer can operate in I2C or SPI mode. To operate in I2C mode just connect the CS pin to Vddi/o. In order to operate in SPI mode CS need to use connected to microcontroller, it cannot leave unconnected. In SPI mode it works with clock polarity (CPOL) = 1 and clock phase (CPHA) = 1. MPL115A ======= This driver has support only for MPL115A1 (SPI), but support to MPL115A2 (I2C) can be added easily.