commit | 03182e99b63baee25ca221715787409ad557b8b7 | [log] [tgz] |
---|---|---|
author | Gilles Peskine <Gilles.Peskine@arm.com> | Wed Mar 07 16:40:52 2018 +0100 |
committer | itayzafrir <itay.zafrir@arm.com> | Wed Sep 05 11:53:25 2018 +0300 |
tree | 835068937c9c78464f14960db275c735c3f39518 | |
parent | f5b9fa13e0f8d6de66c08d6fcfaaf1250059902f [diff] |
Fix parameter name in PSA_BLOCK_CIPHER_BLOCK_SIZE
diff --git a/include/psa/crypto.h b/include/psa/crypto.h index 48586a2..cc9881b 100644 --- a/include/psa/crypto.h +++ b/include/psa/crypto.h
@@ -178,7 +178,7 @@ #define PSA_KEY_TYPE_IS_ECC(type) \ (((type) & ~PSA_KEY_TYPE_ECC_CURVE_MASK) == PSA_KEY_TYPE_ECC_BASE) -#define PSA_BLOCK_CIPHER_BLOCK_SIZE(key_type) \ +#define PSA_BLOCK_CIPHER_BLOCK_SIZE(type) \ ( \ (type) == PSA_KEY_TYPE_AES ? 16 : \ (type) == PSA_KEY_TYPE_DES ? 8 : \