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:01:58 +0200
commit0cfbef388f48e68172eff30ac6f7415330a6f051 (patch)
treee1de4b8c80ad2c61b6d3ecc6739e516671c4a8b7 /providers
parent79331b86e6ed0b6f37d3e78e5f47d420dc9677dd (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) (cherry picked from commit 58e8af4cecd23dbea2e6b061ab68190b38d64145)
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);