From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0AA5FC4332F for ; Thu, 9 Nov 2023 09:46:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231199AbjKIJqB (ORCPT ); Thu, 9 Nov 2023 04:46:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229574AbjKIJp7 (ORCPT ); Thu, 9 Nov 2023 04:45:59 -0500 Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CD82271F for ; Thu, 9 Nov 2023 01:45:57 -0800 (PST) Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-6b1d1099a84so701969b3a.1 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=Ufhy3HNo8pM6PVyFrD/dorVEQ3tPIrS3MVM9cA1QsKt/qkH4e2fjyYtPvgl29YZcwA vp7E3u/nSpxJY7JLlypRbci+F5Y6i781RQcUukOlUDf7GgJMXIrAtDtGPhgLChSF7Y1o QyOYklXq8wopJdIc9UgVaYu4aCwXrdeJT4wsnvuwbMP0dSgNB8JU3s9pJDY9LSfOFOSE bQFvJKjzqS08S0yahxBdBQThBIGB8ruToY8AeGWwxYqLZT0qi+g74+X6OnBh0Quo33AV LZdvy2hE/R4K2gYh3lFC1aOIri6z/5/S9iN1VSx2t95IKlqxM8+6ECjXoHlYrn/IBmPA zSXg== X-Gm-Message-State: AOJu0Yx3e6kbozgaE/p5zr9wZCmNhujae3XyJzKENkSsXl51ZN1w9B0W dYtcHU4PTQVDI/A+C/8HHxUB2A== 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 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) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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=