Home
last modified time | relevance | path

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

/mbedtls-latest/tests/suites/
Dtest_suite_cipher.function250 /* mbedtls_cipher_set_padding_mode() */
251 TEST_ASSERT(mbedtls_cipher_set_padding_mode(&invalid_ctx, valid_mode) ==
405 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx_dec, pad_mode));
406 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx_enc, pad_mode));
535 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx, pad_mode));
614 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx_dec,
700 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx_dec, pad_mode));
701 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx_enc, pad_mode));
812 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx, pad_mode));
1119 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx, MBEDTLS_PADDING_NONE));
[all …]
/mbedtls-latest/library/
Dpsa_crypto_cipher.c334 ret = mbedtls_cipher_set_padding_mode(&operation->ctx.cipher, in psa_cipher_setup()
338 ret = mbedtls_cipher_set_padding_mode(&operation->ctx.cipher, in psa_cipher_setup()
Dpkcs12.c222 if ((ret = mbedtls_cipher_set_padding_mode(&cipher_ctx, padding)) != 0) { in mbedtls_pkcs12_pbe_ext()
Dpkcs5.c251 if ((ret = mbedtls_cipher_set_padding_mode(&cipher_ctx, padding)) != 0) { in mbedtls_pkcs5_pbes2_ext()
Dcipher.c1122 int mbedtls_cipher_set_padding_mode(mbedtls_cipher_context_t *ctx, in mbedtls_cipher_set_padding_mode() function
Dssl_tls.c8941 if ((ret = mbedtls_cipher_set_padding_mode(&transform->cipher_ctx_enc, in ssl_tls12_populate_transform()
8947 if ((ret = mbedtls_cipher_set_padding_mode(&transform->cipher_ctx_dec, in ssl_tls12_populate_transform()
/mbedtls-latest/tests/src/test_helpers/
Dssl_helpers.c1319 CHK(mbedtls_cipher_set_padding_mode(&t_in->cipher_ctx_enc, in mbedtls_test_ssl_build_transforms()
1321 CHK(mbedtls_cipher_set_padding_mode(&t_in->cipher_ctx_dec, in mbedtls_test_ssl_build_transforms()
1323 CHK(mbedtls_cipher_set_padding_mode(&t_out->cipher_ctx_enc, in mbedtls_test_ssl_build_transforms()
1325 CHK(mbedtls_cipher_set_padding_mode(&t_out->cipher_ctx_dec, in mbedtls_test_ssl_build_transforms()
/mbedtls-latest/include/mbedtls/
Dcipher.h844 int mbedtls_cipher_set_padding_mode(mbedtls_cipher_context_t *ctx,
/mbedtls-latest/docs/
Dpsa-transition.md364 …`, `mbedtls_cipher_setkey` (or `mbedtls_cipher_setup_psa`), `mbedtls_cipher_set_padding_mode` if a…
389 …`, `mbedtls_cipher_setkey` (or `mbedtls_cipher_setup_psa`), `mbedtls_cipher_set_padding_mode` if a…
/mbedtls-latest/
DChangeLog767 mbedtls_cipher_set_padding_mode() is now enforced. Previously, omitting