1=pod 2 3=head1 NAME 4 5EVP_rc2_cbc, 6EVP_rc2_cfb, 7EVP_rc2_ecb, 8EVP_rc2_ofb, 9EVP_rc2_40_cbc, 10EVP_rc2_64_cbc 11- EVP RC2 cipher 12 13=head1 SYNOPSIS 14 15 #include <openssl/evp.h> 16 17 const EVP_CIPHER *EVP_rc2_cbc(void) 18 const EVP_CIPHER *EVP_rc2_cfb(void) 19 const EVP_CIPHER *EVP_rc2_ecb(void) 20 const EVP_CIPHER *EVP_rc2_ofb(void) 21 const EVP_CIPHER *EVP_rc2_40_cbc(void) 22 const EVP_CIPHER *EVP_rc2_64_cbc(void) 23 24=head1 DESCRIPTION 25 26The RC2 encryption algorithm for EVP. 27 28=over 4 29 30=item EVP_rc2_cbc(), 31EVP_rc2_cfb(), 32EVP_rc2_ecb(), 33EVP_rc2_ofb() 34 35RC2 encryption algorithm in CBC, CFB, ECB and OFB modes respectively. This is a 36variable key length cipher with an additional parameter called "effective key 37bits" or "effective key length". By default both are set to 128 bits. 38 39=item EVP_rc2_40_cbc(), 40EVP_rc2_64_cbc() 41 42RC2 algorithm in CBC mode with a default key length and effective key length of 4340 and 64 bits. 44 45WARNING: these functions are obsolete. Their usage should be replaced with the 46EVP_rc2_cbc(), EVP_CIPHER_CTX_set_key_length() and EVP_CIPHER_CTX_ctrl() 47functions to set the key length and effective key length. 48 49=back 50 51=head1 RETURN VALUES 52 53These functions return an B<EVP_CIPHER> structure that contains the 54implementation of the symmetric cipher. See L<EVP_CIPHER_meth_new(3)> for 55details of the B<EVP_CIPHER> structure. 56 57=head1 SEE ALSO 58 59L<evp(7)>, 60L<EVP_EncryptInit(3)>, 61L<EVP_CIPHER_meth_new(3)> 62 63=head1 COPYRIGHT 64 65Copyright 2017 The OpenSSL Project Authors. All Rights Reserved. 66 67Licensed under the OpenSSL license (the "License"). You may not use 68this file except in compliance with the License. You can obtain a copy 69in the file LICENSE in the source distribution or at 70L<https://www.openssl.org/source/license.html>. 71 72=cut 73 74