| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
Notes:
svn path=/head/; revision=160677
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Such an address can be used directly in padlock's AES.
This improves speed of geli(8) significantly:
# sysctl kern.geom.zero.clear=0
# geli onetime -s 4096 gzero
# dd if=/dev/gzero.eli of=/dev/null bs=1m count=1000
Before: 113MB/s
After: 203MB/s
BTW. If sector size is set to 128kB, I can read at 276MB/s :)
Notes:
svn path=/head/; revision=160676
|
| |
|
|
|
|
|
| |
aligned, it will be used directly, not 'address + 16'.
Notes:
svn path=/head/; revision=160675
|
| |
|
|
| |
Notes:
svn path=/head/; revision=160674
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
new VIA CPUs.
For older CPUs HMAC/SHA1 and HMAC/SHA256 (and others) will still be done
in software.
Move symmetric cryptography (currently only AES-CBC 128/192/256) to
padlock_cipher.c file. Move HMAC cryptography to padlock_hash.c file.
Hardware from: Centaur Technologies
Notes:
svn path=/head/; revision=160582
|
| |
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=160573
|
| |
|
|
|
|
|
|
|
|
|
|
| |
them twice.
This is possible for example in situation when session is used in
authentication context, then freed and then used in encryption context
and freed - in encryption context ses_ictx and ses_octx are not touched
at newsession time, but padlock_freesession could still try to free them
when they are not NULL.
Notes:
svn path=/head/; revision=160568
|
| |
|
|
|
|
|
|
|
|
|
| |
instead of probing again.
Adjust style(9) somewhat in probe.c
Reviewed by: pjd
MFC after: 1 week
Notes:
svn path=/head/; revision=160325
|
| |
|
|
|
|
|
| |
Reported by: Rong-en Fan <grafan@gmail.com>
Notes:
svn path=/head/; revision=159405
|
| |
|
|
|
|
|
|
|
|
|
| |
with fast_ipsec(4) and geli(8) authentication (comming soon).
If consumer requests only for HMAC algorithm (without encryption), return
EINVAL.
- Add support for the CRD_F_KEY_EXPLICIT flag, for both encryption and
authentication.
Notes:
svn path=/head/; revision=159279
|
| |
|
|
|
|
|
| |
Return an error instead of encrypting/decrypting data with a wrong key.
Notes:
svn path=/head/; revision=157899
|
| |
|
|
| |
Notes:
svn path=/head/; revision=157684
|
|
|
HW donated by: Mike Tancsa <mike@sentex.net>
Most of the code obtained from: OpenBSD
MFC after: 3 days
Notes:
svn path=/head/; revision=149211
|