return 0;
}
+/**
+ * gnutls_cipher_set_iv:
+ * @handle: is a #gnutls_cipher_hd_t structure.
+ * @iv: the IV to set
+ * @ivlen: The length of the IV
+ *
+ * This function will set the IV to be used for the next
+ * encryption block.
+ *
+ * Since: 2.99.0
+ **/
+void
+gnutls_cipher_set_iv (gnutls_cipher_hd_t handle, void *iv, size_t ivlen)
+{
+ _gnutls_cipher_setiv((cipher_hd_st *)handle, iv, ivlen);
+}
+
/**
* gnutls_cipher_encrypt:
* @handle: is a #gnutls_cipher_hd_t structure.
size_t textlen, void *ciphertext,
size_t ciphertextlen);
+ void gnutls_cipher_set_iv (gnutls_cipher_hd_t handle, void *iv, size_t ivlen);
+
int gnutls_cipher_tag( gnutls_cipher_hd_t handle, void* tag, size_t tag_size);
int gnutls_cipher_add_auth( gnutls_cipher_hd_t handle, const void* test, size_t textlen);