Lines Matching refs:cryptlen
341 src_nents = sg_nents_for_len(req->src, req->cryptlen); in __virtio_crypto_skcipher_do_req()
383 cpu_to_le32(req->cryptlen); in __virtio_crypto_skcipher_do_req()
392 dst_len = min_t(unsigned int, req->cryptlen, dst_len); in __virtio_crypto_skcipher_do_req()
394 req->cryptlen, dst_len); in __virtio_crypto_skcipher_do_req()
396 if (unlikely(req->cryptlen + dst_len + ivsize + in __virtio_crypto_skcipher_do_req()
425 req->cryptlen - AES_BLOCK_SIZE, in __virtio_crypto_skcipher_do_req()
475 if (!req->cryptlen) in virtio_crypto_skcipher_encrypt()
477 if (req->cryptlen % AES_BLOCK_SIZE) in virtio_crypto_skcipher_encrypt()
498 if (!req->cryptlen) in virtio_crypto_skcipher_decrypt()
500 if (req->cryptlen % AES_BLOCK_SIZE) in virtio_crypto_skcipher_decrypt()
556 req->cryptlen - AES_BLOCK_SIZE, in virtio_crypto_skcipher_finalize_req()