Home
last modified time | relevance | path

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

/third_party/mbedtls/tests/suites/
Dtest_suite_cipher.function243 /* mbedtls_cipher_set_padding_mode() */
244 TEST_ASSERT(mbedtls_cipher_set_padding_mode(&invalid_ctx, valid_mode) ==
398 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx_dec, pad_mode));
399 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx_enc, pad_mode));
528 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx, pad_mode));
682 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx_dec, pad_mode));
683 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx_enc, pad_mode));
794 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx, pad_mode));
1097 TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx, MBEDTLS_PADDING_NONE));
1129 TEST_ASSERT(ret == mbedtls_cipher_set_padding_mode(&ctx, pad_mode));
[all …]
/third_party/mbedtls/library/
Dpsa_crypto_cipher.c216 ret = mbedtls_cipher_set_padding_mode(&operation->ctx.cipher, in psa_cipher_setup()
220 ret = mbedtls_cipher_set_padding_mode(&operation->ctx.cipher, in psa_cipher_setup()
Dcipher.c207 (void) mbedtls_cipher_set_padding_mode(ctx, MBEDTLS_PADDING_PKCS7); in mbedtls_cipher_setup()
209 (void) mbedtls_cipher_set_padding_mode(ctx, MBEDTLS_PADDING_NONE); in mbedtls_cipher_setup()
1025 int mbedtls_cipher_set_padding_mode(mbedtls_cipher_context_t *ctx, in mbedtls_cipher_set_padding_mode() function
Dssl_tls.c8607 if ((ret = mbedtls_cipher_set_padding_mode(&transform->cipher_ctx_enc, in ssl_tls12_populate_transform()
8613 if ((ret = mbedtls_cipher_set_padding_mode(&transform->cipher_ctx_dec, in ssl_tls12_populate_transform()
/third_party/lwip/src/apps/snmp/
Dsnmpv3_mbedtls.c136 if (mbedtls_cipher_set_padding_mode(&ctx, MBEDTLS_PADDING_NONE) != 0) { in snmpv3_crypt()
/third_party/mbedtls/include/mbedtls/
Dcipher.h852 int mbedtls_cipher_set_padding_mode(mbedtls_cipher_context_t *ctx,
/third_party/mbedtls/tests/src/test_helpers/
Dssl_helpers.c1143 CHK(mbedtls_cipher_set_padding_mode(&t_in->cipher_ctx_enc, in mbedtls_test_ssl_build_transforms()
1145 CHK(mbedtls_cipher_set_padding_mode(&t_in->cipher_ctx_dec, in mbedtls_test_ssl_build_transforms()
1147 CHK(mbedtls_cipher_set_padding_mode(&t_out->cipher_ctx_enc, in mbedtls_test_ssl_build_transforms()
1149 CHK(mbedtls_cipher_set_padding_mode(&t_out->cipher_ctx_dec, in mbedtls_test_ssl_build_transforms()