lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZT+wkcITIz0ThWU7@infradead.org>
Date:   Mon, 30 Oct 2023 06:33:05 -0700
From:   Christoph Hellwig <hch@...radead.org>
To:     "NK, JESHWANTHKUMAR" <jeshwanthkumar.nk@....com>
Cc:     Christoph Hellwig <hch@...radead.org>, thomas.lendacky@....com,
        john.allen@....com, herbert@...dor.apana.org.au,
        davem@...emloft.net, jens.wiklander@...aro.org,
        sumit.garg@...aro.org, jarkko.nikula@...ux.intel.com,
        mario.limonciello@....com, linux-crypto@...r.kernel.org,
        linux-kernel@...r.kernel.org, op-tee@...ts.trustedfirmware.org,
        Mythri.Pandeshwarakrishna@....com, Devaraj.Rangasamy@....com,
        Rijo-john.Thomas@....com, nimesh.easow@....com
Subject: Re: [PATCH 1/3] crypto: ccp - Add function to allocate and free
 memory using DMA APIs

On Fri, Oct 27, 2023 at 07:05:17PM +0530, NK, JESHWANTHKUMAR wrote:
> Can you please elaborate a bit more?

Becasue the DMA API is a blackbox.  You can pass the dma_addr_t to
hardware, and you can use the kernel virtual address.  That it can
sometimes be implemented using the IMMU API is an implementation
detail.  Similarly you can only feeds iovas generated by the IOMMU
API into the IOMMU API, not any random other scalar value, which
is what you can get from the DMA API.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ