aboutsummaryrefslogtreecommitdiff
path: root/aes_keywrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'aes_keywrap.c')
-rw-r--r--aes_keywrap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/aes_keywrap.c b/aes_keywrap.c
index b8f505f..cc62676 100644
--- a/aes_keywrap.c
+++ b/aes_keywrap.c
@@ -53,6 +53,8 @@ static hal_error_t load_kek(const uint8_t *K, const size_t K_len, const kek_acti
case bitsToBytes(256):
config[3] |= AES_CONFIG_KEYLEN;
break;
+ case bitsToBytes(192):
+ return HAL_ERROR_UNSUPPORTED_KEY;
default:
return HAL_ERROR_BAD_ARGUMENTS;
}