Xiang Xiao
32784b0898
libc: Refine the arc4random_buf implementation
...
fill the buffer with getrandom instead random pool
and move the implementation to from crypto to libc
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
2024-10-26 18:04:21 -03:00
Bowen Wang
821196eb22
lib_uuid_create: try use hardware random number generators first
...
Try the hardware random number generators is better for uuid generator
Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com >
2024-10-13 02:44:25 +08:00
Alin Jerpelea
6b5dddd5d7
libs/libc: migrate to SPDX identifier
...
Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com >
2024-10-01 12:25:52 +08:00
Petro Karashchenko
d499ac9d58
nuttx: fix multiple 'FAR', 'CODE' and style issues
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com >
2024-08-25 19:22:15 +08:00
Xiang Xiao
7aad7eebff
libc: Change errno to set_errno and get_errno
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
2023-10-29 17:16:09 +02:00
Xiang Xiao
0bd93a2a76
libc/uuid: Call getrandom instaed arc4random_buf
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
2022-03-25 13:48:33 +02:00
chao.an
859e1ce63a
crypto/arc4random: rename getrandom to arc4random_buf
...
Change-Id: I5c9f0c9acf5af71f01beceaf06ebe0a2c87676bc
Signed-off-by: chao.an <anchao@xiaomi.com >
2020-12-13 08:49:51 -06:00
Xiang Xiao
6c03a4e4d5
libc: Add uuid implemenation
...
specified by OpenGroup here:
https://pubs.opengroup.org/onlinepubs/009629399/toc.htm
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
Change-Id: I3bc585e7f4d41f6c2ea70e170276ab0d0399b088
2020-07-21 21:48:18 -07:00