<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/cesa, branch release/12.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2018-07-18T00:56:25Z</updated>
<entry>
<title>OpenCrypto: Convert sessions to opaque handles instead of integers</title>
<updated>2018-07-18T00:56:25Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2018-07-18T00:56:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1b0909d51a8aa8b5ec5a61c2dc1a69642976a732'/>
<id>urn:sha1:1b0909d51a8aa8b5ec5a61c2dc1a69642976a732</id>
<content type='text'>
Track session objects in the framework, and pass handles between the
framework (OCF), consumers, and drivers.  Avoid redundancy and complexity in
individual drivers by allocating session memory in the framework and
providing it to drivers in ::newsession().

Session handles are no longer integers with information encoded in various
high bits.  Use of the CRYPTO_SESID2FOO() macros should be replaced with the
appropriate crypto_ses2foo() function on the opaque session handle.

Convert OCF drivers (in particular, cryptosoft, as well as myriad others) to
the opaque handle interface.  Discard existing session tracking as much as
possible (quick pass).  There may be additional code ripe for deletion.

Convert OCF consumers (ipsec, geom_eli, krb5, cryptodev) to handle-style
interface.  The conversion is largely mechnical.

The change is documented in crypto.9.

Inspired by
https://lists.freebsd.org/pipermail/freebsd-arch/2018-January/018835.html .

No objection from:	ae (ipsec portion)
Reported by:	jhb
</content>
</entry>
<entry>
<title>Remove "HMAC" from &lt;HASH&gt;_HMAC_BLOCK_LEN macro names</title>
<updated>2018-07-09T07:21:37Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2018-07-09T07:21:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=590adc1bc22ba1dfc4e8df656a1ea90144925ac1'/>
<id>urn:sha1:590adc1bc22ba1dfc4e8df656a1ea90144925ac1</id>
<content type='text'>
The block size is a property of the underlying hash algorithm, and has
nothing to do with the HMAC construction.

No functional change.
</content>
</entry>
<entry>
<title>Enable cesa driver to work with Linux DT binding</title>
<updated>2018-04-09T23:36:52Z</updated>
<author>
<name>Marcin Wojtas</name>
<email>mw@FreeBSD.org</email>
</author>
<published>2018-04-09T23:36:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e9e2a7c1d3c496cf7edf362e5488a76384b3602f'/>
<id>urn:sha1:e9e2a7c1d3c496cf7edf362e5488a76384b3602f</id>
<content type='text'>
Linux device tree binding, whose usage is obligatory,
comprises faulty representation of Marvell cryptographic
engine (CESA) - two engines are artificially gathered into
single DT node, in order to avoid certain SW limitation.

This patch improves the cesa driver to support above binding,
depending on compatible string, which helps to ensure
backward compatibility.

Submitted by: Patryk Duda
Obtained from: Semihalf
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D14760
</content>
</entry>
<entry>
<title>SPDX: fix wrong license ID tag in dev/cesa.</title>
<updated>2017-12-28T03:10:57Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-12-28T03:10:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8a97717048f0beb0d5aaa6cc3eddf7fbed7faad2'/>
<id>urn:sha1:8a97717048f0beb0d5aaa6cc3eddf7fbed7faad2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sys/dev: further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-27T14:52:40Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-27T14:52:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=718cf2ccb9956613756ab15d7a0e28f2c8e91cab'/>
<id>urn:sha1:718cf2ccb9956613756ab15d7a0e28f2c8e91cab</id>
<content type='text'>
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
</content>
</entry>
<entry>
<title>Enable proper configuration of CESA MBUS windows</title>
<updated>2017-05-19T08:19:39Z</updated>
<author>
<name>Wojciech Macek</name>
<email>wma@FreeBSD.org</email>
</author>
<published>2017-05-19T08:19:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fcb93d74937ba64f0a5b0b054d08b948bdb9adf7'/>
<id>urn:sha1:fcb93d74937ba64f0a5b0b054d08b948bdb9adf7</id>
<content type='text'>
For all Marvell devices, MBUS windows configuration is done
in a common place. Only CESA was an exception, so move its
related code from driver to mv_common.c. This way it uses
same proper DRAM information, same as  all other interfaces
instead of parsing DT /memory node directly.

Submitted by: Marcin Wojtas &lt;mw@semihalf.com&gt;
Obtained from: Semihalf
Sponsored by: Stormshield
Reviewed by: loos
Differential revision: https://reviews.freebsd.org/D10723
</content>
</entry>
<entry>
<title>Remove remaining ifdefs from CESA header</title>
<updated>2017-02-02T06:07:39Z</updated>
<author>
<name>Wojciech Macek</name>
<email>wma@FreeBSD.org</email>
</author>
<published>2017-02-02T06:07:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ae0f418aa435bd4cd81f481cd042f79d5a1290ab'/>
<id>urn:sha1:ae0f418aa435bd4cd81f481cd042f79d5a1290ab</id>
<content type='text'>
Commit r312743 ("Use SoC ID - based detection in CESA") resulted
in build failing for Marvell armv5 platforms, which don't support
the newer version of CESA controller. This patch provides a fix by
removing ifdefs around bitfields' definitions, so that they are
known to all platforms.

Submitted by:          Marcin Wojtas &lt;mw@semihalf.com&gt;
Obtained from:         Semihalf
Sponsored by:          Stormshield
</content>
</entry>
<entry>
<title>Fix SHA256 usage on older CESA versions</title>
<updated>2017-01-25T10:25:59Z</updated>
<author>
<name>Wojciech Macek</name>
<email>wma@FreeBSD.org</email>
</author>
<published>2017-01-25T10:25:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c0f1c1f8ff057adb10bdbb14e0320f307fed3ee8'/>
<id>urn:sha1:c0f1c1f8ff057adb10bdbb14e0320f307fed3ee8</id>
<content type='text'>
Adding SHA256 support to Marvell crypto driver resulted in regression
for older SoC's, not capable of handling this mode in hardware.

Submitted by:          Emeric Poupon &lt;emeric.poupon@stormshield.eu&gt;
Obtained from:         Stormshield
Sponsored by:          Stormshield
Reviewed by:           zbb
Differential revision: https://reviews.freebsd.org/D9215
</content>
</entry>
<entry>
<title>Use SoC ID - based detection in CESA</title>
<updated>2017-01-25T10:22:07Z</updated>
<author>
<name>Wojciech Macek</name>
<email>wma@FreeBSD.org</email>
</author>
<published>2017-01-25T10:22:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=81526b839f1f0464a4ee7e04dfeba77cab8009df'/>
<id>urn:sha1:81526b839f1f0464a4ee7e04dfeba77cab8009df</id>
<content type='text'>
This commit introduces following changes in order to get rid of
ifdef's from all around the driver.
* Introduce sc_soc_id field in cesa_softc structure - this value is
  obtained in cesa_attach() anyway, so make use of it.
* Replace ifdefs with SoC ID checks.
* Perform PM control status only for relevant SoC's.

Submitted by:          Marcin Wojtas &lt;mw@semihalf.com&gt;
Obtained from:         Semihalf
Sponsored by:          Stormshield
Reviewed by:           zbb
Differential revision: https://reviews.freebsd.org/D9247
</content>
</entry>
<entry>
<title>Add misssing Armada38x ID's in CESA attach</title>
<updated>2017-01-25T06:11:07Z</updated>
<author>
<name>Wojciech Macek</name>
<email>wma@FreeBSD.org</email>
</author>
<published>2017-01-25T06:11:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=76b73da7aee0cd32c81207aed60519cfd7204c21'/>
<id>urn:sha1:76b73da7aee0cd32c81207aed60519cfd7204c21</id>
<content type='text'>
Marvell Armada 38x is supported in 3 variants,
so take all into consideration in crypto driver
attach routine.

Submitted by:          Marcin Wojtas &lt;mw@semihalf.com&gt;
Obtained from:         Semihalf
Sponsored by:          Stormshield
Reviewed by:           zbb
Differential revision: https://reviews.freebsd.org/D9248
</content>
</entry>
</feed>
