Searched refs:mbedtls_cipher_set_padding_mode (Results 1 – 7 of 7) sorted by relevance
/third_party/mbedtls/tests/suites/ |
D | test_suite_cipher.function | 243 /* 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/ |
D | psa_crypto_cipher.c | 216 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()
|
D | cipher.c | 207 (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
|
D | ssl_tls.c | 8607 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/ |
D | snmpv3_mbedtls.c | 136 if (mbedtls_cipher_set_padding_mode(&ctx, MBEDTLS_PADDING_NONE) != 0) { in snmpv3_crypt()
|
/third_party/mbedtls/include/mbedtls/ |
D | cipher.h | 852 int mbedtls_cipher_set_padding_mode(mbedtls_cipher_context_t *ctx,
|
/third_party/mbedtls/tests/src/test_helpers/ |
D | ssl_helpers.c | 1143 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()
|