From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 353E912E75 for ; Thu, 9 Nov 2023 09:45:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sifive.com header.i=@sifive.com header.b="cR3scnhc" Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CBDE2702 for ; Thu, 9 Nov 2023 01:45:57 -0800 (PST) Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-6b7f0170d7bso695327b3a.2 for ; Thu, 09 Nov 2023 01:45:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; t=1699523157; x=1700127957; darn=vger.kernel.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=NbSiGKrBhM2/wHXRoKptmfeSde2mpjPrJRJ8xggR25Y=; b=cR3scnhcl4yHgQ7xFD7Kqwpmzp7LL3j7TeGgKlyhYvMWFgNfxArIpu0Hyfipn11rQk ddwpZGrwqtIGebyLVNSNHrUrWqNYYYpSrF99k7o7ptrpO7ZAO4jTM4RfBrQQC+WI5kb2 AmVKJz0rhd6dvEagIp+eWk5dDKQAQT3fWobIv2AuUWCzeYnNFl8RcmdlZAn/pfolXSYt oPsknKpwvExD7z0WKOVHHDyUK1o+IISCzgYgTh0wXvrBzreJjn30C7ET4pyUrwjshItq eBgjRiJSkOXA3DYfLIwJ6SKLetTvHCqBYgkwdGe0ai39WmCgiyPXacst6Y6XLB+jGb/t HJwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699523157; x=1700127957; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NbSiGKrBhM2/wHXRoKptmfeSde2mpjPrJRJ8xggR25Y=; b=ILeKhhQU0ZROYH/J1E1AqaK2cSWKLKL7+6A0XHkc3pRQY2m3M0IHcL5fmc0L6bQo2r fANd6AHmTfMYQAYXun/twt3ti+tUE4NnJuNUoRCABji4EAAYpb5jhaXP/DYCd7NhRNBJ taz0wldbwTWPoYXZ3L1ZxFMeU2k+mYhYMVPU1fbM+3qWIMqnI4GREYIVoqnkiGJFCCgw zUD4SSTcxzdPTW/t4jLqy46BHZ4D17Ix/Q7nBxB0d9To0FIJgD5TBW8AJcYmDTuN9i7H yZRUBaqIEiMHRY1bheF9GRGKEOQPtye/pRI0yPp2uiWfaRPkkjz+s7je9GMwEFkAOn1h /btg== X-Gm-Message-State: AOJu0YzFlGtK8mlNdlTVd49zpWqx2Q1MC3tS3vsEORp/UUG2os6csEIa XzawOSmeGhwchkXPNC1rNaEQAQ== X-Google-Smtp-Source: AGHT+IHcxvykfL05iCgUN8NZYoRBP07ZEj+8KS+NLRxGiL6Z6fO5lkId5FnQ6uAbYO6wWgDNI5Gdhg== X-Received: by 2002:a05:6a20:1594:b0:17a:f0e0:ed07 with SMTP id h20-20020a056a20159400b0017af0e0ed07mr5017358pzj.15.1699523156774; Thu, 09 Nov 2023 01:45:56 -0800 (PST) Received: from ?IPv6:2402:7500:4ce:aeef:31cf:49a7:c:20d4? ([2402:7500:4ce:aeef:31cf:49a7:c:20d4]) by smtp.gmail.com with ESMTPSA id g13-20020aa7874d000000b006c31c0dfb69sm10276439pfo.188.2023.11.09.01.45.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Nov 2023 01:45:56 -0800 (PST) Content-Type: text/plain; charset=utf-8 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.7\)) Subject: Re: [PATCH v3 06/20] riscv: add ISA extension parsing for vector crypto From: Jerry Shih In-Reply-To: <20231109-prevalent-serrated-d40eb5f71236@wendy> Date: Thu, 9 Nov 2023 17:45:51 +0800 Cc: =?utf-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Palmer Dabbelt , Paul Walmsley , Rob Herring , Krzysztof Kozlowski , Albert Ou , Jonathan Corbet , Andrew Jones , Evan Green , Conor Dooley , Samuel Ortiz Content-Transfer-Encoding: quoted-printable Message-Id: References: <20231107105556.517187-1-cleger@rivosinc.com> <20231107105556.517187-7-cleger@rivosinc.com> <5EF129A2-195B-4207-A2F6-DBA1FBB9F65D@sifive.com> <20231109-revolver-heat-9f4788c51bbf@wendy> <20231109-prevalent-serrated-d40eb5f71236@wendy> To: Conor Dooley X-Mailer: Apple Mail (2.3445.9.7) On Nov 9, 2023, at 15:54, Conor Dooley = wrote: > On Thu, Nov 09, 2023 at 07:44:46AM +0000, Conor Dooley wrote: >> On Thu, Nov 09, 2023 at 10:58:41AM +0800, Jerry Shih wrote: >>> On Nov 7, 2023, at 18:55, Cl=C3=A9ment L=C3=A9ger = wrote: >>> The Zvknha and Zvknhb are exclusive. It's not the superset = relationship. >>>=20 >>> Please check: >>> = https://github.com/riscv/riscv-crypto/issues/364#issuecomment-1726782096 >>=20 >> You got a response to this on the previous version, but didn't engage >> with it: >> = https://lore.kernel.org/all/c64d9ddb-edbd-4c8f-b56f-1b90d82100b7@rivosinc.= com/#t Reply for the thread: = https://lore.kernel.org/all/c64d9ddb-edbd-4c8f-b56f-1b90d82100b7@rivosinc.= com/#t > Yes, but for instance, what happens if the user query the zvknha (if = it > only needs SHA256) but zvknhb is present. If we don't declare zvknha, > then it will fail but the support would actually be present due to > zvknhb being there. If we needs SHA256 only, then we should check whether we have zvknha = `or` zvknhb. = https://github.com/openssl/openssl/blob/4d4657cb6ba364dfa60681948b0a30c40b= ee31ca/crypto/sha/sha_riscv.c#L24 > Ahh, I now see what that happened. Your mailer is broken and puts the > message-id of what you are replying to in the In-Reply-To and Reply-To > headers. The former is correct, the latter is bogus & means you don't = even > get delivered the response. I use mac builtin `mail` client. And I think I put the `in-reply-to` = address to the `reply to` field. Hope this one works well. Thank you for the thread = forwarding. -Jerry=