Home
last modified time | relevance | path

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

/openthread-3.5.0/third_party/mbedtls/repo/include/mbedtls/
Dcipher.h299 unsigned int iv_size; member
350 size_t iv_size; member
551 if( ctx->iv_size != 0 ) in mbedtls_cipher_get_iv_size()
552 return (int) ctx->iv_size; in mbedtls_cipher_get_iv_size()
554 return (int) ctx->cipher_info->iv_size; in mbedtls_cipher_get_iv_size()
/openthread-3.5.0/third_party/mbedtls/repo/programs/psa/
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()
/openthread-3.5.0/third_party/mbedtls/repo/library/
Dpkcs12.c193 iv, cipher_info->iv_size ) ) != 0 ) in mbedtls_pkcs12_pbe()
206 if( ( ret = mbedtls_cipher_set_iv( &cipher_ctx, iv, cipher_info->iv_size ) ) != 0 ) in mbedtls_pkcs12_pbe()
Dcipher.c379 actual_iv_size = ctx->cipher_info->iv_size; in mbedtls_cipher_set_iv()
401 ctx->iv_size = actual_iv_size; in mbedtls_cipher_set_iv()
450 ctx->iv, ctx->iv_size, ad, ad_len ) ); in mbedtls_cipher_update_ad()
1348 if ( ( iv_len != ctx->cipher_info->iv_size ) || in mbedtls_cipher_aead_encrypt()
1445 if ( ( iv_len != ctx->cipher_info->iv_size ) || in mbedtls_cipher_aead_decrypt()
Dpkcs5.c180 enc_scheme_params.len != cipher_info->iv_size ) in mbedtls_pkcs5_pbes2()
Dpsa_crypto.c3395 size_t iv_size, in psa_cipher_generate_iv() argument
3415 if( iv_size < default_iv_length ) in psa_cipher_generate_iv()
Dssl_tls.c1159 transform->ivlen = cipher_info->iv_size; in ssl_populate_transform()
/openthread-3.5.0/third_party/mbedtls/repo/include/psa/
Dcrypto_struct.h157 uint8_t iv_size; member
Dcrypto.h1919 size_t iv_size,
/openthread-3.5.0/third_party/mbedtls/repo/tests/suites/
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,
Dtest_suite_psa_crypto.function2696 size_t iv_size = PSA_CIPHER_IV_LENGTH ( key_type, alg );
2732 PSA_ASSERT( psa_cipher_set_iv( &operation, output1, iv_size ) );
2755 ASSERT_COMPARE( output1 + iv_size, output1_length - iv_size,
3153 size_t iv_size = 16;
3181 iv, iv_size,
Dtest_suite_ssl.function1214 CHK( cipher_info->iv_size <= 16 );
1307 ivlen = cipher_info->iv_size;