Re: [PATCH 6/9] dm crypt: support diskcipher
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: "boojin.kim" <boojin.kim@xxxxxxxxxxx>
- Subject: Re: [PATCH 6/9] dm crypt: support diskcipher
- From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
- Date: Fri, 23 Aug 2019 14:27:02 +1000
- In-reply-to: <017901d5596a$1df3a590$59daf0b0$@samsung.com>
- References: <CGME20190823042038epcas2p2000738f3ca7f5f3d92ea1c32de2bcf99@epcas2p2.samsung.com> <017901d5596a$1df3a590$59daf0b0$@samsung.com>
- User-agent: Mutt/1.5.21 (2010-09-15)
On Fri, Aug 23, 2019 at 01:20:37PM +0900, boojin.kim wrote:
>
> If yes, I think the following API needs to be added to skcipher:
> - _set(): BIO submitter (dm-crypt, f2fs, ext4) sets cipher to BIO.
> - _mergeable(): Block layer checks if two BIOs have the same cipher.
> - _get(): Storage driver gets cipher from BIO.
> - _set_crypt(): Storage driver gets crypto information from cipher and
> writes it on the descriptor of Storage controller.
> Is it acceptable to skcipher ?
No. If you're after total offload then the crypto API is not for
you. What we can support is the offloading of encryption/decryption
over many sectors.
Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
[Index of Archives]
[linux Cryptography]
[Asterisk App Development]
[PJ SIP]
[Gnu Gatekeeper]
[IETF Sipping]
[Info Cyrus]
[ALSA User]
[Fedora Linux Users]
[Linux SCTP]
[DCCP]
[Gimp]
[Yosemite News]
[Deep Creek Hot Springs]
[Yosemite Campsites]
[ISDN Cause Codes]