[crypto-platform] fix build issue with mbedtls v3.5.0 (#9492)

As per the mbedTLS v3.5.0 release notes:

Ref: https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-3.5.0

MBEDTLS_CIPHER_BLKSIZE_MAX is deprecated in favor of
MBEDTLS_MAX_BLOCK_LENGTH (if you intended what the name suggests:
maximum size of any supported block cipher) or the new name
MBEDTLS_CMAC_MAX_BLOCK_SIZE (if you intended the actual semantics:
maximum size of a block cipher supported by the CMAC module).

This commit fixes the build issue keeping the backward compatibility
intact.
This commit is contained in:
Mahavir Jain
2023-10-08 20:48:54 -07:00
committed by GitHub
parent 50e20c8958
commit 017c7ab915
3 changed files with 19 additions and 9 deletions
+1 -1
View File
@@ -196,7 +196,7 @@ jobs:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
repository: ARMmbed/mbedtls
ref: v3.2.1
ref: v3.5.0
path: third_party/mbedtls/repo
- name: Build
run: |