diff options
author | Rob Austein <sra@hactrn.net> | 2016-07-12 00:46:39 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-07-12 00:46:39 -0400 |
commit | cb5d8f43f43f7b9261c7ab2d42979ea625986f4c (patch) | |
tree | 4084492158f7e707230996f63047267637558e90 /p11util.c | |
parent | ee6386f2774d24c1dda6ba08383db55c70b05aaf (diff) |
Add a few missing informational functions that pkcs11-tool wanted.
opensc's pkcs11-tool wants to use C_GetInfo(), C_GetSlotInfo(), and
C_GetMechanismList(). All are trivial functions, but we hadn't
implemented any of them. As with most of the informational functions,
some of the returned values are nonsense: in the long run, fixing this
just means adding one or more new informational queries to the RPC
protocol, but I'm not going to do that while we're in, well, not code
freeze, but at least code jello.
Adding C_GetMechanismList() exposed that we had never added all the
SHA-224 variants to pkcs11.c: since these are just a pass-through to
libhal, adding them now seems low-risk (famous last words).
Closes #40.
Diffstat (limited to 'p11util.c')
0 files changed, 0 insertions, 0 deletions