Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp615311ybl; Wed, 29 Jan 2020 06:38:44 -0800 (PST) X-Google-Smtp-Source: APXvYqzh2rtI15IRjbP9ifUmgP/NdwUMi8/mqqPSYYOmrcrZxUWroWP25269SsR+q532sEfy/crd X-Received: by 2002:aca:56ce:: with SMTP id k197mr6793661oib.99.1580308724784; Wed, 29 Jan 2020 06:38:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580308724; cv=none; d=google.com; s=arc-20160816; b=oAcKw2lL9vG3d9dKlW7Nzw8GNBtdQTVnL1ZDE/Rq4beDuwgcqvfSKlkl6fB3LXhPDL wLQ/1BaHGhtXnG6eNR5XTAM1R3IdHtILH98pysdANX++fiaPALi17phmxMr7SsGugiKd FKISBKy/keyYJsirq6o3Uh+ZcAI6MMlDhG1iCRzoorLKuh2ApCkJy7Fjyg/tyST6Bao7 zzXy1JQ49hxKHNpKnu55aFk9xTDZS6VfywctbGjZDITHJIHH/VRVfnlv2JSqO483uGOo W/1aMKkJZ2SBXy/J4fWTA2EKH2XtpkGCh2w22/iPVtNhnZbc30ftzf6bJybmH0a+A+Ok C4nw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=6Y5q6kfZd+kYYkw7aWwkFytJoxawOE28m3XnKD1MOTE=; b=U+grWK5cAdkLwnJrT+oeE2cf1tSVpnUMXbaZeZCmiUKWeWTgNViUmcSknBFFVtLj9I lYJENN2MYqWBAJAjhloAYs4wl7sruvZc+TFy9/OzhHrIyzbAI8Xqf8RZR6dH2MEiiwop p6OpIS10opQIqg8pMLmJZ3HaeX7WToFf1m48ECNWbKAY91N9kNQfNGAg3ihMRIvnCCsH xeVnZ8dw2k+Wa2zl0V6oS2IIcvrwn1oaPi6xaEuhEEGx3ubCcNZ8qMqh4FrcPFsTzrR7 1Djp+pVUUi8evmV7EC8W8K8xY3bcXDGTndfMisX4NWCa9OW56CkBjpiMbMyCzPy98Ntm Nxsw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e5si1188112oti.104.2020.01.29.06.38.33; Wed, 29 Jan 2020 06:38:44 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726756AbgA2OiP (ORCPT + 99 others); Wed, 29 Jan 2020 09:38:15 -0500 Received: from foss.arm.com ([217.140.110.172]:41988 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726773AbgA2OiP (ORCPT ); Wed, 29 Jan 2020 09:38:15 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0269A31B; Wed, 29 Jan 2020 06:38:15 -0800 (PST) Received: from e110176-lin.kfn.arm.com (unknown [10.50.4.146]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B52D73F52E; Wed, 29 Jan 2020 06:38:13 -0800 (PST) From: Gilad Ben-Yossef To: Herbert Xu , "David S. Miller" Cc: Ofir Drang , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] crypto: ccree - fix AEAD blocksize registration Date: Wed, 29 Jan 2020 16:37:57 +0200 Message-Id: <20200129143757.680-5-gilad@benyossef.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200129143757.680-1-gilad@benyossef.com> References: <20200129143757.680-1-gilad@benyossef.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Fix an error causing no block sizes to be reported during all AEAD registrations. Signed-off-by: Gilad Ben-Yossef --- drivers/crypto/ccree/cc_aead.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/ccree/cc_aead.c b/drivers/crypto/ccree/cc_aead.c index edab44cbd353..b69cfbebc59a 100644 --- a/drivers/crypto/ccree/cc_aead.c +++ b/drivers/crypto/ccree/cc_aead.c @@ -2642,6 +2642,7 @@ static struct cc_crypto_alg *cc_create_aead_alg(struct cc_alg_template *tmpl, alg->base.cra_ctxsize = sizeof(struct cc_aead_ctx); alg->base.cra_flags = CRYPTO_ALG_ASYNC | CRYPTO_ALG_KERN_DRIVER_ONLY; + alg->base.cra_blocksize = tmpl->blocksize; alg->init = cc_aead_init; alg->exit = cc_aead_exit; -- 2.25.0