<commit_before>/**
* OpenSSL's ARC4
*/

#ifndef BOTAN_ARC4_OPENSSL_H__
#define BOTAN_ARC4_OPENSSL_H__

#include <botan/stream_cipher.h>
#include <openssl/rc4.h>

namespace Botan {

class ARC4_OpenSSL : public StreamCipher
   {
   public:
      std::string provider() const { return "openssl"; }

      void clear() throw() { std::memset(&state, 0, sizeof(state)); }
      std::string name() const;
      StreamCipher* clone() const { return new ARC4_OpenSSL(SKIP); }

      ARC4_OpenSSL(u32bit s = 0) : StreamCipher(1, 32), SKIP(s) { clear(); }
      ~ARC4_OpenSSL() { clear(); }
   private:
      void cipher(const byte[], byte[], u32bit);
      void key_schedule(const byte[], u32bit);

      const u32bit SKIP;
      RC4_KEY state;
   };

}

#endif
<commit_msg>Remove unused provider function<commit_after>/**
* OpenSSL's ARC4
*/

#ifndef BOTAN_ARC4_OPENSSL_H__
#define BOTAN_ARC4_OPENSSL_H__

#include <botan/stream_cipher.h>
#include <openssl/rc4.h>

namespace Botan {

class ARC4_OpenSSL : public StreamCipher
   {
   public:
      void clear() throw() { std::memset(&state, 0, sizeof(state)); }
      std::string name() const;
      StreamCipher* clone() const { return new ARC4_OpenSSL(SKIP); }

      ARC4_OpenSSL(u32bit s = 0) : StreamCipher(1, 32), SKIP(s) { clear(); }
      ~ARC4_OpenSSL() { clear(); }
   private:
      void cipher(const byte[], byte[], u32bit);
      void key_schedule(const byte[], u32bit);

      const u32bit SKIP;
      RC4_KEY state;
   };

}

#endif

{'fraction_non_alphanumeric': 0.14045698924731181, 'fraction_numerical': 0.02956989247311828, 'mean_word_length': 3.5396341463414633, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1777494', 'n_tokens_mistral': 578, 'n_tokens_neox': 547, 'n_words': 124}