From patchwork Tue Apr 5 09:55:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= X-Patchwork-Id: 8749331 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E25FB9F36E for ; Tue, 5 Apr 2016 09:59:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5C9172027D for ; Tue, 5 Apr 2016 09:59:45 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B5F2820268 for ; Tue, 5 Apr 2016 09:59:44 +0000 (UTC) Received: from localhost ([::1]:35750 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anNlw-0003Bl-7L for patchwork-qemu-devel@patchwork.kernel.org; Tue, 05 Apr 2016 05:59:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anNiN-0005Cs-Vc for qemu-devel@nongnu.org; Tue, 05 Apr 2016 05:56:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anNiL-0002sh-PM for qemu-devel@nongnu.org; Tue, 05 Apr 2016 05:56:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60668) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anNiL-0002sY-Gx for qemu-devel@nongnu.org; Tue, 05 Apr 2016 05:56:01 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1D6F6C04D2F4; Tue, 5 Apr 2016 09:56:01 +0000 (UTC) Received: from t530wlan.home.berrange.com.com (vpn1-4-29.ams2.redhat.com [10.36.4.29]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u359tw63025943; Tue, 5 Apr 2016 05:56:00 -0400 From: "Daniel P. Berrange" To: qemu-devel@nongnu.org Date: Tue, 5 Apr 2016 10:55:51 +0100 Message-Id: <1459850152-19437-2-git-send-email-berrange@redhat.com> In-Reply-To: <1459850152-19437-1-git-send-email-berrange@redhat.com> References: <1459850152-19437-1-git-send-email-berrange@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Cc: Peter Maydell Subject: [Qemu-devel] [PULL v1 1/2] crypto: fix typo in docs for secret object type X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The docs for the secret object type specified the wrong number of bytes for the AES initialization vector. Signed-off-by: Daniel P. Berrange --- qemu-options.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu-options.hx b/qemu-options.hx index 789d9f6..587de8f 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -3888,7 +3888,7 @@ parameter provides the ID of a previously defined secret that contains the AES-256 decryption key. This key should be 32-bytes long and be base64 encoded. The @var{iv} parameter provides the random initialization vector used for encryption of this particular secret and should be a -base64 encrypted string of the 32-byte IV. +base64 encrypted string of the 16-byte IV. The simplest (insecure) usage is to provide the secret inline