Home
last modified time | relevance | path

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

/third_party/mbedtls/tests/suites/
Dtest_suite_cipher.function222 /* mbedtls_cipher_set_iv() */
224 mbedtls_cipher_set_iv(&invalid_ctx,
333 TEST_ASSERT(mbedtls_cipher_set_iv(&ctx, iv, MBEDTLS_MAX_IV_LENGTH + 1)
337 TEST_ASSERT(mbedtls_cipher_set_iv(&ctx, iv, 0)
427 TEST_ASSERT(0 == mbedtls_cipher_set_iv(&ctx_dec, iv, iv_len));
428 TEST_ASSERT(0 == mbedtls_cipher_set_iv(&ctx_enc, iv, iv_len));
532 TEST_ASSERT(0 == mbedtls_cipher_set_iv(&ctx, iv, 16));
597 TEST_ASSERT(0 == mbedtls_cipher_set_iv(&ctx_dec, iv, iv_len));
699 TEST_ASSERT(0 == mbedtls_cipher_set_iv(&ctx_dec, iv, iv_len));
700 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.c315 if (mbedtls_cipher_set_iv(&cipher_ctx, IV, 16) != 0) { in main()
465 if (mbedtls_cipher_set_iv(&cipher_ctx, IV, 16) != 0) { in main()
/third_party/mbedtls/programs/cipher/
Dcipher_aead_demo.c200 CHK(mbedtls_cipher_set_iv(ctx, iv, iv_len)); in aead_encrypt()
/third_party/mbedtls/include/mbedtls/
Dcipher.h880 int mbedtls_cipher_set_iv(mbedtls_cipher_context_t *ctx,
/third_party/mbedtls/library/
Dpkcs12.c182 if ((ret = mbedtls_cipher_set_iv(&cipher_ctx, iv, cipher_info->iv_size)) != 0) { in mbedtls_pkcs12_pbe()
Dpsa_crypto_cipher.c273 mbedtls_cipher_set_iv(&operation->ctx.cipher, in mbedtls_psa_cipher_set_iv()
Dcipher.c352 int mbedtls_cipher_set_iv(mbedtls_cipher_context_t *ctx, in mbedtls_cipher_set_iv() function
1279 if ((ret = mbedtls_cipher_set_iv(ctx, iv, iv_len)) != 0) { in mbedtls_cipher_crypt()
/third_party/mbedtls/
DChangeLog434 * mbedtls_cipher_set_iv will now fail with ChaCha20 and ChaCha20+Poly1305
2538 * Ignore IV in mbedtls_cipher_set_iv() when the cipher mode is