Home
last modified time | relevance | path

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

/aosp_15_r20/external/mbedtls/tests/suites/
H A 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 …]
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/
H A 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));
610 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx_dec,
696 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx_dec, pad_mode));
697 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx_enc, pad_mode));
808 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx, pad_mode));
1111 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx, MBEDTLS_PADDING_NONE));
[all …]
/aosp_15_r20/external/mbedtls/library/
H A 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()
H A Dpkcs12.c219 if ((ret = mbedtls_cipher_set_padding_mode(&cipher_ctx, padding)) != 0) { in mbedtls_pkcs12_pbe_ext()
H A Dpkcs5.c248 if ((ret = mbedtls_cipher_set_padding_mode(&cipher_ctx, padding)) != 0) { in mbedtls_pkcs5_pbes2_ext()
H A Dcipher.c1103 int mbedtls_cipher_set_padding_mode(mbedtls_cipher_context_t *ctx, in mbedtls_cipher_set_padding_mode() function
H A 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()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/
H A 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()
H A Dpkcs12.c222 if ((ret = mbedtls_cipher_set_padding_mode(&cipher_ctx, padding)) != 0) { in mbedtls_pkcs12_pbe_ext()
H A Dpkcs5.c251 if ((ret = mbedtls_cipher_set_padding_mode(&cipher_ctx, padding)) != 0) { in mbedtls_pkcs5_pbes2_ext()
H A Dcipher.c1119 int mbedtls_cipher_set_padding_mode(mbedtls_cipher_context_t *ctx, in mbedtls_cipher_set_padding_mode() function
H A Dssl_tls.c9164 if ((ret = mbedtls_cipher_set_padding_mode(&transform->cipher_ctx_enc, in ssl_tls12_populate_transform()
9170 if ((ret = mbedtls_cipher_set_padding_mode(&transform->cipher_ctx_dec, in ssl_tls12_populate_transform()
/aosp_15_r20/external/mbedtls/tests/src/test_helpers/
H A 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()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/src/test_helpers/
H A Dssl_helpers.c1316 CHK(mbedtls_cipher_set_padding_mode(&t_in->cipher_ctx_enc, in mbedtls_test_ssl_build_transforms()
1318 CHK(mbedtls_cipher_set_padding_mode(&t_in->cipher_ctx_dec, in mbedtls_test_ssl_build_transforms()
1320 CHK(mbedtls_cipher_set_padding_mode(&t_out->cipher_ctx_enc, in mbedtls_test_ssl_build_transforms()
1322 CHK(mbedtls_cipher_set_padding_mode(&t_out->cipher_ctx_dec, in mbedtls_test_ssl_build_transforms()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/mbedtls/
H A Dcipher.h844 int mbedtls_cipher_set_padding_mode(mbedtls_cipher_context_t *ctx,
/aosp_15_r20/external/mbedtls/include/mbedtls/
H A Dcipher.h854 int mbedtls_cipher_set_padding_mode(mbedtls_cipher_context_t *ctx,
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/docs/
H A 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…
/aosp_15_r20/external/mbedtls/
H A DChangeLog312 mbedtls_cipher_set_padding_mode() is now enforced. Previously, omitting
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/
H A DChangeLog572 mbedtls_cipher_set_padding_mode() is now enforced. Previously, omitting