ThalesGroup / pycryptoki

Python interface to SafeNet's PKCS11 library implementation
Apache License 2.0
58 stars 22 forks source link

NameError: name 'CK_NIST_PRF_KDF_HMAC_SHA256' is not defined #31

Closed sinu closed 2 years ago

sinu commented 2 years ago

@astraw38

can we define support for CK_NIST_PRF_KDF_HMAC_SHA256 in the module, i am getting the below error.

File "getobjtv2try.py", line 86, in mech = get_prf_kdf_mech() File "getobjtv2try.py", line 47, in get_prf_kdf_mech params.prfType = CK_NIST_PRF_KDF_HMAC_SHA256 NameError: name 'CK_NIST_PRF_KDF_HMAC_SHA256' is not defined