]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - crypto/heimdal/doc/doxyout/hcrypto/man/man3/hcrypto_core.3
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / crypto / heimdal / doc / doxyout / hcrypto / man / man3 / hcrypto_core.3
1 .TH "hcrypto function controlling behavior" 3 "11 Jan 2012" "Version 1.5.2" "Heimdal crypto library" \" -*- nroff -*-
2 .ad l
3 .nh
4 .SH NAME
5 hcrypto function controlling behavior \- 
6 .SS "Functions"
7
8 .in +1c
9 .ti -1c
10 .RI "int \fBEVP_CIPHER_CTX_rand_key\fP (EVP_CIPHER_CTX *ctx, void *key)"
11 .br
12 .ti -1c
13 .RI "int \fBEVP_CIPHER_CTX_ctrl\fP (EVP_CIPHER_CTX *ctx, int type, int arg, void *data)"
14 .br
15 .ti -1c
16 .RI "void \fBOpenSSL_add_all_algorithms\fP (void)"
17 .br
18 .ti -1c
19 .RI "void \fBOpenSSL_add_all_algorithms_conf\fP (void)"
20 .br
21 .ti -1c
22 .RI "void \fBOpenSSL_add_all_algorithms_noconf\fP (void)"
23 .br
24 .in -1c
25 .SH "Detailed Description"
26 .PP 
27
28 .SH "Function Documentation"
29 .PP 
30 .SS "int EVP_CIPHER_CTX_ctrl (EVP_CIPHER_CTX * ctx, int type, int arg, void * data)"
31 .PP
32 Perform a operation on a ctx
33 .PP
34 \fBParameters:\fP
35 .RS 4
36 \fIctx\fP context to perform operation on. 
37 .br
38 \fItype\fP type of operation. 
39 .br
40 \fIarg\fP argument to operation. 
41 .br
42 \fIdata\fP addition data to operation.
43 .RE
44 .PP
45 \fBReturns:\fP
46 .RS 4
47 1 for success, 0 for failure. 
48 .RE
49 .PP
50
51 .SS "int EVP_CIPHER_CTX_rand_key (EVP_CIPHER_CTX * ctx, void * key)"
52 .PP
53 Generate a random key for the specificed EVP_CIPHER.
54 .PP
55 \fBParameters:\fP
56 .RS 4
57 \fIctx\fP EVP_CIPHER_CTX type to build the key for. 
58 .br
59 \fIkey\fP return key, must be at least \fBEVP_CIPHER_key_length()\fP byte long.
60 .RE
61 .PP
62 \fBReturns:\fP
63 .RS 4
64 1 for success, 0 for failure. 
65 .RE
66 .PP
67
68 .SS "void OpenSSL_add_all_algorithms (void)"
69 .PP
70 Add all algorithms to the crypto core. 
71 .SS "void OpenSSL_add_all_algorithms_conf (void)"
72 .PP
73 Add all algorithms to the crypto core using configuration file. 
74 .SS "void OpenSSL_add_all_algorithms_noconf (void)"
75 .PP
76 Add all algorithms to the crypto core, but don't use the configuration file.