OpenBSD CVS

CVS log for src/sys/crypto/gmac.c


[BACK] Up to [local] / src / sys / crypto

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.10 / (download) - annotate - [select for diffs], Tue May 2 11:44:32 2017 UTC (7 years, 1 month ago) by mikeb
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, HEAD
Changes since 1.9: +5 -6 lines
Diff to previous 1.9 (colored)

Switch OCF and IPsec over to the new AES

ok djm

Revision 1.9 / (download) - annotate - [select for diffs], Mon Sep 19 18:09:40 2016 UTC (7 years, 8 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

convert bcopy to memcpy. from david hill

Revision 1.8 / (download) - annotate - [select for diffs], Sat Nov 7 17:46:49 2015 UTC (8 years, 6 months ago) by mikeb
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Update copyright information

Revision 1.7 / (download) - annotate - [select for diffs], Sat Nov 7 17:46:07 2015 UTC (8 years, 6 months ago) by mikeb
Branch: MAIN
Changes since 1.6: +14 -6 lines
Diff to previous 1.6 (colored)

Pass AES_GMAC context as a void pointer to cut down on casts in xform.c

Revision 1.6 / (download) - annotate - [select for diffs], Sat Nov 7 01:37:26 2015 UTC (8 years, 6 months ago) by naddy
Branch: MAIN
Changes since 1.5: +9 -5 lines
Diff to previous 1.5 (colored)

Allow overriding ghash_update() with an optimized MD function.  Use
this on amd64 to provide a version that uses the PCLMUL instruction
on CPUs that support it but don't have AESNI.  ok mikeb@

Revision 1.5 / (download) - annotate - [select for diffs], Fri Nov 6 16:43:51 2015 UTC (8 years, 6 months ago) by naddy
Branch: MAIN
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

Instead of multiplying with 0..1, extend the bit into a mask and do an AND.
The same technique was already used a few lines above.  ok mikeb@

Revision 1.4 / (download) - annotate - [select for diffs], Wed Nov 12 17:52:02 2014 UTC (9 years, 6 months ago) by mikeb
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.3: +8 -8 lines
Diff to previous 1.3 (colored)

Improve performance of an internal loop by saving up on branching
Pointed out by John-Mark Gurney <jmg at funkthat ! com>, thanks!

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jan 11 15:44:23 2011 UTC (13 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

in AES_GMAC_Final(), explicitly clear the local buffer
ok mikeb

Revision 1.2 / (download) - annotate - [select for diffs], Mon Nov 8 10:27:50 2010 UTC (13 years, 6 months ago) by mikeb
Branch: MAIN
Changes since 1.1: +5 -7 lines
Diff to previous 1.1 (colored)

use a well established define instead of rolling our own;  no binary change

Revision 1.1 / (download) - annotate - [select for diffs], Wed Sep 22 11:54:23 2010 UTC (13 years, 8 months ago) by mikeb
Branch: MAIN

OCF support for the Galois/Counter Mode (GCM) for AES as
described in FIPS SP 800-38D.

This implementation supports 16 byte authentication tag only,
splitting transformation into two parts: encryption and
authentication.  Encryption is handled by the existing
AES-CTR implementation, while authentication requires new
AES_GMAC hash function.

Additional routine is added to the software crypto driver
to deal with peculiarities of a combined authentication-
encryption transformation.

With suggestions from reyk, naddy and toby.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.