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.function264 /* mbedtls_cipher_set_padding_mode() */
265 TEST_ASSERT( mbedtls_cipher_set_padding_mode( &invalid_ctx, valid_mode ) ==
422 TEST_ASSERT( 0 == mbedtls_cipher_set_padding_mode( &ctx_dec, pad_mode ) );
423 TEST_ASSERT( 0 == mbedtls_cipher_set_padding_mode( &ctx_enc, pad_mode ) );
545 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 ) );
780 TEST_ASSERT( 0 == mbedtls_cipher_set_padding_mode( &ctx, pad_mode ) );
1075 TEST_ASSERT( 0 == mbedtls_cipher_set_padding_mode( &ctx, MBEDTLS_PADDING_NONE ) );
1105 TEST_ASSERT( ret == mbedtls_cipher_set_padding_mode( &ctx, pad_mode ) );
[all …]
Dtest_suite_ssl.function1242 CHK( mbedtls_cipher_set_padding_mode( &t_in->cipher_ctx_enc,
1244 CHK( mbedtls_cipher_set_padding_mode( &t_in->cipher_ctx_dec,
1246 CHK( mbedtls_cipher_set_padding_mode( &t_out->cipher_ctx_enc,
1248 CHK( mbedtls_cipher_set_padding_mode( &t_out->cipher_ctx_dec,
/third_party/mbedtls/library/
Dpsa_crypto_cipher.c183 ret = mbedtls_cipher_set_padding_mode( &operation->ctx.cipher, in psa_cipher_setup()
187 ret = mbedtls_cipher_set_padding_mode( &operation->ctx.cipher, in psa_cipher_setup()
Dcipher.c212 (void) mbedtls_cipher_set_padding_mode( ctx, MBEDTLS_PADDING_PKCS7 ); in mbedtls_cipher_setup()
214 (void) mbedtls_cipher_set_padding_mode( ctx, MBEDTLS_PADDING_NONE ); in mbedtls_cipher_setup()
1041 int mbedtls_cipher_set_padding_mode( mbedtls_cipher_context_t *ctx, in mbedtls_cipher_set_padding_mode() function
Dssl_tls.c1079 if( ( ret = mbedtls_cipher_set_padding_mode( &transform->cipher_ctx_enc, in ssl_tls12_populate_transform()
1086 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.h836 int mbedtls_cipher_set_padding_mode( mbedtls_cipher_context_t *ctx,