Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp488529lqo; Fri, 10 May 2024 06:14:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXLTzzaHlW0sSZusMLpOJ+PIvDhSxz4HFY4/fkJZaSqSLtnXDQT+KNW95n6i5CwT9743r5Eomds2uTu1I3kxeU0tNH2UNwbDym4ZOpmfw== X-Google-Smtp-Source: AGHT+IE2NstNjWOvFGvZoDiSHdbObLFKLtTY2x/qxnmc6swpqtfk1GoS9W0G365ONv2pIV0YqCmf X-Received: by 2002:a0c:faca:0:b0:6a1:69ae:4d34 with SMTP id 6a1803df08f44-6a169ae4f5bmr13233756d6.20.1715346883867; Fri, 10 May 2024 06:14:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715346883; cv=pass; d=google.com; s=arc-20160816; b=AO1nOEDlvdpV0/V0H9UKzhtCDBPj/zO87f3iFbynlOSYOkHOn8P7igSXRaYQ5ifGdN GYmH1bjG25WpwAKSt5ZBNxleJUeGPXfr/8wpZy8CAPJCDgc6ROcRQWFCT7TiiOnuFkfp fbjpAkT78BjR50O66Me7JjyTopnXwStuHz4kNAW8qOyXp01cOcwxSSPZz+2QgTY+S/kA GTftku/fdLNHTj/Z5xdVKAZDRei0oqGdVDyFjatPA/3Arc8hQXXgaoyPcth3dYBfL8Nb o6kBjq5E3lJeGIpBWtIjSkjZbQ4yV4rqlujYes8iGMx27t8lmILPXs+Tbst6U1zxeAWb fQZQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:subject:cc:to:from :date:dkim-signature; bh=rbK9QlKtZEAygP+OrlU//xUS4kWM91LhPjAaLozYBRY=; fh=0GGUPWkm6Df69GFzZXLP9GST6ZbX2kgZ/eVO8REPvgc=; b=rgbhpfl9bX6/n44RHy3dDmx83qCA3Yj3n6fkfltXzkrdfJLT0pshhlPbUdAjuFDBdL HMO3e0HXkEC7a1l9UCgjHEff1jSvx9Bb46N8gWr0UMRlWeTPsgDWimcN7/MgeXSa3Gb7 BguSHPkGKAaJP3IbGAe+IscgQu9bxFOqmAg7UucLXe9c/P0FrWLnnG3KMMcvcAQy1A6h 2RNJ3Xvw6aRnQsvdM9T4rA55TvTitIrXoKxIs1g4XVpmKd4PGrd6idpFTmBICHR3bnnv WXsk/yB1KkVnnRWD25iB6kcqphQ9wDHDypILyENzOPGtuR0KDLcFG8PvVZPClrmBXZEi Gkyw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QWWUx41V; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-4109-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4109-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-6a15f1d8319si36080786d6.69.2024.05.10.06.14.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 06:14:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-4109-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=QWWUx41V; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-4109-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4109-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 964631C2158C for ; Fri, 10 May 2024 13:14:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 63C2F129E7A; Fri, 10 May 2024 13:14:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QWWUx41V" 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 23209481C0 for ; Fri, 10 May 2024 13:14:39 +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=1715346880; cv=none; b=S0vw2XBjmkHCzBMSBWYOXqX0PTvICL3INOSFnGa/sk0fokyC8V8/HmrnGqUixSsHOgtTwkTS2ZS9kY3VxVg9RJL9e8nxsIyqfyf8Jt38fPrstkKzRgxpMKRZIYe5ZpAv+TUrbsMelQMbNeUju0UI40oW7YtRO0RgmdqGIr6JGhk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715346880; c=relaxed/simple; bh=rbK9QlKtZEAygP+OrlU//xUS4kWM91LhPjAaLozYBRY=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=uqdoRJGwVTCJSSYSrH3scLxpKRyWSIihvUFlNhXQ0WJHVlxByt1RF/Hig1xk/tqaYO7evTFYlFoeZkptcfrf4jiDDDt6mDt6+xXJqq1t2QI+FDUxXx5q0iNiBsSsXr34Us6Z0FX7IeqcnAMCQZGTs403E4hV2GojIJ+aLqVIwJM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QWWUx41V; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CD558C113CC; Fri, 10 May 2024 13:14:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715346879; bh=rbK9QlKtZEAygP+OrlU//xUS4kWM91LhPjAaLozYBRY=; h=Date:From:To:Cc:Subject:From; b=QWWUx41VDmX8p6mja4ca3tbkvlq70+4JB9a0UF1drVpPy7Tjq/rmktivxGtObCk5A hKKxM30O86V7JR0ZNMqJfu7B4P7qkmPgLwYEGBdrwJx3hE1RdLM6TR4kXHnhsQhTpd Ci9/6dFZHdfVfh4YE1vWpUTUtt0QhuIaEetmLUAphZbGdsIwgi2NQzBc/efYWKYAJi g4Z2MR9Ds2XTbXEU0K6RSZ+aVHVqdo2J2juQwrw6Y/5he2U3kCA/a1aon3hl5kXifj Hs2MGg+70L6xWst+c2wnEkZNjc6ffsmRLQTfQQcbLbxG6PmmoSgSW4GvSnJjb7etWS JUYQ+/cbN9YFQ== Date: Fri, 10 May 2024 15:14:34 +0200 From: Marek =?UTF-8?B?QmVow7pu?= To: Herbert Xu Cc: linux-crypto@vger.kernel.org, Greg Kroah-Hartman Subject: Is akcipher ready for userspace? Message-ID: <20240510151434.739fd5c5@dellmb> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.41; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hello Herbert, back in 2019 you wrote that akcipher is still in a state of flux and not ready to be exposed to userspace via AF_ALG [1]. Has this changed since then? I am asking because I am implementing another driver [2] for a device which allows for signing messages with an ECDSA private key securely stored inside the device, and Greg asks again [3] for this to be exposed to userspace via a dedicated kernel API, instead of debugfs. Back in 2019 when we needed this for the turris-mox-rwtm driver, I implemented it via debugfs because akcipher was not ready. Thanks. Marek [1] https://www.spinics.net/lists/linux-crypto/msg38388.html [2] https://lore.kernel.org/soc/20240510101819.13551-1-kabel@kernel.org/T/ [3] https://lore.kernel.org/soc/2024051042-unbuckled-barometer-1099@gregkh/