Lines Matching refs:cryptlen
343 src_nents = sg_nents_for_len(req->src, req->cryptlen); in __virtio_crypto_skcipher_do_req()
385 cpu_to_le32(req->cryptlen); in __virtio_crypto_skcipher_do_req()
394 dst_len = min_t(unsigned int, req->cryptlen, dst_len); in __virtio_crypto_skcipher_do_req()
396 req->cryptlen, dst_len); in __virtio_crypto_skcipher_do_req()
398 if (unlikely(req->cryptlen + dst_len + ivsize + in __virtio_crypto_skcipher_do_req()
427 req->cryptlen - AES_BLOCK_SIZE, in __virtio_crypto_skcipher_do_req()
477 if (!req->cryptlen) in virtio_crypto_skcipher_encrypt()
479 if (req->cryptlen % AES_BLOCK_SIZE) in virtio_crypto_skcipher_encrypt()
502 if (!req->cryptlen) in virtio_crypto_skcipher_decrypt()
504 if (req->cryptlen % AES_BLOCK_SIZE) in virtio_crypto_skcipher_decrypt()
565 req->cryptlen - AES_BLOCK_SIZE, in virtio_crypto_skcipher_finalize_req()