From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y6NYw-0003pv-Lo for qemu-devel@nongnu.org; Wed, 31 Dec 2014 13:00:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y6NYs-0003kH-Hu for qemu-devel@nongnu.org; Wed, 31 Dec 2014 13:00:02 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46812) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y6NYs-0003jl-9z for qemu-devel@nongnu.org; Wed, 31 Dec 2014 12:59:58 -0500 Message-ID: <54A43993.7010508@redhat.com> Date: Wed, 31 Dec 2014 18:59:47 +0100 From: Laszlo Ersek MIME-Version: 1.0 References: <1420024880-15416-1-git-send-email-lersek@redhat.com> <54A3F829.4000509@redhat.com> <54A4032A.7050808@redhat.com> <54A423ED.3040606@redhat.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] fw_cfg: fix endianness in fw_cfg_data_mem_read() / _write() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Drew Jones , Ard Biesheuvel , qemu devel list , Alexander Graf , Gerd Hoffmann , Paolo Bonzini On 12/31/14 18:37, Peter Maydell wrote: > On 31 December 2014 at 17:17, Peter Maydell wrote: >> One thing I did notice in the dmesg: >> >> [ 35.798423] alg: hash: Test 1 failed for sha1-ce >> [ 35.799135] 00000000: d3 5b 9a 85 7f 18 48 21 97 5c 12 72 a8 96 62 88 >> [ 35.799815] 00000010: c3 d2 e1 f0 >> [ 35.807121] alg: hash: Test 1 failed for sha224-ce >> [ 35.807458] 00000000: 75 49 49 85 18 97 6f 0c a7 d3 c3 ee 54 5d b3 59 >> [ 35.807910] 00000010: a0 97 b3 34 f8 9c ab c1 91 e1 24 9e >> [ 35.814059] alg: hash: Test 1 failed for sha256-ce >> [ 35.814450] 00000000: b9 cb b3 d4 f5 29 fa 2c 8f 9b 8e 67 e9 6d 24 9b >> [ 35.814897] 00000010: 83 da e8 b1 ba 32 6c bb 4e 53 77 76 fc 11 e4 aa >> [ 35.827619] alg: cipher: Test 1 failed on encryption for aes-ce >> [ 35.828042] 00000000: ba 4a ec ea df 05 7d 76 56 af 92 77 5d 00 e0 90 >> >> ...does that happen on little endian TCG hosts too, or do we have >> a bug in our encryption emulation? > > It doesn't happen on LE TCG hosts. Joy :-) I think I agree, I repeated the test on my x86_64 laptop, and the only "alg:" line I see is [ 39.286903] alg: No test for stdrng (krng) Thanks Laszlo