• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..07-Mar-2022-

benchmarks/H07-Mar-2022-3,0802,234

Makefile.inH A D07-Mar-20221.1 KiB4522

READMEH A D07-Mar-2022684 1612

pkcs11-hmacmd5.cH A D07-Mar-20227.7 KiB328243

pkcs11-md5sum.cH A D07-Mar-20225.6 KiB231153

README

1"pkcs11-hmacmd5" is here to check for the presence of a known bug in
2the Thales nCipher PKCS#11 provider library.  To test for the bug, use
3pkcs11-hmacmd5 to hash a test vector from RFC 2104, and determine
4whether the resulting digest is is correct.  For instance:
5
6    echo -n "Hi There" | \
7        ./pkcs11-hmacmd5 -p <PIN> -k '0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b'
8
9...must return "9294727a3638bb1c13f48ef8158bfc9d".
10
11If any other value is returned, then the provider library is buggy,
12and theflag PK11_MD5_HMAC_REPLACE must be defined in
13lib/isc/include/pk11/site.h
14However, if the correct value is returned, then it is safe to turn
15off PK11_MD5_HMAC_REPLACE. (It is on by default.)
16