Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1695709ybc; Wed, 13 Nov 2019 02:57:29 -0800 (PST) X-Google-Smtp-Source: APXvYqzQEg/1IXQamLPI0qPkoewF9EbwwyRbhOvNYPG2Bi6ieApV1QnVFVVRYyCDuTp0x3w31/l3 X-Received: by 2002:a17:906:3019:: with SMTP id 25mr2077004ejz.280.1573642649278; Wed, 13 Nov 2019 02:57:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573642649; cv=none; d=google.com; s=arc-20160816; b=jMMIsfDllGjNj5f+s0T+nEAPmusYooWr0CC1jF+Ddc4PrurPlGcEMxJaXWnpm3io/J rCsjBtgukJWGklIeEoBSA9fOU/EFY4PgeVDTibyZOIzoX6u5RcQbU/C7p6D21XhrvGcg D1lxr23N6nx/bOeLqELF14ZERJPdyVl9/5P1Lqww2aGC1sU2BRT2Kodie16RffmMTYj5 wFJKfMes2dVXBOS/mP6pASXe/zM5jt6dijLEyZSPFO2xtgMpEWnto3OlyuM2/NIg9Pjt K3RYDCvLiLQRrJnjtQl0GA62Nn6ZHSmnu90nUPULKe/7AMFg9tSfP3w2v7Z5tek4f8Af nQtg== 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; bh=/sugbocBZB3By4IzljV+bfYAvZk4fz7S7JJwCWMcL30=; b=PLFItOq3tKgk//x0FNT/BA1NeqP6sYFC5LUQCYk3Fjnt3+6hjx6dyCRdjuIJ8shrae rnFvolqD3l7U6pc83q0y2VIatFpX4ke7DJTPM1fwd7HD3V98teaGPkrDwMnkP6p+AYly 0ytenoUmIUIo1mKFu7nEtkjhvvP5yU0tCR7BUJe7UWlREnIM15iYG7n92N/sH3qlykr3 KUHu1lpdUS93Q4ZWhjMBZPmuOC6aYz5LY9BQ1LP6eXg8J8oC/UfxgpbsLYt7pVR2RaUV 1bEqO8p+37sYvkq4z1w77lb1lqTj9UrxCgBz5xeZmGe7CsQkyre3cyfqTbvNZbRg9DP5 PRGA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c12si857156ejz.290.2019.11.13.02.57.04; Wed, 13 Nov 2019 02:57:29 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727142AbfKMKzj (ORCPT + 99 others); Wed, 13 Nov 2019 05:55:39 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:35198 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726422AbfKMKzj (ORCPT ); Wed, 13 Nov 2019 05:55:39 -0500 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id xADAmb5K035573 for ; Wed, 13 Nov 2019 05:55:38 -0500 Received: from e06smtp02.uk.ibm.com (e06smtp02.uk.ibm.com [195.75.94.98]) by mx0b-001b2d01.pphosted.com with ESMTP id 2w8ex23wh5-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 13 Nov 2019 05:55:37 -0500 Received: from localhost by e06smtp02.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 13 Nov 2019 10:55:35 -0000 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp02.uk.ibm.com (192.168.101.132) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 13 Nov 2019 10:55:34 -0000 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id xADAtXMH53936244 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 13 Nov 2019 10:55:33 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3AA504203F; Wed, 13 Nov 2019 10:55:33 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EFEC542049; Wed, 13 Nov 2019 10:55:32 +0000 (GMT) Received: from funtu.com (unknown [9.152.224.114]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 13 Nov 2019 10:55:32 +0000 (GMT) From: Harald Freudenberger To: linux-crypto@vger.kernel.org, herbert@gondor.apana.org.au Cc: ebiggers@kernel.org, heiko.carstens@de.ibm.com, gor@linux.ibm.com, Harald Freudenberger Subject: [PATCH 0/3] provide paes selftests Date: Wed, 13 Nov 2019 11:55:20 +0100 X-Mailer: git-send-email 2.17.1 X-TM-AS-GCONF: 00 x-cbid: 19111310-0008-0000-0000-0000032EA309 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19111310-0009-0000-0000-00004A4DAC09 Message-Id: <20191113105523.8007-1-freude@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-11-13_02:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=267 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1910280000 definitions=main-1911130102 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org This patch series provides a reworked version of the paes in-kernel cipher implementation together with the introdution of in-kernel selftests for the ciphers implemented there. Please note that the paes patch is developed against linux-next respectively Herbert Xu's crypto tree as the fixes from Eric Biggers which move the paes cipers from blkciper to skciper are a requirement for the paes rework. For more details about each patch please have a look into the individual patch headers. Harald Freudenberger (3): s390/pkey: Add support for key blob with clear key value s390/crypto: Rework on paes implementation crypto/testmgr: add selftests for paes-s390 arch/s390/crypto/paes_s390.c | 163 +++++++++---- crypto/testmgr.c | 36 +++ crypto/testmgr.h | 334 +++++++++++++++++++++++++++ drivers/s390/crypto/pkey_api.c | 60 ++++- drivers/s390/crypto/zcrypt_ccamisc.h | 1 + 5 files changed, 545 insertions(+), 49 deletions(-) -- 2.17.1