2 * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
4 * Licensed under the Apache License 2.0 (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
11 * RC2 low level APIs are deprecated for public use, but still ok for internal
14 #include "internal/deprecated.h"
16 #include <openssl/rc2.h>
17 #include "rc2_local.h"
18 #include <openssl/opensslv.h>
21 * RC2 as implemented frm a posting from
22 * Newsgroups: sci.crypt
23 * Subject: Specification for Ron Rivests Cipher No.2
24 * Message-ID: <4fk39f$f70@net.auckland.ac.nz>
25 * Date: 11 Feb 1996 06:45:03 GMT
28 void RC2_ecb_encrypt(const unsigned char *in, unsigned char *out, RC2_KEY *ks,
31 unsigned long l, d[2];