diff options
| author | Christoph Müllner <[email protected]> | 2026-04-10 02:23:01 +0200 |
|---|---|---|
| committer | Tomas Mraz <[email protected]> | 2026-07-23 17:43:21 +0200 |
| commit | d2c0db0d9d7fa2658215fa3f34db1810ec4a7f29 (patch) | |
| tree | e7f1a1ae07ef1b0da97a46ecb5b5605c53a6d3c6 | |
| parent | crypto: use void * in RISC-V digest shims (diff) | |
| download | openssl-d2c0db0d9d7fa2658215fa3f34db1810ec4a7f29.tar.gz openssl-d2c0db0d9d7fa2658215fa3f34db1810ec4a7f29.zip | |
crypto: use void * in LoongArch SHA shim
The LoongArch SHA dispatch shim uses the same deprecated typed
interfaces as the RISC-V shim. Switch its entry points to void *
so it no longer depends on deprecated SHA context types.
Signed-off-by: Christoph Müllner <[email protected]>
Reviewed-by: Milan Broz <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
MergeDate: Thu Jul 23 15:43:31 2026
(Merged from https://github.com/openssl/openssl/pull/30763)
| -rw-r--r-- | crypto/sha/sha_loongarch.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/sha/sha_loongarch.c b/crypto/sha/sha_loongarch.c index 55ececfe041..1576e6f4935 100644 --- a/crypto/sha/sha_loongarch.c +++ b/crypto/sha/sha_loongarch.c @@ -16,9 +16,9 @@ void sha256_block_data_order_la64v100(void *ctx, const void *in, size_t num); void sha256_block_data_order_lsx(void *ctx, const void *in, size_t num); -void sha256_block_data_order(SHA256_CTX *ctx, const void *in, size_t num); +void sha256_block_data_order(void *ctx, const void *in, size_t num); -void sha256_block_data_order(SHA256_CTX *ctx, const void *in, size_t num) +void sha256_block_data_order(void *ctx, const void *in, size_t num) { if (OPENSSL_loongarch_hwcap_P & LOONGARCH_HWCAP_LSX) { sha256_block_data_order_lsx(ctx, in, num); @@ -29,9 +29,9 @@ void sha256_block_data_order(SHA256_CTX *ctx, const void *in, size_t num) void sha512_block_data_order_la64v100(void *ctx, const void *in, size_t num); void sha512_block_data_order_lsx(void *ctx, const void *in, size_t num); -void sha512_block_data_order(SHA512_CTX *ctx, const void *in, size_t num); +void sha512_block_data_order(void *ctx, const void *in, size_t num); -void sha512_block_data_order(SHA512_CTX *ctx, const void *in, size_t num) +void sha512_block_data_order(void *ctx, const void *in, size_t num) { if (OPENSSL_loongarch_hwcap_P & LOONGARCH_HWCAP_LSX) { sha512_block_data_order_lsx(ctx, in, num); |
