Re: [Qemu-devel] [PATCH] crypto: add CTR mode support

2016-09-22 Thread Gonglei (Arei)
> -Original Message- > From: Daniel P. Berrange [mailto:berra...@redhat.com] > Sent: Thursday, September 22, 2016 4:17 PM > To: qemu-devel@nongnu.org > Cc: Gonglei (Arei); f...@redhat.com; Wubin (H) > Subject: Re: [Qemu-devel] [PATCH] crypto: add CTR mode support > &

Re: [Qemu-devel] [PATCH] crypto: add CTR mode support

2016-09-22 Thread Daniel P. Berrange
On Thu, Sep 22, 2016 at 12:17:43AM -0700, no-re...@ec2-52-6-146-230.compute-1.amazonaws.com wrote: > Hi, > > Your series failed automatic build test. Please find the testing commands and > their output below. If you have docker installed, you can probably reproduce > it > locally. > GTESTER tes

Re: [Qemu-devel] [PATCH] crypto: add CTR mode support

2016-09-22 Thread no-reply
Hi, Your series failed automatic build test. Please find the testing commands and their output below. If you have docker installed, you can probably reproduce it locally. Type: series Message-id: 1474525997-318296-1-git-send-email-arei.gong...@huawei.com Subject: [Qemu-devel] [PATCH] crypto: add

[Qemu-devel] [PATCH] crypto: add CTR mode support

2016-09-21 Thread Gonglei
Introduce CTR mode support for the cipher APIs. CTR mode uses a counter rather than a traditional IV. The counter has additional properties, including a nonce and initial counter block. We reuse the ctx->iv as the counter for conveniences. Both libgcrypt and nettle support CTR mode, the cipher-bui