Home
last modified time | relevance | path

Searched refs:mbedtls_cipher_set_iv (Results 1 – 8 of 8) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_cipher.function243 /* mbedtls_cipher_set_iv() */
245 mbedtls_cipher_set_iv( &invalid_ctx,
356 TEST_ASSERT( mbedtls_cipher_set_iv( &ctx, iv, MBEDTLS_MAX_IV_LENGTH + 1 )
360 TEST_ASSERT( mbedtls_cipher_set_iv( &ctx, iv, 0 )
448 TEST_ASSERT( 0 == mbedtls_cipher_set_iv( &ctx_dec, iv, iv_len ) );
449 TEST_ASSERT( 0 == mbedtls_cipher_set_iv( &ctx_enc, iv, iv_len ) );
549 TEST_ASSERT( 0 == mbedtls_cipher_set_iv( &ctx, iv, 16 ) );
600 TEST_ASSERT( 0 == mbedtls_cipher_set_iv( &ctx_dec, iv, 16 ) );
695 TEST_ASSERT( 0 == mbedtls_cipher_set_iv( &ctx_dec, iv, iv_len ) );
696 TEST_ASSERT( 0 == mbedtls_cipher_set_iv( &ctx_enc, iv, iv_len ) );
[all …]
/third_party/lwip/src/apps/snmp/
Dsnmpv3_mbedtls.c147 if (mbedtls_cipher_set_iv(&ctx, iv_local, LWIP_ARRAYSIZE(iv_local)) != 0) { in snmpv3_crypt()
203 if (mbedtls_cipher_set_iv(&ctx, iv_local, LWIP_ARRAYSIZE(iv_local)) != 0) { in snmpv3_crypt()
/third_party/mbedtls/programs/aes/
Dcrypt_and_hash.c357 if( mbedtls_cipher_set_iv( &cipher_ctx, IV, 16 ) != 0 ) in main()
531 if( mbedtls_cipher_set_iv( &cipher_ctx, IV, 16 ) != 0 ) in main()
/third_party/mbedtls/library/
Dpkcs12.c161 if( ( ret = mbedtls_cipher_set_iv( &cipher_ctx, iv, cipher_info->iv_size ) ) != 0 ) in mbedtls_pkcs12_pbe()
Dpsa_crypto_cipher.c238 mbedtls_cipher_set_iv( &operation->ctx.cipher, in mbedtls_psa_cipher_set_iv()
Dcipher.c351 int mbedtls_cipher_set_iv( mbedtls_cipher_context_t *ctx, in mbedtls_cipher_set_iv() function
1318 if( ( ret = mbedtls_cipher_set_iv( ctx, iv, iv_len ) ) != 0 ) in mbedtls_cipher_crypt()
/third_party/mbedtls/include/mbedtls/
Dcipher.h858 int mbedtls_cipher_set_iv( mbedtls_cipher_context_t *ctx,
/third_party/mbedtls/
DChangeLog1839 * Ignore IV in mbedtls_cipher_set_iv() when the cipher mode is