tpm2-software / tpm2-tss-engine

OpenSSL Engine for TPM2 devices
https://tpm2-software.github.io
BSD 3-Clause "New" or "Revised" License
148 stars 97 forks source link

add rand_seed. rand_bytes reuse buffer b #239

Closed aaronUniontech closed 2 years ago

aaronUniontech commented 2 years ago

Signed-off-by: zhangya zhangya@uniontech.com

AndreasFuchsTPM commented 2 years ago

So all changes to rand_bytes() should not be part of this PR, but be a different PR, since they are unrelated to the purpose of StirRandom. Also you need to squash all your commits into a single one, that includes some more information and also a signed-off tag. Then, since this is a new functionality, I'd like to see a second commit, that introduces a test script invoking the new functionality.

One we got this, I'll be very happy to merge this. Sorry for so many requests at once, but that's what makes a good PR. :-)

aaronUniontech commented 2 years ago

ok