Lines Matching refs:out_ptr
279 unsigned char *out_ptr = out; in gost_cipher_do_cfb() local
285 j++, i++, in_ptr++, out_ptr++) { in gost_cipher_do_cfb()
288 *out_ptr = ctx->buf[j] ^ (*in_ptr); in gost_cipher_do_cfb()
290 ctx->buf[j + 8] = *out_ptr; in gost_cipher_do_cfb()
301 for (; i + 8 < inl; i += 8, in_ptr += 8, out_ptr += 8) { in gost_cipher_do_cfb()
315 out_ptr[j] = ctx->buf[j] ^ in_ptr[j]; in gost_cipher_do_cfb()
320 memcpy(ctx->iv, out_ptr, 8); in gost_cipher_do_cfb()
328 out_ptr[j] = ctx->buf[j] ^ in_ptr[j]; in gost_cipher_do_cfb()
332 memcpy(ctx->buf + 8, out_ptr, j); in gost_cipher_do_cfb()
343 unsigned char *out_ptr = out; in gost_cipher_do_cnt() local
349 j++, i++, in_ptr++, out_ptr++) { in gost_cipher_do_cnt()
350 *out_ptr = ctx->buf[j] ^ (*in_ptr); in gost_cipher_do_cnt()
360 for (; i + 8 < inl; i += 8, in_ptr += 8, out_ptr += 8) { in gost_cipher_do_cnt()
373 out_ptr[j] = ctx->buf[j] ^ in_ptr[j]; in gost_cipher_do_cnt()
380 out_ptr[j] = ctx->buf[j] ^ in_ptr[j]; in gost_cipher_do_cnt()