diff options
author | Doug Hogan <[email protected]> | 2018-12-20 02:04:39 -0800 |
---|---|---|
committer | Doug Hogan <[email protected]> | 2018-12-20 02:30:38 -0800 |
commit | fcc39fb11f82f1e6540a85fb2a1295640397778e (patch) | |
tree | 7919244b6c9a02afc63acffb6b01d12eb41d8373 /lib/crypto/c_src/rc4.h | |
parent | b3da76c6bb4cf54e8453f05ea9ab37747e390d76 (diff) | |
download | otp-fcc39fb11f82f1e6540a85fb2a1295640397778e.tar.gz otp-fcc39fb11f82f1e6540a85fb2a1295640397778e.tar.bz2 otp-fcc39fb11f82f1e6540a85fb2a1295640397778e.zip |
Move RC4 functionality to a new file
Also, move a FIPS check macro to the common openssl_config.h.
Diffstat (limited to 'lib/crypto/c_src/rc4.h')
-rw-r--r-- | lib/crypto/c_src/rc4.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/crypto/c_src/rc4.h b/lib/crypto/c_src/rc4.h new file mode 100644 index 0000000000..23d0ae56dc --- /dev/null +++ b/lib/crypto/c_src/rc4.h @@ -0,0 +1,9 @@ +#ifndef E_RC4_H__ +#define E_RC4_H__ 1 + +#include "common.h" + +ERL_NIF_TERM rc4_set_key(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]); +ERL_NIF_TERM rc4_encrypt_with_state(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]); + +#endif /* E_RC4_H__ */ |