Home
last modified time | relevance | path

Searched refs:crp_op (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/arch/cris/arch-v32/drivers/
Dcryptocop.c2384 static size_t first_cfg_change_ix(struct strcop_crypto_op *crp_op) in first_cfg_change_ix() argument
2388 if (crp_op->do_cipher) ch_ix = crp_op->cipher_start; in first_cfg_change_ix()
2389 if (crp_op->do_digest && (crp_op->digest_start < ch_ix)) ch_ix = crp_op->digest_start; in first_cfg_change_ix()
2390 if (crp_op->do_csum && (crp_op->csum_start < ch_ix)) ch_ix = crp_op->csum_start; in first_cfg_change_ix()
2397 static size_t next_cfg_change_ix(struct strcop_crypto_op *crp_op, size_t ix) in next_cfg_change_ix() argument
2402 if (crp_op->do_cipher && ((crp_op->cipher_start + crp_op->cipher_len) > ix)){ in next_cfg_change_ix()
2403 if (crp_op->cipher_start > ix) { in next_cfg_change_ix()
2404 ch_ix = crp_op->cipher_start; in next_cfg_change_ix()
2406 ch_ix = crp_op->cipher_start + crp_op->cipher_len; in next_cfg_change_ix()
2409 if (crp_op->do_digest && ((crp_op->digest_start + crp_op->digest_len) > ix)){ in next_cfg_change_ix()
[all …]