aws-samples / aws-cloudhsm-pkcs11-examples

Sample applications demonstrating how to use the CloudHSM PKCS#11 library
Other
52 stars 37 forks source link

Remove invalid hmac_kdf counter length #37

Closed jfritche closed 4 years ago

jfritche commented 4 years ago

This change corrects a comment in the hmac_kdf_sample which indicated that 64 bit kdf counters were supported. This was not within the NIST SP800 108 specification and has been removed.

There were also duplicates of the hmac_kdf example, so hmac_kdf/hmac_kdf.c has been removed, and derivation/counter_kdf has been renamed to derivation_hmac_kdf. The cmake files have been updated appropriately.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.