+2021-02-15 Niels Möller <nisse@lysator.liu.se>
+
+ * examples/nettle-openssl.c (nettle_openssl_arcfour128): Deleted
+ glue to openssl arcfour.
+ (openssl_arcfour128_set_encrypt_key)
+ (openssl_arcfour128_set_decrypt_key): Deleted.
+ * nettle-internal.h: Deleted declaration.
+ * examples/nettle-benchmark.c (aeads): Delete benchmarking.
+
2021-02-13 Niels Möller <nisse@lysator.liu.se>
* configure.ac: Bump package version, to 3.7.1.
const struct nettle_aead *aeads[] =
{
/* Stream ciphers */
- &nettle_arcfour128, OPENSSL(&nettle_openssl_arcfour128)
+ &nettle_arcfour128,
&nettle_salsa20, &nettle_salsa20r12, &nettle_chacha,
/* Proper AEAD algorithme. */
&nettle_gcm_aes128,
openssl_evp_gcm_digest
};
-/* Arcfour */
-static void
-openssl_arcfour128_set_encrypt_key(void *ctx, const uint8_t *key)
-{
- openssl_evp_set_encrypt_key(ctx, key, EVP_rc4());
-}
-
-static void
-openssl_arcfour128_set_decrypt_key(void *ctx, const uint8_t *key)
-{
- openssl_evp_set_decrypt_key(ctx, key, EVP_rc4());
-}
-
-const struct nettle_aead
-nettle_openssl_arcfour128 = {
- "openssl arcfour128", sizeof(struct openssl_cipher_ctx),
- 1, 16, 0, 0,
- openssl_arcfour128_set_encrypt_key,
- openssl_arcfour128_set_decrypt_key,
- NULL, NULL,
- (nettle_crypt_func *)openssl_evp_encrypt,
- (nettle_crypt_func *)openssl_evp_decrypt,
- NULL,
-};
-
/* Blowfish */
static void
openssl_bf128_set_encrypt_key(void *ctx, const uint8_t *key)
extern const struct nettle_cipher nettle_openssl_blowfish128;
extern const struct nettle_cipher nettle_openssl_des;
extern const struct nettle_cipher nettle_openssl_cast128;
-extern const struct nettle_aead nettle_openssl_arcfour128;
extern const struct nettle_hash nettle_openssl_md5;
extern const struct nettle_hash nettle_openssl_sha1;