/aosp_15_r20/external/mbedtls/tests/suites/ |
H A D | test_suite_cipher.function | 225 /* 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 D | test_suite_cipher.function | 229 /* 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 D | crypt_and_hash.c | 309 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 D | crypt_and_hash.c | 313 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 D | cipher_aead_demo.c | 188 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 D | cipher_aead_demo.c | 188 CHK(mbedtls_cipher_set_iv(ctx, iv, iv_len)); in aead_encrypt()
|
/aosp_15_r20/external/mbedtls/library/ |
H A D | pkcs12.c | 225 mbedtls_cipher_set_iv(&cipher_ctx, iv, in mbedtls_pkcs12_pbe_ext()
|
H A D | psa_crypto_cipher.c | 261 mbedtls_cipher_set_iv(&operation->ctx.cipher, in mbedtls_psa_cipher_set_iv()
|
H A D | cipher.c | 396 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 D | cipher.h | 872 int mbedtls_cipher_set_iv(mbedtls_cipher_context_t *ctx,
|
/aosp_15_r20/external/mbedtls/include/mbedtls/ |
H A D | cipher.h | 882 int mbedtls_cipher_set_iv(mbedtls_cipher_context_t *ctx,
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/ |
H A D | cipher.c | 412 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 D | psa_crypto_cipher.c | 391 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 D | psa-transition.md | 365 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 D | ChangeLog | 747 * 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 D | ChangeLog | 1007 * 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
|