Lines Matching refs:dlen
1103 unsigned dlen, unsigned slen, u16 mask, u8 snum) in hifn_setup_base_command() argument
1113 __cpu_to_le16(dlen & HIFN_BASE_CMD_LENMASK_LO); in hifn_setup_base_command()
1115 dlen >>= 16; in hifn_setup_base_command()
1119 ((dlen << HIFN_BASE_CMD_DSTLEN_S) & HIFN_BASE_CMD_DSTLEN_M)); in hifn_setup_base_command()
1125 u8 *buf, unsigned dlen, unsigned slen, in hifn_setup_crypto_command() argument
1135 cry_cmd->source_count = __cpu_to_le16(dlen & 0xffff); in hifn_setup_crypto_command()
1136 dlen >>= 16; in hifn_setup_crypto_command()
1138 ((dlen << HIFN_CRYPT_CMD_SRCLEN_S) & in hifn_setup_crypto_command()
1511 unsigned dlen = PAGE_SIZE; in hifn_cipher_walk() local
1515 err = ablkcipher_add(&dlen, dst, slen, &nbytes); in hifn_cipher_walk()
1524 if (dlen < nbytes) { in hifn_cipher_walk()
1543 __func__, dlen, nbytes, slen, offset); in hifn_cipher_walk()
1555 err = ablkcipher_add(&dlen, dst, nbytes, &nbytes); in hifn_cipher_walk()
1580 unsigned long dlen, flags; in hifn_setup_session() local
1592 dlen = min(dst->length, nbytes); in hifn_setup_session()
1595 !IS_ALIGNED(dlen, HIFN_D_DST_DALIGN)) in hifn_setup_session()
1598 nbytes -= dlen; in hifn_setup_session()