From patchwork Sun Sep 30 08:58:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 147854 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp2663991lji; Sun, 30 Sep 2018 01:59:15 -0700 (PDT) X-Google-Smtp-Source: ACcGV60JXZ9ouuoO0Z9hLlSG8YMDKsm2Hej/0Uy36/0MGZoEC3yr8HsaWjkbt7pO1rBaMLYb4Tz3 X-Received: by 2002:a63:1e15:: with SMTP id e21-v6mr5855595pge.430.1538297955772; Sun, 30 Sep 2018 01:59:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538297955; cv=none; d=google.com; s=arc-20160816; b=ay/leviPw1OS3Q9YBrloH0FGyvqrPRRlSwN2tBxOxYuO7PCtHnUYrxEbT8xOg2a3LY /YjJIYFlES5vmYe+bisEOKhoFlQxtdpdYMHU8G8vN7SfhYU4JoTCT8djolB+muEBKwQd J55uLOtjH0YN6c/p11EYpg0j6Yx6GyHolhlv5hEm1CBFcyoZeHyJFk2fqeYjHb4EdRYz Pv/SZaGVZV+Tp0l3iniR5nklZM9rCuNU3cg3feG2VierZtznXftnNVcq4LOu33kGc/az 97kwv4FrG3ZsfMORJwQD8Vkvfh9lhUsNwzHG7Taz2357Jbu51mS/3h0mXMoLLvc0+F87 yrrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=VEhSwInctsGxwFfwLdueFyz9CmrpSEOaYjF7a1FZ5bU=; b=r+YKV7UMN4QcE6LVnCzC3Ps5u/L2qry8+ywoDa76E5eGSDtBK0F0m5ZAnyPiE0i84U C19pzeUoHULCM0tP+LACd37XPTrbcYlxRPvMBYi5jeDFPtuuevJ1cjC6SHKpyfoZb7pE FmUw8OXZ/a01J8/xMFYOuin62tAQrCClmQxAzBETYL5/gRyBKJKEeNJI5ppggSmOxWKd a40KIXDcmVMeQkbnVueOQB+N5b35K3cUcXDYci/pdOehuFDTPBMs7ttu041mmFHDFf7v p+HONaUyDkYDSMqx96gV+iuFS9Vw8opIT83LNJkYoyFYo00tHcfOzHrtFUQn6VZ/CkN2 SC1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RDVhFVDR; 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 t6-v6si9234747pgk.306.2018.09.30.01.59.15; Sun, 30 Sep 2018 01:59:15 -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=RDVhFVDR; 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 S1727823AbeI3PbT (ORCPT + 2 others); Sun, 30 Sep 2018 11:31:19 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:53115 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727818AbeI3PbS (ORCPT ); Sun, 30 Sep 2018 11:31:18 -0400 Received: by mail-wm1-f66.google.com with SMTP id 189-v6so5542061wmw.2 for ; Sun, 30 Sep 2018 01:59:10 -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:mime-version :content-transfer-encoding; bh=VEhSwInctsGxwFfwLdueFyz9CmrpSEOaYjF7a1FZ5bU=; b=RDVhFVDRXdJpmo3DhvfA0V4PfKM0Mi5ctPyIGYvWJ9iV3ZiSo3E5vU7Kv/X7vUjuY4 MrPEbKP4wHEDv131TCOgRaMeCzhlIEoHlFYA28YYtlJyKtKOBRYyi72qoutaRIeZSkwI DC/rwYt6SEieeJv/GWgYMvABy4jJHtnCOW7h8= 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:mime-version :content-transfer-encoding; bh=VEhSwInctsGxwFfwLdueFyz9CmrpSEOaYjF7a1FZ5bU=; b=VR0X2k52k0edL78mtetJ4fMK6bH1QXo017CkurTcNbP5MvMUSuPADLZPnveZJvdTc9 WTfKNzgcff17p6mgtBClKkxsZLlrBlTfZdCAv9fGbv2dgGG/+J4PVBssoiAYKqKMEolO fSfx6Z1vOrJ47qxz11Yex57JsIe5g+Du1oudoGI3EW1l2tT04fGIYxQ/MbiroBhYOdDW 7kHrx1/y3Vms2Y2DmBG+37FtQZNieVVPJY0gdOxsZauvUw/XnGZxZIRHQzIVbW5FriPA Cp1LKHIt8zkxm8c1uT71OD5uWBi+L2q3Avc4I+08nDDMUeYzoGB+W7l96L9j0OgUJ0SE Gmvw== X-Gm-Message-State: ABuFfojXtJhq1+z8QdasOAkovUm64T0/7VNlhKs3hdwfrHgjA2pMLJlr qXBa1fnVn9K/YGZcKvF7z+g9QVrj98w= X-Received: by 2002:a1c:1fc2:: with SMTP id f185-v6mr2979331wmf.18.1538297948986; Sun, 30 Sep 2018 01:59:08 -0700 (PDT) Received: from rev03.home ([2a01:cb1d:112:6f00:4507:1640:20db:cc08]) by smtp.gmail.com with ESMTPSA id l140-v6sm10816540wmb.24.2018.09.30.01.59.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Sep 2018 01:59:07 -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 0/2] crypto - fix aegis/morus for big endian systems Date: Sun, 30 Sep 2018 10:58:57 +0200 Message-Id: <20180930085859.15038-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 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. Ard Biesheuvel (2): crypto: morus/generic - fix for big endian systems crypto: aegis/generic - fix for big endian systems crypto/aegis.h | 23 +++++++++----------- crypto/morus1280.c | 7 ++---- crypto/morus640.c | 16 ++++---------- 3 files changed, 16 insertions(+), 30 deletions(-) -- 2.19.0