Searched refs:iv_size (Results 1 – 12 of 12) sorted by relevance
/mbedtls-3.5.0/include/mbedtls/ |
D | cipher.h | 296 unsigned int MBEDTLS_PRIVATE(iv_size); 346 size_t MBEDTLS_PRIVATE(iv_size); 524 return (size_t) info->MBEDTLS_PRIVATE(iv_size); in mbedtls_cipher_info_get_iv_size() 726 if (ctx->MBEDTLS_PRIVATE(iv_size) != 0) { in mbedtls_cipher_get_iv_size() 727 return (int) ctx->MBEDTLS_PRIVATE(iv_size); in mbedtls_cipher_get_iv_size() 730 return (int) ctx->MBEDTLS_PRIVATE(cipher_info)->MBEDTLS_PRIVATE(iv_size); in mbedtls_cipher_get_iv_size()
|
/mbedtls-3.5.0/programs/psa/ |
D | crypto_examples.c | 99 size_t iv_size, in cipher_encrypt() argument 115 status = psa_cipher_generate_iv(&operation, iv, iv_size, &iv_len); in cipher_encrypt() 130 size_t iv_size, in cipher_decrypt() argument 145 status = psa_cipher_set_iv(&operation, iv, iv_size); in cipher_decrypt()
|
/mbedtls-3.5.0/library/ |
D | pkcs12.c | 166 iv, cipher_info->iv_size)) != 0) { in mbedtls_pkcs12_pbe() 182 if ((ret = mbedtls_cipher_set_iv(&cipher_ctx, iv, cipher_info->iv_size)) != 0) { in mbedtls_pkcs12_pbe()
|
D | cipher.c | 378 actual_iv_size = ctx->cipher_info->iv_size; in mbedtls_cipher_set_iv() 445 ctx->iv_size = actual_iv_size; in mbedtls_cipher_set_iv() 1366 if ((iv_len != ctx->cipher_info->iv_size) || in mbedtls_cipher_aead_encrypt() 1462 if ((iv_len != ctx->cipher_info->iv_size) || in mbedtls_cipher_aead_decrypt()
|
D | pkcs5.c | 189 enc_scheme_params.len != cipher_info->iv_size) { in mbedtls_pkcs5_pbes2()
|
D | psa_crypto.c | 4031 size_t iv_size, argument 4049 if (iv_size < default_iv_length) {
|
D | ssl_tls.c | 8455 transform->ivlen = cipher_info->iv_size; in ssl_tls12_populate_transform()
|
/mbedtls-3.5.0/tests/suites/ |
D | test_suite_cipher.function | 18 size_t key_bitlen, block_size, iv_size; 34 iv_size = mbedtls_cipher_info_get_iv_size(info); 38 TEST_ASSERT(iv_size == 0); 68 TEST_ASSERT(iv_size == 0); 72 TEST_ASSERT(iv_size == block_size); 75 TEST_ASSERT(iv_size == block_size - 4);
|
D | test_suite_psa_crypto_driver_wrappers.function | 1034 size_t iv_size = PSA_CIPHER_IV_LENGTH(key_type, alg); 1070 PSA_ASSERT(psa_cipher_set_iv(&operation, output1, iv_size)); 1095 ASSERT_COMPARE(output1 + iv_size, output1_length - iv_size,
|
D | test_suite_psa_crypto.function | 3775 size_t iv_size = PSA_CIPHER_IV_MAX_SIZE; 3810 iv, iv_size, 4040 size_t iv_size = PSA_CIPHER_IV_LENGTH(key_type, alg); 4076 PSA_ASSERT(psa_cipher_set_iv(&operation, output1, iv_size)); 4099 ASSERT_COMPARE(output1 + iv_size, output1_length - iv_size, 4534 size_t iv_size = 16; 4561 iv, iv_size,
|
/mbedtls-3.5.0/include/psa/ |
D | crypto.h | 1880 size_t iv_size,
|
/mbedtls-3.5.0/tests/src/test_helpers/ |
D | ssl_helpers.c | 1121 CHK(cipher_info->iv_size <= 16); in mbedtls_test_ssl_build_transforms() 1252 ivlen = cipher_info->iv_size; in mbedtls_test_ssl_build_transforms()
|