[PATCH v2 0/3] scute: Implement C_GenerateRandom function.

Damien Goutte-Gattat dgouttegattat at incenp.org
Wed Apr 6 09:16:57 CEST 2016


Hi,

Thank you Werner for the parsing code snippet, that was very helpful!

For convenience, I re-send the whole modified patch set.

Damien Goutte-Gattat (3):
  Implement C_GenerateRandom.
  Check whether the card has a RNG.
  Add test for C_GenerateRandom.

 src/agent.c              |  60 +++++++++++++++++++++++++++
 src/agent.h              |   5 +++
 src/p11-generaterandom.c |  28 ++++++++++---
 src/p11-gettokeninfo.c   |   7 +++-
 src/slots.c              |   9 ++++
 src/slots.h              |   3 ++
 tests/Makefile.am        |   2 +-
 tests/t-generaterandom.c | 105 +++++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 211 insertions(+), 8 deletions(-)
 create mode 100644 tests/t-generaterandom.c

-- 
2.7.4




More information about the Gnupg-devel mailing list