Home
last modified time | relevance | path

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

/aosp_15_r20/external/mbedtls/tests/suites/
H A Dtest_suite_cipher.function225 /* mbedtls_cipher_set_iv() */
227 mbedtls_cipher_set_iv(&invalid_ctx,
336 TEST_ASSERT(mbedtls_cipher_set_iv(&ctx, iv, MBEDTLS_MAX_IV_LENGTH + 1)
340 TEST_ASSERT(mbedtls_cipher_set_iv(&ctx, iv, 0)
430 TEST_ASSERT(0 == mbedtls_cipher_set_iv(&ctx_dec, iv, iv_len));
431 TEST_ASSERT(0 == mbedtls_cipher_set_iv(&ctx_enc, iv, iv_len));
535 TEST_ASSERT(0 == mbedtls_cipher_set_iv(&ctx, iv, 16));
600 TEST_ASSERT(0 == mbedtls_cipher_set_iv(&ctx_dec, iv, iv_len));
709 TEST_ASSERT(0 == mbedtls_cipher_set_iv(&ctx_dec, iv, iv_len));
710 TEST_ASSERT(0 == mbedtls_cipher_set_iv(&ctx_enc, iv, iv_len));
[all …]
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/
H A 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 …]
/aosp_15_r20/external/mbedtls/programs/aes/
H A Dcrypt_and_hash.c309 if (mbedtls_cipher_set_iv(&cipher_ctx, IV, 16) != 0) { in main()
462 if (mbedtls_cipher_set_iv(&cipher_ctx, IV, 16) != 0) { in main()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/programs/aes/
H A 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()
/aosp_15_r20/external/mbedtls/programs/cipher/
H A Dcipher_aead_demo.c188 CHK(mbedtls_cipher_set_iv(ctx, iv, iv_len)); in aead_encrypt()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/programs/cipher/
H A Dcipher_aead_demo.c188 CHK(mbedtls_cipher_set_iv(ctx, iv, iv_len)); in aead_encrypt()
/aosp_15_r20/external/mbedtls/library/
H A Dpkcs12.c225 mbedtls_cipher_set_iv(&cipher_ctx, iv, in mbedtls_pkcs12_pbe_ext()
H A Dpsa_crypto_cipher.c261 mbedtls_cipher_set_iv(&operation->ctx.cipher, in mbedtls_psa_cipher_set_iv()
H A Dcipher.c396 int mbedtls_cipher_set_iv(mbedtls_cipher_context_t *ctx, in mbedtls_cipher_set_iv() function
1358 if ((ret = mbedtls_cipher_set_iv(ctx, iv, iv_len)) != 0) { in mbedtls_cipher_crypt()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/mbedtls/
H A Dcipher.h872 int mbedtls_cipher_set_iv(mbedtls_cipher_context_t *ctx,
/aosp_15_r20/external/mbedtls/include/mbedtls/
H A Dcipher.h882 int mbedtls_cipher_set_iv(mbedtls_cipher_context_t *ctx,
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/
H A 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()
H A Dpsa_crypto_cipher.c391 mbedtls_cipher_set_iv(&operation->ctx.cipher, in mbedtls_psa_cipher_set_iv()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/docs/
H A 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…
/aosp_15_r20/external/mbedtls/
H A DChangeLog747 * mbedtls_cipher_set_iv will now fail with ChaCha20 and ChaCha20+Poly1305
2851 * Ignore IV in mbedtls_cipher_set_iv() when the cipher mode is
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/
H A 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