New answers tagged

3 votes

RSA/ ECC keygen HW vs SW

Regardless of the physical protection provided by an HSM or TPM or any hardware cryptographic key storage system, are keys generated in hardware “higher quality” than those generated in software? ...
Maarten Bodewes's user avatar
  • 91.7k
0 votes

Given PRNG $G(s)$, why is $G(s) || G(s+1)$ not a PRNG?

Here's yet another proof. The idea is to use $L$ against itself! Suppose $L(s)$ is PRG, so we can use it in place of $G$, which will lead to: $$H(s)=L(s)\|L(s+1)=G(s)\|G(s+1)\|G(s+1)\|G(s+2)$$ Since ...
Am.A's user avatar
  • 1
0 votes

Should I Test A PRNG Using A Fixed Entropy Source For Its Seed?

Hi and welcome to the site. On the basis that you "want to test a C implementation of Hash_DRBG", I'm assuming that you mean a perfect representation of their algorithm. You have no choice ...
Paul Uszak's user avatar
  • 15.1k
1 vote
Accepted

Should I Test A PRNG Using A Fixed Entropy Source For Its Seed?

In general, it's a good idea to test implementations of cryptographic algorithms. It's very easy to accidentally make a mistake in implementation, and testing using known inputs and test vectors is a ...
bk2204's user avatar
  • 2,971

Top 50 recent answers are included