[Qemu-devel] [PATCH RESEND 2/6] crypto: add AEAD algorithms framework

2017-01-04 Thread Longpeng(Mike)
This patch introduce AEAD algorithms framework. We currently plan to support six basic AEAD algorithms, ccm(aes128/192/256) and gcm(aes128/192/256), so we need to add ccm/gcm mode in qapi/crypto.json simultaneously. Signed-off-by: Longpeng(Mike) --- crypto/Makefile.objs | 3 + crypto/aead-gcr

Re: [Qemu-devel] [PATCH RESEND 2/6] crypto: add AEAD algorithms framework

2017-01-06 Thread Daniel P. Berrange
On Thu, Jan 05, 2017 at 08:49:37AM +0800, Longpeng(Mike) wrote: > This patch introduce AEAD algorithms framework. So AEAD is essentially just encryption with extra metadata on input and output stages. As such I don't think this should be implemented via new objects in QEMU. Instead, we should add

Re: [Qemu-devel] [PATCH RESEND 2/6] crypto: add AEAD algorithms framework

2017-01-06 Thread Longpeng (Mike)
Hi Daniel, On 2017/1/6 19:28, Daniel P. Berrange wrote: > On Thu, Jan 05, 2017 at 08:49:37AM +0800, Longpeng(Mike) wrote: >> This patch introduce AEAD algorithms framework. > > So AEAD is essentially just encryption with extra metadata on > input and output stages. As such I don't think this sho