Up to [cvs.NetBSD.org] / src / crypto / dist / ipsec-tools / src / setkey
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: cherry-xenmp
Revision 1.16 / (download) - annotate - [select for diffs], Thu May 26 21:50:02 2011 UTC (12 years, 10 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
cherry-xenmp-base,
cherry-xenmp
Branch point for: yamt-pagecache
Changes since 1.15: +11 -1
lines
Diff to previous 1.15 (colored)
pull in AES-GCM/GMAC support from OpenBSD This is still somewhat experimental. Tested between 2 similar boxes so far. There is much potential for performance improvement. For now, I've changed the gmac code to accept any data alignment, as the "char *" pointer suggests. As the code is practically used, 32-bit alignment can be assumed, at the cost of data copies. I don't know whether bytewise access or copies are worse performance-wise. For efficient implementations using SSE2 instructions on x86, even stricter alignment requirements might arise.