Searched refs:mbedtls_cipher_set_iv (Results 1 – 9 of 9) sorted by relevance
/third_party/mbedtls/tests/suites/ |
D | test_suite_cipher.function | 222 /* 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/ |
D | snmpv3_mbedtls.c | 147 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/ |
D | crypt_and_hash.c | 315 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/ |
D | cipher_aead_demo.c | 200 CHK(mbedtls_cipher_set_iv(ctx, iv, iv_len)); in aead_encrypt()
|
/third_party/mbedtls/include/mbedtls/ |
D | cipher.h | 880 int mbedtls_cipher_set_iv(mbedtls_cipher_context_t *ctx,
|
/third_party/mbedtls/library/ |
D | pkcs12.c | 182 if ((ret = mbedtls_cipher_set_iv(&cipher_ctx, iv, cipher_info->iv_size)) != 0) { in mbedtls_pkcs12_pbe()
|
D | psa_crypto_cipher.c | 273 mbedtls_cipher_set_iv(&operation->ctx.cipher, in mbedtls_psa_cipher_set_iv()
|
D | cipher.c | 352 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/ |
D | ChangeLog | 434 * 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
|