From patchwork Mon Oct 1 08:36:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 147874 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp3632213lji; Mon, 1 Oct 2018 01:36:44 -0700 (PDT) X-Google-Smtp-Source: ACcGV60ze5zJ7DCMW9Ek2JCdLpfjP+vlyQ+CIEgVMKhKIiq089aA8C3J3UqVoiHNXO8yY5KM6vnt X-Received: by 2002:a62:fd06:: with SMTP id p6-v6mr10306250pfh.167.1538383004322; Mon, 01 Oct 2018 01:36:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538383004; cv=none; d=google.com; s=arc-20160816; b=yVStuXDD6YSlocV8zxWB0uOrhLhQp/bIlMXrsSsLO8/C62dzU1cZWkuoKZx4P7fcKL t5nqdZgcdGWibSgcASZZ1iTwq/T3PJ6YA87Kf0W7Aze9mf94KSEN6QHIE5+nWJVQxCHE oTeEWKL0pHjL8RcT/xy98P/C9TTuEgcWTGPX+Ov/sYnx7HdD+vkLX4koIu2SjSGJcecU M71IDnFRT37KoXnI4uvndtxXgh/DN1wknM9MY6Gf1R8BsyZipjwkEcfDcw+DfXhqtgCQ uOmZcM+915M1BmOpv3gZmdRpg8pxX0fbyL/olMxYXRjEARQKhd5c37yp44+kNSuD/DH2 s5BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=57rhbu6DUXXbSMBdo4geiEh7tDy/UG+HUSI97ilzatw=; b=j88MLrPMm7IgI9dJbzNAPh00sKPaZi69zcy2H7GclifTXWp5CU/WetBLYgBMiD8p/7 rIxH+dQNhwyGJPISIulPnCE+qq3siib/cHeV5dvVLqK7MchleTweXxGXgQPuwbm+LbXm 90OGr9KeX4fK37BlQnUilO56HvmjfgSx5Ta6zITiOfCUZvka14uNyK1+QyjDvhGQjw2o S+JJDAYSSAWPuJHisC23ZL0Yt0wwjwHx4tCVuaE8s+qVYuGSFRU6Ypl5/MFvHPCxbS+S m0DUMLRB9v4Wvj7LT+LpIa+bLGZQ0+mS9V+EHdhrCiG5C+aUjI0ocWmguz51M36HxvKB UGmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JvPAs6OG; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d11-v6si11521766pgd.342.2018.10.01.01.36.44; Mon, 01 Oct 2018 01:36:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JvPAs6OG; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728803AbeJAPNT (ORCPT + 2 others); Mon, 1 Oct 2018 11:13:19 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:37023 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726386AbeJAPNT (ORCPT ); Mon, 1 Oct 2018 11:13:19 -0400 Received: by mail-wm1-f68.google.com with SMTP id 185-v6so2302935wmt.2 for ; Mon, 01 Oct 2018 01:36:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=57rhbu6DUXXbSMBdo4geiEh7tDy/UG+HUSI97ilzatw=; b=JvPAs6OG5qT85xpRMmQoVruCVcmaUDZF1OQstSOOcfUM204xyQlCtbpC3IpXJ7kn35 2t2wJNOp5XAAON+X17vPKU5DOD+lXgtxMG5wnIsj6h9cKH8rUAxehVPMbTrIIwFPeIz3 ahRMgVK29LsiRMIu0QDaqQuf0jwTsLitV6WA0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=57rhbu6DUXXbSMBdo4geiEh7tDy/UG+HUSI97ilzatw=; b=CxOEY9urD2WtJNRORrZKUxurNUEHoQqw3mjsiR9KtmKPgCz374LgbDz92/6j7jqfth d6QJvpIDWYzVaI7w2yxlVP51rr3HMz0BgO8FYzAHYm1h9dPMQ26wh0tQzEl9hvtzMfZS uYrJ+7X8FEZRqy043RqIrR5fHkia5ldzqK2a5JekFnkz6Wro5WvVr98fBqAt1EY/t/kS EHlCIKt+QHYL5GkKIKvn8rEetpoPfe2bZYojX6nT+4HEguly5fvlG9f2RU0DpXGdFrIh gtfEK6GwYhqCZcKm1jB9OdPbFLHq1P7kjH1EqblMcnMdFIhCk/GWc5Q7Btklon34y8Qg EMCg== X-Gm-Message-State: ABuFfogLe7CKh13rgiCKdnjI+sBzc3Y405ScZVh3BEzKA+nCSDHobtBh dwOGcG0d8+Xw8QR3NJ9xTTrkLLaxkeI= X-Received: by 2002:a7b:c1d9:: with SMTP id a25-v6mr2706108wmj.55.1538383001143; Mon, 01 Oct 2018 01:36:41 -0700 (PDT) Received: from dogfood.home ([2a01:cb1d:112:6f00:6d26:fb49:4a42:a358]) by smtp.gmail.com with ESMTPSA id u127-v6sm7689465wmf.48.2018.10.01.01.36.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Oct 2018 01:36:40 -0700 (PDT) From: Ard Biesheuvel To: linux-crypto@vger.kernel.org Cc: herbert@gondor.apana.org.au, ebiggers@google.com, omosnace@redhat.com, Ard Biesheuvel Subject: [PATCH v2 0/2] crypto - fix aegis/morus for big endian systems Date: Mon, 1 Oct 2018 10:36:36 +0200 Message-Id: <20181001083638.28325-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Some bug fixes for issues that I stumbled upon while working on other stuff. Changes since v1: - add Ondrej's ack to #1 - simplify #2 and drop unrelated performance tweak Ard Biesheuvel (2): crypto: morus/generic - fix for big endian systems crypto: aegis/generic - fix for big endian systems crypto/aegis.h | 20 +++++++++----------- crypto/morus1280.c | 7 ++----- crypto/morus640.c | 16 ++++------------ 3 files changed, 15 insertions(+), 28 deletions(-) -- 2.17.1