Skip to content

Commit 7f04214

Browse files
committed
psa: Rename PSA_HASH_FINAL_SIZE to PSA_HASH_SIZE
The macro PSA_HASH_FINAL_SIZE no longer exists and all instances of it should be replaced by PSA_HASH_SIZE. Replace all remaining instances of PSA_HASH_FINAL_SIZE with PSA_HASH_SIZE.
1 parent c979f6a commit 7f04214

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/psa/crypto_sizes.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,9 @@
292292
(plaintext_length) - PSA_AEAD_TAG_LENGTH(alg) : \
293293
0)
294294

295-
#define PSA_RSA_MINIMUM_PADDING_SIZE(alg) \
296-
(PSA_ALG_IS_RSA_OAEP(alg) ? \
297-
2 * PSA_HASH_FINAL_SIZE(PSA_ALG_RSA_OAEP_GET_HASH(alg)) + 1 : \
295+
#define PSA_RSA_MINIMUM_PADDING_SIZE(alg) \
296+
(PSA_ALG_IS_RSA_OAEP(alg) ? \
297+
2 * PSA_HASH_SIZE(PSA_ALG_RSA_OAEP_GET_HASH(alg)) + 1 : \
298298
11 /*PKCS#1v1.5*/)
299299

300300
/**

0 commit comments

Comments
 (0)