1.\" Copyright (c) 2005 Christian Brueffer
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.
--- 8 unchanged lines hidden (view full) ---
17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD: head/share/man/man4/man4.i386/padlock.4 159280 2006-06-05 16:24:31Z pjd $
26.\"
27.Dd June 5, 2006
28.Dt PADLOCK 4 i386
29.Os
30.Sh NAME
31.Nm padlock
32.Nd "driver for the cryptographic functions and RNG in VIA C3 and Eden processors"
33.Sh SYNOPSIS
34To compile this driver into the kernel,
35place the following lines in your
36kernel configuration file:
37.Bd -ragged -offset indent
38.Cd "device crypto"
39.Cd "device padlock"
40.Ed
41.Pp
42Alternatively, to load the driver as a
43module at boot time, place the following line in
44.Xr loader.conf 5 :
45.Bd -literal -offset indent
46padlock_load="YES"
47.Ed
48.Sh DESCRIPTION
49The C3 and Eden processor series from VIA include hardware acceleration for
50AES, as well as a hardware random number generator.
51.Pp
52The
53.Nm
54driver registers itself to accelerate AES operations for
55.Xr crypto 4 .
56It also registers itself to accelerate various HMAC algorithms, but there is no
57hardware acceleration for those algorithms, this is only needed, so
58.Nm
59can work with
60.Xr fast_ipsec 4 .
61.Pp
62The hardware random number generator supplies data for the kernel
63.Xr random 4
64subsystem.
65.Sh HISTORY
66The
67.Nm
68driver first appeared in
69.Ox .
70The first
71.Fx
72release to include it was
73.Fx 6.0 .
74.Sh SEE ALSO
75.Xr crypt 3 ,
76.Xr crypto 4 ,
77.Xr intro 4 ,
78.Xr random 4 ,
79.Xr crypto 9
80.Sh AUTHORS
81.An -nosplit
82The
83.Nm
84driver was written by
85.An Jason Wright Aq jason@OpenBSD.org .
86It was ported to
87.Fx
88by
89.An Pawel Jakub Dawidek Aq pjd@FreeBSD.org .
90This manual page was written by
91.An Christian Brueffer Aq brueffer@FreeBSD.org .
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.
--- 8 unchanged lines hidden (view full) ---
17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD: head/share/man/man4/man4.i386/padlock.4 159280 2006-06-05 16:24:31Z pjd $
26.\"
27.Dd June 5, 2006
28.Dt PADLOCK 4 i386
29.Os
30.Sh NAME
31.Nm padlock
32.Nd "driver for the cryptographic functions and RNG in VIA C3 and Eden processors"
33.Sh SYNOPSIS
34To compile this driver into the kernel,
35place the following lines in your
36kernel configuration file:
37.Bd -ragged -offset indent
38.Cd "device crypto"
39.Cd "device padlock"
40.Ed
41.Pp
42Alternatively, to load the driver as a
43module at boot time, place the following line in
44.Xr loader.conf 5 :
45.Bd -literal -offset indent
46padlock_load="YES"
47.Ed
48.Sh DESCRIPTION
49The C3 and Eden processor series from VIA include hardware acceleration for
50AES, as well as a hardware random number generator.
51.Pp
52The
53.Nm
54driver registers itself to accelerate AES operations for
55.Xr crypto 4 .
56It also registers itself to accelerate various HMAC algorithms, but there is no
57hardware acceleration for those algorithms, this is only needed, so
58.Nm
59can work with
60.Xr fast_ipsec 4 .
61.Pp
62The hardware random number generator supplies data for the kernel
63.Xr random 4
64subsystem.
65.Sh HISTORY
66The
67.Nm
68driver first appeared in
69.Ox .
70The first
71.Fx
72release to include it was
73.Fx 6.0 .
74.Sh SEE ALSO
75.Xr crypt 3 ,
76.Xr crypto 4 ,
77.Xr intro 4 ,
78.Xr random 4 ,
79.Xr crypto 9
80.Sh AUTHORS
81.An -nosplit
82The
83.Nm
84driver was written by
85.An Jason Wright Aq jason@OpenBSD.org .
86It was ported to
87.Fx
88by
89.An Pawel Jakub Dawidek Aq pjd@FreeBSD.org .
90This manual page was written by
91.An Christian Brueffer Aq brueffer@FreeBSD.org .