Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1315095rdb; Fri, 1 Dec 2023 12:38:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IFhiXYNuHtW3CaAd3utWNcdutI69dW8EKAMfE9XjM4rvAi05HvjFboGnhFDgDe1EKlXi5Et X-Received: by 2002:a17:906:10ca:b0:a19:a19b:55f4 with SMTP id v10-20020a17090610ca00b00a19a19b55f4mr1325443ejv.132.1701463123690; Fri, 01 Dec 2023 12:38:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701463123; cv=none; d=google.com; s=arc-20160816; b=qK+qGrHtuFOVOavcqK0jyAtaxLyteKk+BpyGN+bvJ0OGWkXax1wpfhLh+MlklZAvAP k4YuONKFPNREKlDYr3XH8G2sppoZX/juk3lsEE9nwvcYZANBgJYw+2+PaDmbLLJuTEoc wUSshDZ3PI4bsWY0xnqggYDEAyHiI54GikVLstxMYhBctMC1YYOSWxWEW6FW009RBkCe ashQKUgd/cD/OV9dq7aKrVhJcYUDhe7kCa445PkNe9+yZuirqCuYXjFiyqvnV6osBb64 zz39WO8X7wc30FJxMGlWU663X6naAej+GxAo2JbNauoJ2fBVAk4JuCu96ZXg4arwUNCO A0Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=dxveFagBNj5/ty55lDPJPyZWurWMS/8ve7eeXES38tY=; fh=ICOgxXFjpiS2OceQKsmgkWTdAtOKaJcoVA52IGttCd8=; b=Dzy2RDlzw075EZaPacqS/rQlXqVBi7qNOVVkwz0SyO37Pt78tATVpR1wFL8qTXVzk+ 4HSSUoUH3LC1kFZZsTSZNFEqWMYW218xl8o9cEMMg6d5so3Y8R2vpbxTCizIPt1gtnop uSkCGxYS3oJADNfMFIj1bBUbKUE/ZJad4vzz7ybqRzMF2UXqduEfQBwhniCk5/Z63F/b mr1i2C/bKiazvWW40Ggeo9lNgS5p9E/WHrBPsvTXa8nR5ioHvpkZVryJkzCOUkC+OESg L8evewLWuAqEn7oa8V9dbjeGkfNmm5uKHp5k5XYoVv7aEbuuBxkugedaAWD3PV+bkQtD wtlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=fQjRHmY5; spf=pass (google.com: domain of linux-crypto+bounces-472-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-crypto+bounces-472-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id y26-20020a170906071a00b00a03263da7adsi2098510ejb.567.2023.12.01.12.38.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 12:38:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-472-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=fQjRHmY5; spf=pass (google.com: domain of linux-crypto+bounces-472-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-crypto+bounces-472-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 6756D1F20FDF for ; Fri, 1 Dec 2023 20:38:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E2D70584CB for ; Fri, 1 Dec 2023 20:38:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="fQjRHmY5" X-Original-To: linux-crypto@vger.kernel.org Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:242:246e::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38076F2 for ; Fri, 1 Dec 2023 12:04:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=dxveFagBNj5/ty55lDPJPyZWurWMS/8ve7eeXES38tY=; t=1701461074; x=1702670674; b=fQjRHmY55FQ0y5++oc7gX3SbqbIeYIr57eRzHqXWxx/Auj8 CU2GP2cC87NUSO75aZBESr8Xpz0aW2SMxtOL1peqOcNwVC0lYW8LVhqTT4oFj9CCg+VSCFs9y4tVn 3UT9C53TnTGvAAADzjAgD2unG82TlgnxqwdPxRxUw24SWxuEbl7WEVKF11nBcAfGNn67fcm4aD+gN uVxK9NasihFAMs7XIXO+vzUpg3x2O6YCcxYyK9lP+s+ngXOPygy5IeVMH9WaUhliDyk5mDCH3844X nTi0olAcwH93E7rLJ6sYubX4hiO86Q9PXvyqUa/tp/Ra5fxmPFCytd1dLehsZYyA==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1r99kV-0000000BRhY-1WHh; Fri, 01 Dec 2023 21:04:31 +0100 Message-ID: <640c12810b336aa99584697e21215f3cacb13c79.camel@sipsolutions.net> Subject: Re: jitterentropy vs. simulation From: Johannes Berg To: Simo Sorce , Anton Ivanov , linux-um@lists.infradead.org Cc: linux-crypto@vger.kernel.org, Stephan =?ISO-8859-1?Q?M=FCller?= Date: Fri, 01 Dec 2023 21:04:30 +0100 In-Reply-To: References: <7db861e3-60e4-0ed4-9b28-25a89069a9db@kot-begemot.co.uk> <8ddb48606cebe4e404d17a627138aa5c5af6dccd.camel@sipsolutions.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-malware-bazaar: not-scanned On Fri, 2023-12-01 at 14:25 -0500, Simo Sorce wrote: >=20 > Doesn't this imply the simulation is not complete Kind of? > and you need to add > clock jitter for the simulation to be more useful? >=20 No, it's more _intentionally_ incomplete. This works fine in normal ARCH=3Dum, but with time-travel variants we have more of a discrete event- based simulation, to integrates well with other things (e.g. SystemC or similar based device simulations). So this is quite intentional, and yes, it breaks in a few spots such as this one. johannes