- Deutschland
- https://www.cscherr.de
-
I study cybersecurity focused computer science at DHBW Mannheim, while working at NewTec.
- Joined on
2023-04-16
rand
and rand_max
flags
rand
and rand_max
flags
Correction: we just push some random numbers in the main function, testing that would be a waste of time (and weird, since we'd need to move that part to a new function). Is there actually…
rand
and rand_max
flags
Testing that the csprng produces randomness of a good statistically (secure) distribution is out of scope. We cant supply a seed either as we use OsRng
. We can test that the random values are in…
rand
and rand_max
flags
usize
/ does not compile with usize
usize
/ does not compile with usize
This makes sense, as usize
is guaranteed to be at least a 16 bit unsigned integer, but has no guaranteed max value. THerefore, in the future it could be larger than u128
(on 256-bit systems.).…
usize
/ does not compile with usize
We have a test testing for this (parser_generics
), but it does not test for usize
. usize
is the only affected unsigned int.
usize
/ does not compile with usize
limitation in libpt, will need to fix upstream