/* Write the initialization vector (for the CBC, CFB, OFB & CTR cipher modes)  */
void aes_write_initvector(struct aes_dev_inst *const dev_inst, const uint32_t *p_vector)
/* Write the initialization vector (for the CBC, CFB, OFB & CTR cipher modes)  */
void aes_write_initvector(struct aes_dev_inst *const dev_inst, const uint32_t *p_vector)
{
	uint32_t i;
	for (i = 0; i < 4; i++) {
		dev_inst->hw_dev->AESA_INITVECT[i].AESA_INITVECT = *p_vector;
		p_vector++;
	}
}