unset iv_required to 0 (psa_encrypt_set_iv)and block_size (psa_cipher_setup)
diff --git a/library/psa_crypto.c b/library/psa_crypto.c
index 9f647af..34b5e25 100644
--- a/library/psa_crypto.c
+++ b/library/psa_crypto.c
@@ -1324,8 +1324,6 @@
     if( cipher_info == NULL )
         return( PSA_ERROR_NOT_SUPPORTED );
 
-    operation->block_size = cipher_info->block_size;
-
     mbedtls_cipher_init( &operation->ctx.cipher );
     ret = mbedtls_cipher_setup( &operation->ctx.cipher, cipher_info );
     if( ret != 0 )
@@ -1442,7 +1440,6 @@
     }
 
     operation->iv_set = 1;
-    operation->iv_required = 0;
 
     return( PSA_SUCCESS );
 }