add iv_required field to psa_cipher_operation_s and fix relevant functions
diff --git a/include/psa/crypto_struct.h b/include/psa/crypto_struct.h
index 2975bdc..639c15e 100644
--- a/include/psa/crypto_struct.h
+++ b/include/psa/crypto_struct.h
@@ -101,6 +101,7 @@
 {
     psa_algorithm_t alg;
     int key_set : 1;
+    int iv_required : 1;
     int iv_set : 1;
     uint8_t iv_size;
     uint8_t block_size;