We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ba075b commit 8b0fb5fCopy full SHA for 8b0fb5f
targets/TARGET_Samsung/security_subsystem/api/trng_api.c
@@ -42,6 +42,7 @@ int trng_get_bytes(trng_t *obj, uint8_t *output, size_t length, size_t *output_l
42
unsigned int ret = 0;
43
44
stRANDOM.pu08Data = (u08 *)output;
45
+ //generate an approximation of 1
46
ret = sss_generate_rawrandom(&stRANDOM, length);
47
48
*output_length = (size_t)stRANDOM.u32DataByteLen;
0 commit comments