Lines Matching refs:keystream_buffer
266 v128_copy(&c->keystream_buffer, &c->counter); in srtp_aes_icm_advance()
267 srtp_aes_encrypt(&c->keystream_buffer, &c->expanded_key); in srtp_aes_icm_advance()
273 v128_hex_string(&c->keystream_buffer)); in srtp_aes_icm_advance()
313 *buf++ ^= c->keystream_buffer.v8[i]; in srtp_aes_icm_encrypt()
325 *buf++ ^= c->keystream_buffer.v8[i]; in srtp_aes_icm_encrypt()
344 *b++ ^= c->keystream_buffer.v32[0]; in srtp_aes_icm_encrypt()
345 *b++ ^= c->keystream_buffer.v32[1]; in srtp_aes_icm_encrypt()
346 *b++ ^= c->keystream_buffer.v32[2]; in srtp_aes_icm_encrypt()
347 *b++ ^= c->keystream_buffer.v32[3]; in srtp_aes_icm_encrypt()
351 *buf++ ^= c->keystream_buffer.v8[0]; in srtp_aes_icm_encrypt()
352 *buf++ ^= c->keystream_buffer.v8[1]; in srtp_aes_icm_encrypt()
353 *buf++ ^= c->keystream_buffer.v8[2]; in srtp_aes_icm_encrypt()
354 *buf++ ^= c->keystream_buffer.v8[3]; in srtp_aes_icm_encrypt()
355 *buf++ ^= c->keystream_buffer.v8[4]; in srtp_aes_icm_encrypt()
356 *buf++ ^= c->keystream_buffer.v8[5]; in srtp_aes_icm_encrypt()
357 *buf++ ^= c->keystream_buffer.v8[6]; in srtp_aes_icm_encrypt()
358 *buf++ ^= c->keystream_buffer.v8[7]; in srtp_aes_icm_encrypt()
359 *buf++ ^= c->keystream_buffer.v8[8]; in srtp_aes_icm_encrypt()
360 *buf++ ^= c->keystream_buffer.v8[9]; in srtp_aes_icm_encrypt()
361 *buf++ ^= c->keystream_buffer.v8[10]; in srtp_aes_icm_encrypt()
362 *buf++ ^= c->keystream_buffer.v8[11]; in srtp_aes_icm_encrypt()
363 *buf++ ^= c->keystream_buffer.v8[12]; in srtp_aes_icm_encrypt()
364 *buf++ ^= c->keystream_buffer.v8[13]; in srtp_aes_icm_encrypt()
365 *buf++ ^= c->keystream_buffer.v8[14]; in srtp_aes_icm_encrypt()
366 *buf++ ^= c->keystream_buffer.v8[15]; in srtp_aes_icm_encrypt()
369 *b++ ^= c->keystream_buffer.v32[0]; in srtp_aes_icm_encrypt()
370 *b++ ^= c->keystream_buffer.v32[1]; in srtp_aes_icm_encrypt()
371 *b++ ^= c->keystream_buffer.v32[2]; in srtp_aes_icm_encrypt()
372 *b++ ^= c->keystream_buffer.v32[3]; in srtp_aes_icm_encrypt()
384 *buf++ ^= c->keystream_buffer.v8[i]; in srtp_aes_icm_encrypt()