Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2415769lqo; Mon, 13 May 2024 19:18:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXlpV5QrqYBVZWoG2VaYzmvYRTWm7SNDuQ7BIZNcLvEeqU69FyANqmTdgIo3HnXz0yjnVu2vMcuRIwJEtPaoys5QutwYwexHz41u8AzVw== X-Google-Smtp-Source: AGHT+IGW6GlTR7bnC/48cIaD/ydX3W+Yx6hZ9AJ1zxaG/kaWofAdqt9iVOEgQyE66feZwM+lrv9D X-Received: by 2002:a5b:9ca:0:b0:de5:9e4b:4c97 with SMTP id 3f1490d57ef6-dee4f36b0admr9938940276.38.1715653114724; Mon, 13 May 2024 19:18:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715653114; cv=pass; d=google.com; s=arc-20160816; b=mgjLX/UOuhvv+4lyCPv9jLFa129PcHmyc2qFWF8hn3+hheLtIm2kdh4XZbpRx97pnj ZmQhz5Ke9v8vZi4/E4X29AQ/Jpde0olxt3XramiEGJASg1pfbnGFzLASeQriP1taJjW4 oJykf53XyjxNgjEyosVEDoRiIZKh7js6g0kNWo0g8Qc32ekCEwXiT0t/UqKM4JZsZs4i ix0MHxjDAiJyWi/pShp6KX73k3EhmrBADmr0cw+i4vYsrPgzr0DqPUFTZ9X6Js2Ovqxw DxnTO1q9dguYvlRgJ29fpVb5/li0LDEAe1TIChG0z5GKVCOiGyxclfjyiAbp4V/Lson/ RK1g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:subject:cc:message-id:date:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=LqIDoMu62c05bdE/Ufvo3AN31cRrcp/j3apOBwXOcA4=; fh=pUq5dxjP5hbZ/X2Sk9KIlPWp4PaCwljmSsD7TmkUoXY=; b=NxbbYdvoJlcHP3hioGXd4frbah19Z49OpKJ00ug41ImCULb/qk7fjJ91VoBkn/wZFb 2G6QbEtc5qyF2vUp0diYMWjuJFL68wZoJtnstKw0gjRVHWVkDmsNa5YpY/ytpYK+hTYa 7Ob3N+/2ZHr+u0GwY08V3Q74mU9NYpdcxhbAv1YwnjHnHd44l3Gs7NDo7LubwNp8TgTd R/xDkjlzgiTz+oiofFLr3UPQbpyYcZsCCJZsDtH/i4O8LXzR1krnsuWHmP6PI8ASkt3z jUQVzzLK6ONIs4cDCPrCfPwxS1NFWdXjxHWYUgPp+WlU6P10R5Nx/Zxd4pJualz/mPlb yIvg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=acChmHXv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-4155-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4155-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f2e6339si107775696d6.501.2024.05.13.19.18.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 19:18:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-4155-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=acChmHXv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-4155-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4155-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 3E7EC1C22397 for ; Tue, 14 May 2024 02:18:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4E238849C; Tue, 14 May 2024 02:18:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="acChmHXv" X-Original-To: linux-crypto@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 04ADE1C36; Tue, 14 May 2024 02:18:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715653109; cv=none; b=KvOcP8bqOB4qafvFSul5mLAjf9qkwLFlJSrJ84EEUbZOE5FlttqK5bvq7sNwxHaYV4G38dTzc87+fdnb7z+1BlQ90AfSAz8kouuxEZ5wye4NcU8hMFZyAdn2/0U+R7jakUfU14hxS/UVjccWdwr+SYkZTF/bs61aMyzHaWAA2RU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715653109; c=relaxed/simple; bh=deNbv7svzdjItTDnYRdObkPUrJEVJwJFdAxldaKHwvs=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To; b=jwi/f3e7CCWjGIdnLQEYwcGzdGc9ArZxHlwfgr0UpIt/dvPS6F1/g6Nk5rWvixippuTpGalri7GTFiV5RlSuKoUk2qatXMw6JWZ3JyebwFogmagXX84+UKc42agiPXvF1O1xf3/1uBjEQ4HReadZehWf/1rK2gaau8NQm5HV14s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=acChmHXv; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0AB62C113CC; Tue, 14 May 2024 02:18:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715653108; bh=deNbv7svzdjItTDnYRdObkPUrJEVJwJFdAxldaKHwvs=; h=Date:Cc:Subject:From:To:From; b=acChmHXvcf3KdpaQR/sEaYP4EHGmldW5XsqdF6ZyOkvq8GdJz0lIE0PLeONPQ94VR y1vs4f5xQg6IdsNtL4BSt8WS+MbKqxYR7i9dq1dpMylfgKI53MZIivFX5C8bv1M7RB xaqO/JkeKfnJrXM62NSk4/KX22CJP1/Ttdo4/5ylELkb5wtHw69OSx2MS5NR6fSqFt HuIFms0VFGBo6TPPjAyIw1jFb2INQOw3jKTwa9pO7PP8HkX2w0LWOJZQa8L/Xf6joG AVrCjZhsppPJks40SZKcuq27WW8/miMjVbESZtZWgGG9mPjknRBybXLSLbYQKf4JE0 Bz9iv6K75uKNQ== Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Tue, 14 May 2024 05:18:25 +0300 Message-Id: Cc: "David Howells" , "Herbert Xu" , "David S. Miller" , , , Subject: [GIT PULL] ASYMMETRIC KEYS: asymmetric-keys-next-6.10-rc1 From: "Jarkko Sakkinen" To: "Linus Torvalds" X-Mailer: aerc 0.17.0 The following changes since commit f4e8d80292859809ea135e9f4c43bae47e4f58bc= : Merge tag 'vfs-6.10.rw' of git://git.kernel.org/pub/scm/linux/kernel/git/= vfs/vfs (2024-05-13 12:23:17 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git tags= /asymmetric-keys-next-6.10-rc1 for you to fetch changes up to 747ae81883d21595b162cc40523a982024700fed: certs: Add ECDSA signature verification self-test (2024-05-14 05:01:04 +0= 300) ---------------------------------------------------------------- Hi, Adds a self-test testing PCKS#7 signed data against ECDSA key and couple of bug fixes for missing deps. BR, Jarkko ---------------------------------------------------------------- Eric Biggers (2): KEYS: asymmetric: Add missing dependency on CRYPTO_SIG KEYS: asymmetric: Add missing dependencies of FIPS_SIGNATURE_SELFTEST Joachim Vandersmissen (2): certs: Move RSA self-test data to separate file certs: Add ECDSA signature verification self-test crypto/asymmetric_keys/Kconfig | 17 +++ crypto/asymmetric_keys/Makefile | 2 + crypto/asymmetric_keys/selftest.c | 219 +++++-----------------------= ---- crypto/asymmetric_keys/selftest.h | 22 ++++ crypto/asymmetric_keys/selftest_ecdsa.c | 88 +++++++++++++ crypto/asymmetric_keys/selftest_rsa.c | 171 +++++++++++++++++++++++++ 6 files changed, 330 insertions(+), 189 deletions(-) create mode 100644 crypto/asymmetric_keys/selftest.h create mode 100644 crypto/asymmetric_keys/selftest_ecdsa.c create mode 100644 crypto/asymmetric_keys/selftest_rsa.c