Lines Matching refs:input

233 rc4_crypt(crypto_ctx_t *ctx, crypto_data_t *input, crypto_data_t *output,  in rc4_crypt()  argument
238 ret = rc4_crypt_update(ctx, input, output, req); in rc4_crypt()
248 rc4_crypt_update(crypto_ctx_t *ctx, crypto_data_t *input, crypto_data_t *output, in rc4_crypt_update() argument
266 switch (input->cd_format) { in rc4_crypt_update()
269 start = input->cd_raw.iov_base + input->cd_offset; in rc4_crypt_update()
271 end = input->cd_raw.iov_base + input->cd_raw.iov_len; in rc4_crypt_update()
273 if (start + input->cd_length > end) in rc4_crypt_update()
277 input->cd_length); in rc4_crypt_update()
283 mblk_t *mp = input->cd_mp, *mp1, *mp2; in rc4_crypt_update()
287 mp1 = advance_position(mp, input->cd_offset, &start); in rc4_crypt_update()
292 mp2 = advance_position(mp, input->cd_offset + in rc4_crypt_update()
293 input->cd_length, &end); in rc4_crypt_update()
298 left = input->cd_length; in rc4_crypt_update()
315 uio_t *uiop = input->cd_uio; in rc4_crypt_update()
316 off_t offset = input->cd_offset; in rc4_crypt_update()
317 size_t length = input->cd_length; in rc4_crypt_update()
366 if (input->cd_length > output->cd_length) { in rc4_crypt_update()
367 output->cd_length = input->cd_length; in rc4_crypt_update()
373 switch (input->cd_format) { in rc4_crypt_update()
376 start = input->cd_raw.iov_base + input->cd_offset; in rc4_crypt_update()
378 end = input->cd_raw.iov_base + input->cd_raw.iov_len; in rc4_crypt_update()
380 if (start + input->cd_length > end) in rc4_crypt_update()
384 input->cd_length); in rc4_crypt_update()
393 mblk_t *mp = input->cd_mp, *mp1, *mp2; in rc4_crypt_update()
397 mp1 = advance_position(mp, input->cd_offset, &start); in rc4_crypt_update()
402 mp2 = advance_position(mp, input->cd_offset + input->cd_length, in rc4_crypt_update()
408 left = input->cd_length; in rc4_crypt_update()
432 uio_t *uiop = input->cd_uio; in rc4_crypt_update()
433 off_t offset = input->cd_offset; in rc4_crypt_update()
434 size_t length = input->cd_length; in rc4_crypt_update()
478 output->cd_length = input->cd_length; in rc4_crypt_update()
497 crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *input, in rc4_crypt_atomic() argument
510 ret = rc4_crypt_update(&ctx, input, output, req); in rc4_crypt_atomic()