From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751577AbdKVTwR (ORCPT ); Wed, 22 Nov 2017 14:52:17 -0500 Received: from mail-io0-f195.google.com ([209.85.223.195]:34196 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751249AbdKVTwO (ORCPT ); Wed, 22 Nov 2017 14:52:14 -0500 X-Google-Smtp-Source: AGs4zMY/sWmtK70VanxqF/D0zrgFbX5UDfFf8Y8xCPlgNuSIuT8GnSuCkLmyCKCEyGgVheKxvmPqrA== From: Eric Biggers To: linux-crypto@vger.kernel.org, Herbert Xu Cc: "Theodore Ts'o" , "Jason A . Donenfeld" , Martin Willi , Ard Biesheuvel , linux-kernel@vger.kernel.org, Eric Biggers Subject: [PATCH 4/5] crypto: x86/chacha20 - Remove cra_alignmask Date: Wed, 22 Nov 2017 11:51:38 -0800 Message-Id: <20171122195139.121269-5-ebiggers3@gmail.com> X-Mailer: git-send-email 2.15.0.448.gf294e3d99a-goog In-Reply-To: <20171122195139.121269-1-ebiggers3@gmail.com> References: <20171122195139.121269-1-ebiggers3@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Eric Biggers Now that the generic ChaCha20 implementation no longer needs a cra_alignmask, the x86 one doesn't either -- given that the x86 implementation doesn't need the alignment itself. Signed-off-by: Eric Biggers --- arch/x86/crypto/chacha20_glue.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/crypto/chacha20_glue.c b/arch/x86/crypto/chacha20_glue.c index 1e6af1b35f7b..dce7c5d39c2f 100644 --- a/arch/x86/crypto/chacha20_glue.c +++ b/arch/x86/crypto/chacha20_glue.c @@ -107,7 +107,6 @@ static struct skcipher_alg alg = { .base.cra_priority = 300, .base.cra_blocksize = 1, .base.cra_ctxsize = sizeof(struct chacha20_ctx), - .base.cra_alignmask = sizeof(u32) - 1, .base.cra_module = THIS_MODULE, .min_keysize = CHACHA20_KEY_SIZE, -- 2.15.0.448.gf294e3d99a-goog