diff options
author | Tomas Mraz <tomas@openssl.org> | 2023-06-08 10:50:52 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-06-10 13:02:11 +0200 |
commit | fce1cb15d8d3bddbd68d23eb206ef95f902778d9 (patch) | |
tree | e3e6d1d14003abc13070dd7db6ca13f860e2bff7 /providers/implementations | |
parent | fefeecf00dd75a44dc33569f857aa741f59ccbb4 (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/implementations')
-rw-r--r-- | providers/implementations/ciphers/cipher_rc4_hmac_md5.h | 3 |
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); |