diff options
| author | jsing <> | 2026-05-09 07:02:29 +0000 |
|---|---|---|
| committer | jsing <> | 2026-05-09 07:02:29 +0000 |
| commit | 9308ae7c309e076d15b1f28c092dc3848b684aa7 (patch) | |
| tree | 410bd32dc60a2dffbbf5faacd92ecd1e56d1a39c /src/lib/libcrypto | |
| parent | 338f5824685b5705cb660c43d3fd220962a668f3 (diff) | |
| download | openbsd-9308ae7c309e076d15b1f28c092dc3848b684aa7.tar.gz openbsd-9308ae7c309e076d15b1f28c092dc3848b684aa7.tar.bz2 openbsd-9308ae7c309e076d15b1f28c092dc3848b684aa7.zip | |
Correct argument type in comments.
Diffstat (limited to 'src/lib/libcrypto')
| -rw-r--r-- | src/lib/libcrypto/sha/sha1_aarch64_ce.S | 4 | ||||
| -rw-r--r-- | src/lib/libcrypto/sha/sha1_amd64_shani.S | 4 |
2 files changed, 4 insertions, 4 deletions
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 @@ | |||
| 1 | /* $OpenBSD: sha1_aarch64_ce.S,v 1.8 2026/05/07 15:50:47 jsing Exp $ */ | 1 | /* $OpenBSD: sha1_aarch64_ce.S,v 1.9 2026/05/09 07:02:29 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2023,2025 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2023,2025 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -107,7 +107,7 @@ | |||
| 107 | .section CRYPTO_ASSEMBLY_SECTION_TEXT | 107 | .section CRYPTO_ASSEMBLY_SECTION_TEXT |
| 108 | 108 | ||
| 109 | /* | 109 | /* |
| 110 | * void sha1_block_ce(SHA256_CTX *ctx, const void *in, size_t num); | 110 | * void sha1_block_ce(SHA_CTX *ctx, const void *in, size_t num); |
| 111 | * | 111 | * |
| 112 | * Standard ARM ABI: x0 = ctx, x1 = in, x2 = num | 112 | * Standard ARM ABI: x0 = ctx, x1 = in, x2 = num |
| 113 | */ | 113 | */ |
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 @@ | |||
| 1 | /* $OpenBSD: sha1_amd64_shani.S,v 1.7 2026/05/07 15:50:47 jsing Exp $ */ | 1 | /* $OpenBSD: sha1_amd64_shani.S,v 1.8 2026/05/09 07:02:29 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2024 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2024 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -72,7 +72,7 @@ | |||
| 72 | .section CRYPTO_ASSEMBLY_SECTION_TEXT | 72 | .section CRYPTO_ASSEMBLY_SECTION_TEXT |
| 73 | 73 | ||
| 74 | /* | 74 | /* |
| 75 | * void sha1_block_shani(SHA256_CTX *ctx, const void *in, size_t num); | 75 | * void sha1_block_shani(SHA_CTX *ctx, const void *in, size_t num); |
| 76 | * | 76 | * |
| 77 | * Standard x86-64 ABI: rdi = ctx, rsi = in, rdx = num | 77 | * Standard x86-64 ABI: rdi = ctx, rsi = in, rdx = num |
| 78 | */ | 78 | */ |
