/* Write the initialization vector (for the CBC, CFB, OFB, CTR & GCM cipher modes).  */
void aes_write_initvector(Aes *const p_aes, const uint32_t *p_vector)
/* Write the initialization vector (for the CBC, CFB, OFB, CTR & GCM cipher modes).  */
void aes_write_initvector(Aes *const p_aes, const uint32_t *p_vector)
{
	uint32_t i;
	Assert(p_aes);
	for (i = 0; i < 4; i++) {
		p_aes->AES_IVR[i] = *p_vector;
		p_vector++;
	}
}