Lines Matching refs:cryptlen
359 src_nents = sg_nents_for_len(req->src, req->cryptlen); in __virtio_crypto_skcipher_do_req()
401 cpu_to_le32(req->cryptlen); in __virtio_crypto_skcipher_do_req()
410 dst_len = min_t(unsigned int, req->cryptlen, dst_len); in __virtio_crypto_skcipher_do_req()
412 req->cryptlen, dst_len); in __virtio_crypto_skcipher_do_req()
414 if (unlikely(req->cryptlen + dst_len + ivsize + in __virtio_crypto_skcipher_do_req()
443 req->cryptlen - AES_BLOCK_SIZE, in __virtio_crypto_skcipher_do_req()
493 if (!req->cryptlen) in virtio_crypto_skcipher_encrypt()
495 if (req->cryptlen % AES_BLOCK_SIZE) in virtio_crypto_skcipher_encrypt()
518 if (!req->cryptlen) in virtio_crypto_skcipher_decrypt()
520 if (req->cryptlen % AES_BLOCK_SIZE) in virtio_crypto_skcipher_decrypt()
584 req->cryptlen - AES_BLOCK_SIZE, in virtio_crypto_skcipher_finalize_req()