From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-171.mta1.migadu.com (out-171.mta1.migadu.com [95.215.58.171]) (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 CB68D313525 for ; Tue, 18 Nov 2025 13:45:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763473517; cv=none; b=gMgQfHBCXfEWEk1DckY/sMegaR/1QGz80OiVIC5B4+N6q8yoVg2IK1NqkWMvGuqFhO/3pmIOISi+mQzHDCxfDzeXgUql+Sx0z9AXflCPkp6nsu+3A937Y7yxNFW75nHzDw/ZqO3lbem9iEQWBK7G/C5WnVyUU+unfl4mzFB+Lwk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763473517; c=relaxed/simple; bh=w1mWsjOcrsPhjc4R8mAA3gTC71UH37uVKrh/Ni8utEQ=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=DZ09NZBcZrvTJm+jtMvI5cayGb59VdXMJhQ5sqdRNuloD8W9qKFsbYqsPVv5kNktjepqsznuom62I4U3h47MSgVvYiLD993Sk8plAIWKLD1rX015r23s41u9P0o6Gxs728I5nZp4zjCpfrWtpX/1QVrMyusahoBneFPrOQT0GHc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=YOpIZ3S5; arc=none smtp.client-ip=95.215.58.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="YOpIZ3S5" Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1763473512; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QGKPQF0y5A/yl97OC4p5pS+sRK08oluFnC6kWkR5B3I=; b=YOpIZ3S5q0kbPjioWTGJBBU9szS/gtDM082eqwDEsrAeoT1hpU+PzzHC0TiOTxS0XaoC+9 HBm2yLdFIaNxEXXDwD+tBAlTDey2widJ83jEHb8BIsmJ6yB2qoGaHQrQeHTzJgtyZZDqvE u4i3ZQ5gstOPQugl6pX0Xc9Gg+qinPI= Date: Tue, 18 Nov 2025 13:45:09 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH bpf-next 2/4] selftests/bpf: Add tests for SHA hash kfuncs To: Daniel Hodges , Andrii Nakryiko , Eduard Zingerman , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Shuah Khan , open list , "open list:BPF [SELFTESTS] (Test Runners & Infrastructure)" , "open list:KERNEL SELFTEST FRAMEWORK" References: <20251117211413.1394-1-git@danielhodges.dev> <20251117211413.1394-3-git@danielhodges.dev> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Vadim Fedorenko In-Reply-To: <20251117211413.1394-3-git@danielhodges.dev> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 17/11/2025 21:13, Daniel Hodges wrote: > Add selftests to validate the SHA-256, SHA-384, and SHA-512 hash kfuncs > introduced in the BPF crypto subsystem. The tests verify both correct > functionality and proper error handling. > > Test Data: > All tests use the well-known NIST test vector input "abc" and validate > against the standardized expected outputs for each algorithm. This ensures > the BPF kfunc wrappers correctly delegate to the kernel crypto library. > > Signed-off-by: Daniel Hodges Reviewed-by: Vadim Fedorenko