summaryrefslogtreecommitdiff
path: root/ta
diff options
context:
space:
mode:
authorEtienne Carriere <etienne.carriere@linaro.org>2020-11-03 21:50:41 +0100
committerJérôme Forissier <jerome@forissier.org>2020-11-10 10:42:00 +0100
commit27024524f0a5612864471684ccd1e4758644b154 (patch)
tree7a6ddef76135651753a1cc195d4e65e23ca4f101 /ta
parent17ee31f8fe85bc3589d49328d05d8efc8a1e8afb (diff)
ta: sks: stringify error core KEY_SIZE_RANGE
Add string converter for PKCS11_CKR_KEY_SIZE_RANGE that can be returned by check_created_attrs(). Actually check_created_attrs() is currently never called. It is however intended to key/object wrapping, derivation and generation. Reviewed-by: Ruchika Gupta <ruchika.gupta@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Diffstat (limited to 'ta')
-rw-r--r--ta/pkcs11/src/pkcs11_helpers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ta/pkcs11/src/pkcs11_helpers.c b/ta/pkcs11/src/pkcs11_helpers.c
index 654fb6e7..47bbec05 100644
--- a/ta/pkcs11/src/pkcs11_helpers.c
+++ b/ta/pkcs11/src/pkcs11_helpers.c
@@ -246,6 +246,7 @@ static const struct any_id __maybe_unused string_rc[] = {
PKCS11_ID(PKCS11_CKR_USER_PIN_NOT_INITIALIZED),
PKCS11_ID(PKCS11_CKR_USER_TOO_MANY_TYPES),
PKCS11_ID(PKCS11_CKR_USER_TYPE_INVALID),
+ PKCS11_ID(PKCS11_CKR_KEY_SIZE_RANGE),
PKCS11_ID(PKCS11_CKR_SESSION_READ_ONLY_EXISTS),
PKCS11_ID(PKCS11_RV_NOT_FOUND),
PKCS11_ID(PKCS11_RV_NOT_IMPLEMENTED),