]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - crypto/openssl/doc/crypto/evp.pod
Merge OpenSSL 1.0.1t.
[FreeBSD/stable/10.git] / crypto / openssl / doc / crypto / evp.pod
1 =pod
2
3 =head1 NAME
4
5 evp - high-level cryptographic functions
6
7 =head1 SYNOPSIS
8
9  #include <openssl/evp.h>
10
11 =head1 DESCRIPTION
12
13 The EVP library provides a high-level interface to cryptographic
14 functions.
15
16 B<EVP_Seal>I<...> and B<EVP_Open>I<...> provide public key encryption
17 and decryption to implement digital "envelopes".
18
19 The B<EVP_Sign>I<...> and B<EVP_Verify>I<...> functions implement
20 digital signatures.
21
22 Symmetric encryption is available with the B<EVP_Encrypt>I<...>
23 functions.  The B<EVP_Digest>I<...> functions provide message digests.
24
25 The B<EVP_PKEY>I<...> functions provide a high level interface to
26 asymmetric algorithms.
27
28 The L<B<EVP_Encode>I<...>|EVP_EncodeInit(3)> and
29 L<B<EVP_Decode>I<...>|EVP_EncodeInit(3)> functions implement base 64 encoding
30 and decoding.
31
32 Algorithms are loaded with OpenSSL_add_all_algorithms(3).
33
34 All the symmetric algorithms (ciphers), digests and asymmetric algorithms
35 (public key algorithms) can be replaced by ENGINE modules providing alternative
36 implementations. If ENGINE implementations of ciphers or digests are registered
37 as defaults, then the various EVP functions will automatically use those
38 implementations automatically in preference to built in software
39 implementations. For more information, consult the engine(3) man page.
40
41 Although low level algorithm specific functions exist for many algorithms
42 their use is discouraged. They cannot be used with an ENGINE and ENGINE
43 versions of new algorithms cannot be accessed using the low level functions.
44 Also makes code harder to adapt to new algorithms and some options are not 
45 cleanly supported at the low level and some operations are more efficient
46 using the high level interface.
47
48 =head1 SEE ALSO
49
50 L<EVP_DigestInit(3)|EVP_DigestInit(3)>,
51 L<EVP_EncryptInit(3)|EVP_EncryptInit(3)>,
52 L<EVP_OpenInit(3)|EVP_OpenInit(3)>,
53 L<EVP_SealInit(3)|EVP_SealInit(3)>,
54 L<EVP_SignInit(3)|EVP_SignInit(3)>,
55 L<EVP_VerifyInit(3)|EVP_VerifyInit(3)>,
56 L<EVP_EncodeInit(3)>,
57 L<OpenSSL_add_all_algorithms(3)|OpenSSL_add_all_algorithms(3)>,
58 L<engine(3)|engine(3)>
59
60 =cut