Home
last modified time | relevance | path

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

/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_cipher.function229 /* mbedtls_cipher_set_iv() */
231 mbedtls_cipher_set_iv(&invalid_ctx,
340 TEST_ASSERT(mbedtls_cipher_set_iv(&ctx, iv, MBEDTLS_MAX_IV_LENGTH + 1)
344 TEST_ASSERT(mbedtls_cipher_set_iv(&ctx, iv, 0)
434 TEST_ASSERT(0 == mbedtls_cipher_set_iv(&ctx_dec, iv, iv_len));
435 TEST_ASSERT(0 == mbedtls_cipher_set_iv(&ctx_enc, iv, iv_len));
539 TEST_ASSERT(0 == mbedtls_cipher_set_iv(&ctx, iv, 16));
604 TEST_ASSERT(0 == mbedtls_cipher_set_iv(&ctx_dec, iv, iv_len));
713 TEST_ASSERT(0 == mbedtls_cipher_set_iv(&ctx_dec, iv, iv_len));
714 TEST_ASSERT(0 == mbedtls_cipher_set_iv(&ctx_enc, iv, iv_len));
[all …]
/openthread-latest/third_party/mbedtls/repo/programs/aes/
Dcrypt_and_hash.c313 if (mbedtls_cipher_set_iv(&cipher_ctx, IV, 16) != 0) { in main()
466 if (mbedtls_cipher_set_iv(&cipher_ctx, IV, 16) != 0) { in main()
/openthread-latest/third_party/mbedtls/repo/programs/cipher/
Dcipher_aead_demo.c188 CHK(mbedtls_cipher_set_iv(ctx, iv, iv_len)); in aead_encrypt()
/openthread-latest/third_party/mbedtls/repo/include/mbedtls/
Dcipher.h872 int mbedtls_cipher_set_iv(mbedtls_cipher_context_t *ctx,
/openthread-latest/third_party/mbedtls/repo/library/
Dpsa_crypto_cipher.c391 mbedtls_cipher_set_iv(&operation->ctx.cipher, in mbedtls_psa_cipher_set_iv()
Dcipher.c412 int mbedtls_cipher_set_iv(mbedtls_cipher_context_t *ctx, in mbedtls_cipher_set_iv() function
1374 if ((ret = mbedtls_cipher_set_iv(ctx, iv, iv_len)) != 0) { in mbedtls_cipher_crypt()
/openthread-latest/third_party/mbedtls/repo/docs/
Dpsa-transition.md365 3. Set the IV with `mbedtls_cipher_set_iv` (except for ECB which does not use an IV).
390 3. Set the nonce with `mbedtls_cipher_set_iv` (or the `starts` function for low-level modules). For…
/openthread-latest/third_party/mbedtls/repo/
DChangeLog1007 * mbedtls_cipher_set_iv will now fail with ChaCha20 and ChaCha20+Poly1305
3111 * Ignore IV in mbedtls_cipher_set_iv() when the cipher mode is