Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1281624ybh; Thu, 16 Jul 2020 08:01:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBbGClFlRDnzy9KOBsDZhF7yiTgqAPBSfAGfk5Be9fMXJ5a2ZpHkozknW2OC8r2Thonnfk X-Received: by 2002:a50:ee8d:: with SMTP id f13mr4718808edr.302.1594911665048; Thu, 16 Jul 2020 08:01:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594911665; cv=none; d=google.com; s=arc-20160816; b=PY9Am2gQlPPXhxFFPzDUxhSRDS8uac3b+BBaOyYeWi5YIkawccKsLLtjfnfEtf8MWo kg0JmLix3rzXH77qJYhluqznHP1tQcr91fbnjUcBHIGzUuqzWjSyZZj/AhTUfpBjtAOk C5q5i/NOiZb4K/xK+J766yih7vml9bq4wqqmGkCLVhqTGRAbawidlF0pF4o0G0+3c+SO JyrWjP9+xBkB+bx9JRerLd+t9jsjlvW2ALk1fBGXmpj/FN3fV4Xs9ighkp2rGmLXrF65 rUrA90zr0jOOJ+Ho17V98F6HaOpKmvyfnuqf2RLCixAKGauHd9t3zv/bnvb5zCZcSRiY 9QYQ== 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 :dkim-signature; bh=I4bz/d39nrkge0/YctC5G7TOJ13psUte3WekMTxW9Dg=; b=uuhZdFcEZ3rYlVdKxKILt/1ySW8+VpQwPK1vOp6FiayQMeo+fCy6KgMm25FGMfsrqe hH//SYcMds3UQfcsONYEjssHoXvNa5BWN57zuUt22tZZlv345pnILVywVLg7ojQj39pT Ogt37Rv++MU8tw0Gp+mgqhJGIz5qTRsNCN+FvJy6bpu2dxhj/ptrYRx7Hs66kUQW42GB RhU5QyLH0mzAXjGYBO9dk3WGs5OBBABQOM7pUT0nMbBKAAa0ofRd/hKMX0h++VnYXgZk RM+1X/38tFVUvnI8z3D9ZG2UlojhuvQXukUmtOVzcXOb9w0TELDVukzMBv0cQuRWPohI /pmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@chronox.de header.s=strato-dkim-0002 header.b=FgpHdojf; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v25si3370987ejx.496.2020.07.16.08.00.38; Thu, 16 Jul 2020 08:01:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@chronox.de header.s=strato-dkim-0002 header.b=FgpHdojf; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727844AbgGPO7w (ORCPT + 99 others); Thu, 16 Jul 2020 10:59:52 -0400 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.51]:10497 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726963AbgGPO7v (ORCPT ); Thu, 16 Jul 2020 10:59:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1594911587; s=strato-dkim-0002; d=chronox.de; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=I4bz/d39nrkge0/YctC5G7TOJ13psUte3WekMTxW9Dg=; b=FgpHdojfByK5hTJJeqbiGoBPVxpYSl9wBA8Ii1mz2mcxGjzJAV3piRqdOxTNpjJfDs YMxd2Zm6AseW7/O+/lfbzJYXrN/r6r7hMa6YxOThUrDUvNzC9C7n0girgW4NO4fEdzr4 RVabOIiuQxCbZjtbJjcLqmUfTksBF97TrSzF5v2daXBU7pGiPPj3QRfYLwINFg2xZgLE ubIkEBvbaOBUzO8w61lcgl+D3maEUtp/mxNPugRlgmWoxS+xWaTZnFdn9ZkboPZ0FWvA vsp2sBDvVlWaUiDFvssvqZOJfXJvSIqLpbgOMAMakZpiNhGaBg5P7c4dH7nUgQp+Xzx2 NdNQ== X-RZG-AUTH: ":P2ERcEykfu11Y98lp/T7+hdri+uKZK8TKWEqNyiHySGSa9k9x2wdNs6neUFoh7cs0E0=" X-RZG-CLASS-ID: mo00 Received: from tauon.chronox.de by smtp.strato.de (RZmta 46.10.5 AUTH) with ESMTPSA id y0546bw6GExc97z (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Thu, 16 Jul 2020 16:59:38 +0200 (CEST) From: Stephan Mueller To: Elena Petrova , herbert@gondor.apana.org.au Cc: "open list:HARDWARE RANDOM NUMBER GENERATOR CORE" , Eric Biggers , Ard Biesheuvel , "keyrings@vger.kernel.org" Subject: Re: [PATCH 0/1] crypto: af_alg - add extra parameters for DRBG interface Date: Thu, 16 Jul 2020 16:59:37 +0200 Message-ID: <4708215.a9HWlOh95j@tauon.chronox.de> In-Reply-To: <5740551.2l3rmUXbR5@tauon.chronox.de> References: <20200713164857.1031117-1-lenaptr@google.com> <5740551.2l3rmUXbR5@tauon.chronox.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Am Donnerstag, 16. Juli 2020, 16:49:52 CEST schrieb Stephan Mueller: Hi Herbert, (resent, adding Herbert to the list and fix the keyrings address) > Am Donnerstag, 16. Juli 2020, 16:41:26 CEST schrieb Elena Petrova: > > Hi Herbert, > > > > > > With these issues, I would assume you are better off creating your > > > > > own > > > > > kernel module just like I did that externalizes the crypto API to > > > > > user > > > > > space but is only available on your test kernel and will not affect > > > > > all > > > > > other users. > > > > > > > > I considered publishing my kernel driver on GitHub, but there appears > > > > to > > > > be > > > > a sufficiently large number of users to justify having this > > > > functionality > > > > upstream. > > > > > > So, I should then dust off my AF_ALG KPP and AF_ALG akcipher patches > > > then? > > > > > > :-D > > > > Sure :) > > Long time ago when I released the patches now found in [1] and [2] they > where rejected as it was said, the official route to access the RSA/ECDSA > and the DH/ECDH ciphers is through the keyring. > > Obviously this interface of the keyring is not suitable for testing these > algorithms. Considering the request that the kernel crypto API ciphers > should be testable with arbitrary test vectors, would the dusted-off > patches for AF_ALG KPP and akcipher be accepted? > > Ciao > Stephan > > [1] > https://github.com/smuellerDD/libkcapi/tree/master/kernel-patches/4.15-rc3/ > asym > > [2] > https://github.com/smuellerDD/libkcapi/tree/master/kernel-patches/4.15-rc3/ > kpp Ciao Stephan