summaryrefslogtreecommitdiffstats
path: root/doc/doxyout/hcrypto/man/man3/hcrypto_core.3
blob: 1dc73c2e586e3a473b2f7577f45114b95e7dba48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
.TH "hcrypto function controlling behavior" 3 "30 Jul 2011" "Version 1.5" "Heimdal crypto library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
hcrypto function controlling behavior \- 
.SS "Functions"

.in +1c
.ti -1c
.RI "int \fBEVP_CIPHER_CTX_rand_key\fP (EVP_CIPHER_CTX *ctx, void *key)"
.br
.ti -1c
.RI "int \fBEVP_CIPHER_CTX_ctrl\fP (EVP_CIPHER_CTX *ctx, int type, int arg, void *data)"
.br
.ti -1c
.RI "void \fBOpenSSL_add_all_algorithms\fP (void)"
.br
.ti -1c
.RI "void \fBOpenSSL_add_all_algorithms_conf\fP (void)"
.br
.ti -1c
.RI "void \fBOpenSSL_add_all_algorithms_noconf\fP (void)"
.br
.in -1c
.SH "Detailed Description"
.PP 

.SH "Function Documentation"
.PP 
.SS "int EVP_CIPHER_CTX_ctrl (EVP_CIPHER_CTX * ctx, int type, int arg, void * data)"
.PP
Perform a operation on a ctx
.PP
\fBParameters:\fP
.RS 4
\fIctx\fP context to perform operation on. 
.br
\fItype\fP type of operation. 
.br
\fIarg\fP argument to operation. 
.br
\fIdata\fP addition data to operation.
.RE
.PP
\fBReturns:\fP
.RS 4
1 for success, 0 for failure. 
.RE
.PP

.SS "int EVP_CIPHER_CTX_rand_key (EVP_CIPHER_CTX * ctx, void * key)"
.PP
Generate a random key for the specificed EVP_CIPHER.
.PP
\fBParameters:\fP
.RS 4
\fIctx\fP EVP_CIPHER_CTX type to build the key for. 
.br
\fIkey\fP return key, must be at least \fBEVP_CIPHER_key_length()\fP byte long.
.RE
.PP
\fBReturns:\fP
.RS 4
1 for success, 0 for failure. 
.RE
.PP

.SS "void OpenSSL_add_all_algorithms (void)"
.PP
Add all algorithms to the crypto core. 
.SS "void OpenSSL_add_all_algorithms_conf (void)"
.PP
Add all algorithms to the crypto core using configuration file. 
.SS "void OpenSSL_add_all_algorithms_noconf (void)"
.PP
Add all algorithms to the crypto core, but don't use the configuration file. 
OpenPOWER on IntegriCloud