<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/opencrypto/xform.c, branch release/8.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2008-10-23T15:53:51Z</updated>
<entry>
<title>Retire the MALLOC and FREE macros.  They are an abomination unto style(9).</title>
<updated>2008-10-23T15:53:51Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2008-10-23T15:53:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1ede983cc905643549d8cae56a9d0e28fc68375f'/>
<id>urn:sha1:1ede983cc905643549d8cae56a9d0e28fc68375f</id>
<content type='text'>
MFC after:	3 months
</content>
</entry>
<entry>
<title>Integrate the Camellia Block Cipher.  For more information see RFC 4132</title>
<updated>2007-05-09T19:37:02Z</updated>
<author>
<name>George V. Neville-Neil</name>
<email>gnn@FreeBSD.org</email>
</author>
<published>2007-05-09T19:37:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=559d3390d07890da9ca8ad6427f1ae7df7a9257a'/>
<id>urn:sha1:559d3390d07890da9ca8ad6427f1ae7df7a9257a</id>
<content type='text'>
and its bibliography.

Submitted by:   Tomoyuki Okazaki &lt;okazaki at kick dot gr dot jp&gt;
MFC after:      1 month
</content>
</entry>
<entry>
<title>Use newly added defines instead of magic values.</title>
<updated>2006-06-04T15:11:59Z</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2006-06-04T15:11:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f8e422e5f88a786d4a896f415cb6318f212c6ce9'/>
<id>urn:sha1:f8e422e5f88a786d4a896f415cb6318f212c6ce9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>- Fix a very old bug in HMAC/SHA{384,512}. When HMAC is using SHA384</title>
<updated>2006-05-17T18:24:17Z</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2006-05-17T18:24:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f6c4bc3b919724edb6a0280f64a82a9cb792e712'/>
<id>urn:sha1:f6c4bc3b919724edb6a0280f64a82a9cb792e712</id>
<content type='text'>
  or SHA512, the blocksize is 128 bytes, not 64 bytes as anywhere else.
  The bug also exists in NetBSD, OpenBSD and various other independed
  implementations I look at.
- We cannot decide which hash function to use for HMAC based on the key
  length, because any HMAC function can use any key length.
  To fix it split CRYPTO_SHA2_HMAC into three algorithm:
  CRYPTO_SHA2_256_HMAC, CRYPTO_SHA2_384_HMAC and CRYPTO_SHA2_512_HMAC.
  Those names are consistent with OpenBSD's naming.
- Remove authsize field from auth_hash structure.
- Allow consumer to define size of hash he wants to receive.
  This allows to use HMAC not only for IPsec, where 96 bits MAC is requested.
  The size of requested MAC is defined at newsession time in the cri_mlen
  field - when 0, entire MAC will be returned.
- Add swcr_authprepare() function which prepares authentication key.
- Allow to provide key for every authentication operation, not only at
  newsession time by honoring CRD_F_KEY_EXPLICIT flag.
- Make giving key at newsession time optional - don't try to operate on it
  if its NULL.
- Extend COPYBACK()/COPYDATA() macros to handle CRYPTO_BUF_CONTIG buffer
  type as well.
- Accept CRYPTO_BUF_IOV buffer type in swcr_authcompute() as we have
  cuio_apply() now.
- 16 bits for key length (SW_klen) is more than enough.

Reviewed by:	sam
</content>
</entry>
<entry>
<title>Check key size for rijndael, as invalid key size can lead to kernel panic.</title>
<updated>2005-08-16T18:59:00Z</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2005-08-16T18:59:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=36c51ae068a62ed9909c0d71ffdf639f6ddb8a49'/>
<id>urn:sha1:36c51ae068a62ed9909c0d71ffdf639f6ddb8a49</id>
<content type='text'>
It checked other algorithms against this bug and it seems they aren't
affected.

Reported by:	Mike Tancsa &lt;mike@sentex.net&gt;
PR:		i386/84860
Reviewed by:	phk, cperciva(x2)
</content>
</entry>
<entry>
<title>just use crypto/rijndael, and nuke opencrypto/rindael.[ch].</title>
<updated>2005-03-11T17:24:46Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2005-03-11T17:24:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=df3c03a77336a90c2331bd7147fe017d78129247'/>
<id>urn:sha1:df3c03a77336a90c2331bd7147fe017d78129247</id>
<content type='text'>
the two became almost identical since latest KAME merge.

Discussed with:	sam
</content>
</entry>
<entry>
<title>- use 1/2 space for rijndael context in ipsec</title>
<updated>2005-03-11T12:45:09Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2005-03-11T12:45:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a40be31edbc6d9620de2a37f4e8b5010fe887cdd'/>
<id>urn:sha1:a40be31edbc6d9620de2a37f4e8b5010fe887cdd</id>
<content type='text'>
- rijndael_set_key() always sets up full context
- rijndaelKeySetupDec() gets back original protoype

Reviewed by:	sam
Obtained from:	OpenBSD
</content>
</entry>
<entry>
<title>/* -&gt; /*- for license, minor formatting changes</title>
<updated>2005-01-07T02:29:27Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2005-01-07T02:29:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=60727d8b86294910d41cbda1a50a855ea0537449'/>
<id>urn:sha1:60727d8b86294910d41cbda1a50a855ea0537449</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use __FBSDID().</title>
<updated>2003-06-11T05:57:50Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2003-06-11T05:57:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2c44651495e3efe18815da86983b398b559bd4ee'/>
<id>urn:sha1:2c44651495e3efe18815da86983b398b559bd4ee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>In-kernel crypto framework derived from openbsd.  This facility provides</title>
<updated>2002-10-04T20:31:23Z</updated>
<author>
<name>Sam Leffler</name>
<email>sam@FreeBSD.org</email>
</author>
<published>2002-10-04T20:31:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=091d81d134ca70cc39425028bc815f8cfb068d4b'/>
<id>urn:sha1:091d81d134ca70cc39425028bc815f8cfb068d4b</id>
<content type='text'>
a consistent interface to h/w and s/w crypto algorithms for use by the
kernel and (for h/w at least) by user-mode apps.  Access for user-level
code is through a /dev/crypto device that'll eventually be used by openssl
to (potentially) accelerate many applications.  Coming soon is an IPsec
that makes use of this service to accelerate ESP, AH, and IPCOMP protocols.

Included here is the "core" crypto support, /dev/crypto driver, various
crypto algorithms that are not already present in the KAME crypto area,
and support routines used by crypto device drivers.

Obtained from:	openbsd
</content>
</entry>
</feed>
