summaryrefslogtreecommitdiffstats
path: root/providers
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2023-06-08 10:50:52 +0200
committerTomas Mraz <tomas@openssl.org>2023-06-10 13:00:57 +0200
commit58e8af4cecd23dbea2e6b061ab68190b38d64145 (patch)
treeb4f017f4c87087f0e705dfd55cc08bceecbacce6 /providers
parent8a2e74d0536c91585fbe789e0ab7b06cab0289c2 (diff)
Set RC4 defines on libcrypto/liblegacy
Also add missing prototype for rc4_md5_enc. Fixes #21150 Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21153)
Diffstat (limited to 'providers')
-rw-r--r--providers/implementations/ciphers/cipher_rc4_hmac_md5.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/providers/implementations/ciphers/cipher_rc4_hmac_md5.h b/providers/implementations/ciphers/cipher_rc4_hmac_md5.h
index 1697aabbf3..c79e5ad6df 100644
--- a/providers/implementations/ciphers/cipher_rc4_hmac_md5.h
+++ b/providers/implementations/ciphers/cipher_rc4_hmac_md5.h
@@ -31,3 +31,6 @@ typedef struct prov_cipher_hw_rc4_hmac_md5_st {
} PROV_CIPHER_HW_RC4_HMAC_MD5;
const PROV_CIPHER_HW *ossl_prov_cipher_hw_rc4_hmac_md5(size_t keybits);
+
+void rc4_md5_enc(RC4_KEY *key, const void *in0, void *out,
+ MD5_CTX *ctx, const void *inp, size_t blocks);