Home
last modified time | relevance | path

Searched refs:iv_size (Results 1 – 12 of 12) sorted by relevance

/mbedtls-development/include/mbedtls/
A Dcipher.h302 unsigned int MBEDTLS_PRIVATE(iv_size);
353 size_t MBEDTLS_PRIVATE(iv_size);
639 if( ctx->MBEDTLS_PRIVATE(iv_size) != 0 ) in mbedtls_cipher_get_iv_size()
640 return (int) ctx->MBEDTLS_PRIVATE(iv_size); in mbedtls_cipher_get_iv_size()
642 return (int) ctx->MBEDTLS_PRIVATE(cipher_info)->MBEDTLS_PRIVATE(iv_size); in mbedtls_cipher_get_iv_size()
/mbedtls-development/programs/psa/
A Dcrypto_examples.c100 size_t iv_size, in cipher_encrypt() argument
116 status = psa_cipher_generate_iv( &operation, iv, iv_size, &iv_len ); in cipher_encrypt()
131 size_t iv_size, in cipher_decrypt() argument
146 status = psa_cipher_set_iv( &operation, iv, iv_size ); in cipher_decrypt()
/mbedtls-development/library/
A Dpkcs12.c145 iv, cipher_info->iv_size ) ) != 0 ) in mbedtls_pkcs12_pbe()
158 if( ( ret = mbedtls_cipher_set_iv( &cipher_ctx, iv, cipher_info->iv_size ) ) != 0 ) in mbedtls_pkcs12_pbe()
A Dcipher.c399 actual_iv_size = ctx->cipher_info->iv_size; in mbedtls_cipher_set_iv()
455 ctx->iv_size = actual_iv_size; in mbedtls_cipher_set_iv()
1413 if ( ( iv_len != ctx->cipher_info->iv_size ) || in mbedtls_cipher_aead_encrypt()
1510 if ( ( iv_len != ctx->cipher_info->iv_size ) || in mbedtls_cipher_aead_decrypt()
A Dpkcs5.c180 enc_scheme_params.len != cipher_info->iv_size ) in mbedtls_pkcs5_pbes2()
A Dssl_tls13_keys.c955 ivlen = cipher_info->iv_size; in mbedtls_ssl_tls13_generate_handshake_keys()
1145 ivlen = cipher_info->iv_size; in mbedtls_ssl_tls13_generate_application_keys()
A Dpsa_crypto.c3344 size_t iv_size, in psa_cipher_generate_iv() argument
3363 if( iv_size < operation->default_iv_length ) in psa_cipher_generate_iv()
A Dssl_tls.c847 transform->ivlen = cipher_info->iv_size; in ssl_tls12_populate_transform()
/mbedtls-development/include/psa/
A Dcrypto.h1896 size_t iv_size,
/mbedtls-development/tests/suites/
A Dtest_suite_psa_crypto_driver_wrappers.function433 size_t iv_size = PSA_CIPHER_IV_LENGTH ( key_type, alg );
469 PSA_ASSERT( psa_cipher_set_iv( &operation, output1, iv_size ) );
494 ASSERT_COMPARE( output1 + iv_size, output1_length - iv_size,
A Dtest_suite_psa_crypto.function2992 size_t iv_size = PSA_CIPHER_IV_LENGTH ( key_type, alg );
3028 PSA_ASSERT( psa_cipher_set_iv( &operation, output1, iv_size ) );
3051 ASSERT_COMPARE( output1 + iv_size, output1_length - iv_size,
3449 size_t iv_size = 16;
3477 iv, iv_size,
A Dtest_suite_ssl.function1220 CHK( cipher_info->iv_size <= 16 );
1301 ivlen = cipher_info->iv_size;

Completed in 46 milliseconds