From 9308ae7c309e076d15b1f28c092dc3848b684aa7 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sat, 9 May 2026 07:02:29 +0000 Subject: Correct argument type in comments. --- src/lib/libcrypto/sha/sha1_aarch64_ce.S | 4 ++-- src/lib/libcrypto/sha/sha1_amd64_shani.S | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libcrypto/sha/sha1_aarch64_ce.S b/src/lib/libcrypto/sha/sha1_aarch64_ce.S index 85fefb9ccf..9f786960c2 100644 --- a/src/lib/libcrypto/sha/sha1_aarch64_ce.S +++ b/src/lib/libcrypto/sha/sha1_aarch64_ce.S @@ -1,4 +1,4 @@ -/* $OpenBSD: sha1_aarch64_ce.S,v 1.8 2026/05/07 15:50:47 jsing Exp $ */ +/* $OpenBSD: sha1_aarch64_ce.S,v 1.9 2026/05/09 07:02:29 jsing Exp $ */ /* * Copyright (c) 2023,2025 Joel Sing * @@ -107,7 +107,7 @@ .section CRYPTO_ASSEMBLY_SECTION_TEXT /* - * void sha1_block_ce(SHA256_CTX *ctx, const void *in, size_t num); + * void sha1_block_ce(SHA_CTX *ctx, const void *in, size_t num); * * Standard ARM ABI: x0 = ctx, x1 = in, x2 = num */ diff --git a/src/lib/libcrypto/sha/sha1_amd64_shani.S b/src/lib/libcrypto/sha/sha1_amd64_shani.S index 4814778343..c397fa41c9 100644 --- a/src/lib/libcrypto/sha/sha1_amd64_shani.S +++ b/src/lib/libcrypto/sha/sha1_amd64_shani.S @@ -1,4 +1,4 @@ -/* $OpenBSD: sha1_amd64_shani.S,v 1.7 2026/05/07 15:50:47 jsing Exp $ */ +/* $OpenBSD: sha1_amd64_shani.S,v 1.8 2026/05/09 07:02:29 jsing Exp $ */ /* * Copyright (c) 2024 Joel Sing * @@ -72,7 +72,7 @@ .section CRYPTO_ASSEMBLY_SECTION_TEXT /* - * void sha1_block_shani(SHA256_CTX *ctx, const void *in, size_t num); + * void sha1_block_shani(SHA_CTX *ctx, const void *in, size_t num); * * Standard x86-64 ABI: rdi = ctx, rsi = in, rdx = num */ -- cgit v1.2.3-55-g6feb