Home
last modified time | relevance | path

Searched refs:mbedtls_cipher_set_padding_mode (Results 1 – 9 of 9) sorted by relevance

/mbedtls-3.6.0/tests/suites/
Dtest_suite_cipher.function246 /* mbedtls_cipher_set_padding_mode() */
247 TEST_ASSERT(mbedtls_cipher_set_padding_mode(&invalid_ctx, valid_mode) ==
401 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx_dec, pad_mode));
402 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx_enc, pad_mode));
531 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx, pad_mode));
606 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx_dec,
692 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx_dec, pad_mode));
693 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx_enc, pad_mode));
804 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx, pad_mode));
1107 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx, MBEDTLS_PADDING_NONE));
[all …]
/mbedtls-3.6.0/library/
Dpsa_crypto_cipher.c204 ret = mbedtls_cipher_set_padding_mode(&operation->ctx.cipher, in psa_cipher_setup()
208 ret = mbedtls_cipher_set_padding_mode(&operation->ctx.cipher, in psa_cipher_setup()
Dpkcs12.c219 if ((ret = mbedtls_cipher_set_padding_mode(&cipher_ctx, padding)) != 0) { in mbedtls_pkcs12_pbe_ext()
Dpkcs5.c248 if ((ret = mbedtls_cipher_set_padding_mode(&cipher_ctx, padding)) != 0) { in mbedtls_pkcs5_pbes2_ext()
Dcipher.c1103 int mbedtls_cipher_set_padding_mode(mbedtls_cipher_context_t *ctx, in mbedtls_cipher_set_padding_mode() function
Dssl_tls.c8497 if ((ret = mbedtls_cipher_set_padding_mode(&transform->cipher_ctx_enc, in ssl_tls12_populate_transform()
8503 if ((ret = mbedtls_cipher_set_padding_mode(&transform->cipher_ctx_dec, in ssl_tls12_populate_transform()
/mbedtls-3.6.0/include/mbedtls/
Dcipher.h854 int mbedtls_cipher_set_padding_mode(mbedtls_cipher_context_t *ctx,
/mbedtls-3.6.0/tests/src/test_helpers/
Dssl_helpers.c1161 CHK(mbedtls_cipher_set_padding_mode(&t_in->cipher_ctx_enc, in mbedtls_test_ssl_build_transforms()
1163 CHK(mbedtls_cipher_set_padding_mode(&t_in->cipher_ctx_dec, in mbedtls_test_ssl_build_transforms()
1165 CHK(mbedtls_cipher_set_padding_mode(&t_out->cipher_ctx_enc, in mbedtls_test_ssl_build_transforms()
1167 CHK(mbedtls_cipher_set_padding_mode(&t_out->cipher_ctx_dec, in mbedtls_test_ssl_build_transforms()
/mbedtls-3.6.0/
DChangeLog312 mbedtls_cipher_set_padding_mode() is now enforced. Previously, omitting