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 * RC5 low level APIs are deprecated for public use, but still ok for internal
14 #include "internal/deprecated.h"
16 #include <openssl/rc5.h>
17 #include "rc5_local.h"
18 #include <openssl/opensslv.h>
20 void RC5_32_ecb_encrypt(const unsigned char *in, unsigned char *out,
21 RC5_32_KEY *ks, int encrypt)
23 unsigned long l, d[2];
30 RC5_32_encrypt(d, ks);
32 RC5_32_decrypt(d, ks);