Commit Graph

18 Commits

Author SHA1 Message Date
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
Gregory Nutt
0c8c7fecf0 Add _ to the beginning of all debug macros to avoid name collisions 2016-06-16 12:33:32 -06:00
Gregory Nutt
27bc1a2221 drivers/sensors: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-11 18:21:49 -06:00
Gregory Nutt
a1469a3e95 Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err() 2016-06-11 15:50:49 -06:00
Pierre-noel Bouteville
41412d0ce9 * fix a bug in crc computation for ms583730
* implement POSIX read.
2016-05-27 07:05:20 -06:00
Gregory Nutt
009e9f76cb I2C: Fixes/improvements from last massive I2C commits 2016-02-02 07:13:03 -06:00
Gregory Nutt
f9053182d3 I2C: Remove setaddress method 2016-02-01 12:14:31 -06:00
Gregory Nutt
8c9bddf998 I2C: Eliminate the I2C_WRITE and I2C_READ macros 2016-02-01 08:57:22 -06:00
Gregory Nutt
3a781a2d3f Remove I2C slave methods from I2C master interface; rename i2c_dev_s to i2c_master_s. 2016-01-30 08:36:47 -06:00
Gregory Nutt
ceb415204e Move include/nuttx/i2c.h to include/nuttx/i2c/i2c_master.h 2016-01-30 08:00:16 -06:00
Gregory Nutt
96f57eb0d9 Merged in karim_keddam/nuttx (pull request #39)
Fixed error with temperature computation
2015-11-30 06:13:24 -06:00
Karim Keddam
190772edc5 Fixed error with temperature computation 2015-11-30 03:50:58 -05:00
Gregory Nutt
8d963e66cf Fix some stylistic issues found by tools/nxstyle 2015-11-17 17:31:57 -06:00
Gregory Nutt
5a99735782 (Hopefully) cosmetic changes from review of recent merges for conformance to coding standard 2015-11-17 16:54:15 -06:00
Karim Keddam
522d891759 Fixed a bug with the ms58xx sensor initialization 2015-11-17 17:21:46 -05:00
Karim Keddam
2578994e74 Fixed a bug with the CRC for the ms58xx sensor 2015-11-17 17:19:11 -05:00
Gregory Nutt
af086c40ff Remove dangling whitespace 2015-10-04 15:28:54 -06:00
Paul A. Patience
3303ef8c85 Added support for other MS58XX altimeters. 2015-08-14 20:04:16 -04:00