summaryrefslogtreecommitdiff
path: root/static/netbsd/man3/hcrypto_core.3
blob: cbd00747b1a444ba5812f7223b815e31769518e6 (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
77
78
79
.\"	$NetBSD: hcrypto_core.3,v 1.3 2023/06/19 21:41:39 christos Exp $
.\"
.TH "hcrypto_core" 3 "Tue Nov 15 2022" "Version 7.8.0" "Heimdal crypto library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
hcrypto_core \- hcrypto function controlling behavior
.SH SYNOPSIS
.br
.PP
.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)"
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)"
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)"
Add all algorithms to the crypto core\&. 
.SS "void OpenSSL_add_all_algorithms_conf (void)"
Add all algorithms to the crypto core using configuration file\&. 
.SS "void OpenSSL_add_all_algorithms_noconf (void)"
Add all algorithms to the crypto core, but don't use the configuration file\&. 
.SH "Author"
.PP 
Generated automatically by Doxygen for Heimdal crypto library from the source code\&.