From patchwork Thu Jan 10 20:17:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 10756793 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0542B6C5 for ; Thu, 10 Jan 2019 20:18:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E63A529D73 for ; Thu, 10 Jan 2019 20:18:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DA63F29D9E; Thu, 10 Jan 2019 20:18:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8FCC629D73 for ; Thu, 10 Jan 2019 20:18:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728383AbfAJUSW (ORCPT ); Thu, 10 Jan 2019 15:18:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:53214 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727545AbfAJUSW (ORCPT ); Thu, 10 Jan 2019 15:18:22 -0500 Received: from ebiggers-linuxstation.mtv.corp.google.com (unknown [104.132.1.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D4BB9206B7; Thu, 10 Jan 2019 20:18:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547151501; bh=oR06j5onrKELXhocisQuLciNryNefaQ92v3w954Sh7I=; h=From:To:Subject:Date:From; b=ddVkNh+I7LJ2e3FCFcOXLYp4uM+wWtfxM2tGYvLw1pzmM+Hy0kli+8CEQMsNEX3GI 5wOzm0VnO/tj2I7TfuH2DS5ZLWrigvSwuncCiLP27o6QWRneupgoSOQZPBP1lR+IFK mCc983OZGO0CwnNH7DKgWVLywyPEz2+6ohMkol0M= From: Eric Biggers To: linux-crypto@vger.kernel.org, Herbert Xu Subject: [PATCH 00/11] crypto: misc fixes/cleanups Date: Thu, 10 Jan 2019 12:17:51 -0800 Message-Id: <20190110201802.82442-1-ebiggers@kernel.org> X-Mailer: git-send-email 2.20.1.97.g81188d93c3-goog MIME-Version: 1.0 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Some more miscellaneous crypto fixes and cleanups: - Patch 1-6: fix sparse warnings in 6 files. - Patch 7: fix unaligned memory access in tgr192. - Patch 8-11: a few other cleanups. Eric Biggers (11): crypto: gcm - use correct endianness type in gcm_hash_len() crypto: rsa-pkcs1pad - include crypto: streebog - use correct endianness type crypto: testmgr - handle endianness correctly in alg_test_crc32c() crypto: user - forward declare crypto_nlsk crypto: x86/aesni-gcm - make 'struct aesni_gcm_tfm_s' static const crypto: tgr192 - fix unaligned memory access crypto: stat - remove unused mutex crypto: af_alg - make some functions static crypto: af_alg - use list_for_each_entry() in af_alg_count_tsgl() crypto: af_alg - remove redundant initializations of sk_family arch/x86/crypto/aesni-intel_glue.c | 34 +++++++++++----------------- crypto/af_alg.c | 33 ++++++++++----------------- crypto/crypto_user_stat.c | 4 ---- crypto/gcm.c | 2 +- crypto/rsa-pkcs1pad.c | 1 + crypto/streebog_generic.c | 2 +- crypto/testmgr.c | 10 ++++---- crypto/tgr192.c | 6 ++--- include/crypto/if_alg.h | 7 ------ include/crypto/internal/cryptouser.h | 2 ++ include/crypto/streebog.h | 2 +- 11 files changed, 39 insertions(+), 64 deletions(-)