1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

Update to the new name in usages as well

Somehow the uses of the function were missed when renaming.

Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
David Horstmann
2025-03-28 10:57:45 +00:00
parent ab7bb5734d
commit 5a5440e63a
2 changed files with 3 additions and 3 deletions

View File

@ -1145,7 +1145,7 @@ int mbedtls_cipher_set_padding_mode(mbedtls_cipher_context_t *ctx,
#if defined(MBEDTLS_CIPHER_PADDING_PKCS7)
case MBEDTLS_PADDING_PKCS7:
ctx->add_padding = add_pkcs_padding;
ctx->get_padding = get_pkcs_padding;
ctx->get_padding = mbedtls_get_pkcs_padding;
break;
#endif
#if defined(MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS)

View File

@ -1272,7 +1272,7 @@ void get_pkcs_padding(data_t *decrypted_block, int exp_ret, int exp_len)
size_t calculated_len;
TEST_CF_SECRET(decrypted_block->x, decrypted_block->len);
ret = get_pkcs_padding(decrypted_block->x, decrypted_block->len,
ret = mbedtls_get_pkcs_padding(decrypted_block->x, decrypted_block->len,
&calculated_len);
TEST_CF_PUBLIC(decrypted_block->x, decrypted_block->len);