Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756150AbbDJOdY (ORCPT ); Fri, 10 Apr 2015 10:33:24 -0400 Received: from mail.eperm.de ([89.247.134.16]:34095 "EHLO mail.eperm.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755224AbbDJOdV (ORCPT ); Fri, 10 Apr 2015 10:33:21 -0400 From: Stephan Mueller To: mancha security Cc: Hannes Frederic Sowa , Daniel Borkmann , tytso@mit.edu, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, herbert@gondor.apana.org.au, dborkman@redhat.com Subject: Re: [BUG/PATCH] kernel RNG and its secrets Date: Fri, 10 Apr 2015 16:33:17 +0200 Message-ID: <1611407.vmKOV6O1rC@tauon> User-Agent: KMail/4.14.6 (Linux/3.19.3-200.fc21.x86_64; KDE/4.14.6; x86_64; ; ) In-Reply-To: <20150410142208.GA16910@zoho.com> References: <20150318095345.GA12923@zoho.com> <1697288.aUGCRhyl06@tauon> <20150410142208.GA16910@zoho.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 573 Lines: 23 Am Freitag, 10. April 2015, 14:22:08 schrieb mancha security: Hi mancha, >__asm__ __volatile__("": :"r"(p) :"memory") gcc -O2/3: mov present clang -O2/3: mov present ==> approach would be good too. Note, the assembly code does not seem to change whether to use this approach or the one I initially tested. Ciao Stephan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/