Home | History | Annotate | Line # | Download | only in man3
      1      1.1  christos =pod
      2      1.1  christos 
      3      1.1  christos =head1 NAME
      4      1.1  christos 
      5      1.1  christos EVP_rc4,
      6      1.1  christos EVP_rc4_40,
      7      1.1  christos EVP_rc4_hmac_md5
      8      1.1  christos - EVP RC4 stream cipher
      9      1.1  christos 
     10      1.1  christos =head1 SYNOPSIS
     11      1.1  christos 
     12      1.1  christos  #include <openssl/evp.h>
     13      1.1  christos 
     14  1.1.1.2  christos  const EVP_CIPHER *EVP_rc4(void);
     15  1.1.1.2  christos  const EVP_CIPHER *EVP_rc4_40(void);
     16  1.1.1.2  christos  const EVP_CIPHER *EVP_rc4_hmac_md5(void);
     17      1.1  christos 
     18      1.1  christos =head1 DESCRIPTION
     19      1.1  christos 
     20      1.1  christos The RC4 stream cipher for EVP.
     21      1.1  christos 
     22      1.1  christos =over 4
     23      1.1  christos 
     24      1.1  christos =item EVP_rc4()
     25      1.1  christos 
     26      1.1  christos RC4 stream cipher. This is a variable key length cipher with a default key
     27      1.1  christos length of 128 bits.
     28      1.1  christos 
     29      1.1  christos =item EVP_rc4_40()
     30      1.1  christos 
     31      1.1  christos RC4 stream cipher with 40 bit key length.
     32      1.1  christos 
     33      1.1  christos WARNING: this function is obsolete. Its usage should be replaced with the
     34      1.1  christos EVP_rc4() and the EVP_CIPHER_CTX_set_key_length() functions.
     35      1.1  christos 
     36      1.1  christos =item EVP_rc4_hmac_md5()
     37      1.1  christos 
     38      1.1  christos Authenticated encryption with the RC4 stream cipher with MD5 as HMAC.
     39      1.1  christos 
     40      1.1  christos WARNING: this is not intended for usage outside of TLS and requires calling of
     41      1.1  christos some undocumented ctrl functions. These ciphers do not conform to the EVP AEAD
     42      1.1  christos interface.
     43      1.1  christos 
     44      1.1  christos =back
     45      1.1  christos 
     46  1.1.1.3  christos =head1 NOTES
     47  1.1.1.3  christos 
     48  1.1.1.3  christos Developers should be aware of the negative performance implications of
     49  1.1.1.3  christos calling these functions multiple times and should consider using
     50  1.1.1.4  christos L<EVP_CIPHER_fetch(3)> with L<EVP_CIPHER-RC4(7)> instead.
     51  1.1.1.3  christos See L<crypto(7)/Performance> for further information.
     52  1.1.1.3  christos 
     53      1.1  christos =head1 RETURN VALUES
     54      1.1  christos 
     55      1.1  christos These functions return an B<EVP_CIPHER> structure that contains the
     56      1.1  christos implementation of the symmetric cipher. See L<EVP_CIPHER_meth_new(3)> for
     57      1.1  christos details of the B<EVP_CIPHER> structure.
     58      1.1  christos 
     59      1.1  christos =head1 SEE ALSO
     60      1.1  christos 
     61      1.1  christos L<evp(7)>,
     62      1.1  christos L<EVP_EncryptInit(3)>,
     63      1.1  christos L<EVP_CIPHER_meth_new(3)>
     64      1.1  christos 
     65      1.1  christos =head1 COPYRIGHT
     66      1.1  christos 
     67  1.1.1.3  christos Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
     68      1.1  christos 
     69  1.1.1.2  christos Licensed under the Apache License 2.0 (the "License").  You may not use
     70      1.1  christos this file except in compliance with the License.  You can obtain a copy
     71      1.1  christos in the file LICENSE in the source distribution or at
     72      1.1  christos L<https://www.openssl.org/source/license.html>.
     73      1.1  christos 
     74      1.1  christos =cut
     75