You've already forked opencryptoki
mirror of
https://github.com/opencryptoki/opencryptoki.git
synced 2026-10-25 17:39:16 +03:00
CCA return code 8 / 2149 means "The key to be generated is stronger than
the input material.". Translate this into CKR_KEY_SIZE_RANGE.
This can occur when the NIST security strength requirements are enforced
by CCA, regarding ECC curve type (input) and derived key-length.
Fixes: a40e798c35
Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>