<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in crypto_buffer.9</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>fa9896e0 - Remove $FreeBSD$: two-line nroff pattern</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/share/man/man9/crypto_buffer.9#fa9896e0</link>
        <description>Remove $FreeBSD$: two-line nroff patternRemove /^\.\\&quot;\n\.\\&quot;\s*\$FreeBSD\$$\n/

            List of files:
            /freebsd-14.2/share/man/man9/crypto_buffer.9</description>
        <pubDate>Wed, 16 Aug 2023 17:55:10 +0000</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>32068667 - Fix a slew of mdoc warnings/errors.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/share/man/man9/crypto_buffer.9#32068667</link>
        <description>Fix a slew of mdoc warnings/errors.

            List of files:
            /freebsd-14.2/share/man/man9/crypto_buffer.9</description>
        <pubDate>Tue, 12 Apr 2022 21:52:54 +0000</pubDate>
        <dc:creator>Christian Brueffer &lt;brueffer@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>09bfa5cf - opencrypto: Add a routine to copy a crypto buffer cursor</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/share/man/man9/crypto_buffer.9#09bfa5cf</link>
        <description>opencrypto: Add a routine to copy a crypto buffer cursorThis was useful in converting armv8crypto to use buffer cursors.  Thereare some cases where one wants to make two passes over data, and thisprovides a way to &quot;reset&quot; a cursor.Reviewed by:	jhbMFC after:	1 monthDifferential Revision:	https://reviews.freebsd.org/D28949

            List of files:
            /freebsd-14.2/share/man/man9/crypto_buffer.9</description>
        <pubDate>Wed, 16 Feb 2022 02:45:32 +0000</pubDate>
        <dc:creator>Mark Johnston &lt;markj@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>8fa5c577 - crypto: Remove now-unused crypto_cursor_seg{base,len}.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/share/man/man9/crypto_buffer.9#8fa5c577</link>
        <description>crypto: Remove now-unused crypto_cursor_seg{base,len}.Callers should use crypto_cursor_segment() instead.Reviewed by:	markjSponsored by:	NetflixDifferential Revision:	https://reviews.freebsd.org/D30448

            List of files:
            /freebsd-14.2/share/man/man9/crypto_buffer.9</description>
        <pubDate>Wed, 16 Jun 2021 22:22:37 +0000</pubDate>
        <dc:creator>John Baldwin &lt;jhb@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>beb817ed - crypto: Add crypto_cursor_segment() to fetch both base and length.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/share/man/man9/crypto_buffer.9#beb817ed</link>
        <description>crypto: Add crypto_cursor_segment() to fetch both base and length.This function combines crypto_cursor_segbase() andcrypto_cursor_seglen() into a single function.  This is mostlybeneficial in the unmapped mbuf case where back to back calls of thesetwo functions have to iterate over the sub-components of unmappedmbufs twice.Bump __FreeBSD_version for crypto drivers in ports.Suggested by:	markjReviewed by:	markjSponsored by:	NetflixDifferential Revision:	https://reviews.freebsd.org/D30445

            List of files:
            /freebsd-14.2/share/man/man9/crypto_buffer.9</description>
        <pubDate>Tue, 25 May 2021 23:59:19 +0000</pubDate>
        <dc:creator>John Baldwin &lt;jhb@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>883a0196 - crypto: Add a new type of crypto buffer for a single mbuf.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/share/man/man9/crypto_buffer.9#883a0196</link>
        <description>crypto: Add a new type of crypto buffer for a single mbuf.This is intended for use in KTLS transmit where each TLS record isdescribed by a single mbuf that is itself queued in the socket buffer.Using the existing CRYPTO_BUF_MBUF would result inbus_dmamap_load_crp() walking additional mbufs in the socket bufferthat are not relevant, but generating a S/G list that potentiallyexceeds the limit of the tag (while also wasting CPU cycles).Reviewed by:	markjSponsored by:	NetflixDifferential Revision:	https://reviews.freebsd.org/D30136

            List of files:
            /freebsd-14.2/share/man/man9/crypto_buffer.9</description>
        <pubDate>Tue, 25 May 2021 23:59:18 +0000</pubDate>
        <dc:creator>John Baldwin &lt;jhb@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>194498e9 - crypto_buffer(9): Add a HISTORY and a AUTHORS section</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/share/man/man9/crypto_buffer.9#194498e9</link>
        <description>crypto_buffer(9): Add a HISTORY and a AUTHORS sectionReviewed by:	jhbApproved by:	jhbDifferential Revision:	https://reviews.freebsd.org/D26487

            List of files:
            /freebsd-14.2/share/man/man9/crypto_buffer.9</description>
        <pubDate>Thu, 24 Sep 2020 16:50:14 +0000</pubDate>
        <dc:creator>Gordon Bergling &lt;gbe@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>16694347 - crypto_buffer(9): Bring back the reference for bus_dma(9)</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/share/man/man9/crypto_buffer.9#16694347</link>
        <description>crypto_buffer(9): Bring back the reference for bus_dma(9)The reference was accidentally deleted in r365855.Reported by:	jhbPointy hat to:	gbe

            List of files:
            /freebsd-14.2/share/man/man9/crypto_buffer.9</description>
        <pubDate>Fri, 18 Sep 2020 11:04:16 +0000</pubDate>
        <dc:creator>Gordon Bergling &lt;gbe@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>fade09c8 - crypto_buffer(9): Sort the SEE ALSO section</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/share/man/man9/crypto_buffer.9#fade09c8</link>
        <description>crypto_buffer(9): Sort the SEE ALSO sectionMFC after:	3 days

            List of files:
            /freebsd-14.2/share/man/man9/crypto_buffer.9</description>
        <pubDate>Thu, 17 Sep 2020 20:50:02 +0000</pubDate>
        <dc:creator>Gordon Bergling &lt;gbe@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>e6f6d0c9 - crypto(9): add CRYPTO_BUF_VMPAGE</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/share/man/man9/crypto_buffer.9#e6f6d0c9</link>
        <description>crypto(9): add CRYPTO_BUF_VMPAGEcrypto(9) functions can now be used on buffers composed of an array ofvm_page_t structures, such as those stored in an unmapped struct bio.  Itrequires the running to kernel to support the direct memory map, so not allarchitectures can use it.Reviewed by:	markj, kib, jhb, mjg, mat, bcr (manpages)MFC after:	1 weekSponsored by:	AxcientDifferential Revision:	https://reviews.freebsd.org/D25671

            List of files:
            /freebsd-14.2/share/man/man9/crypto_buffer.9</description>
        <pubDate>Wed, 26 Aug 2020 02:37:42 +0000</pubDate>
        <dc:creator>Alan Somers &lt;asomers@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>9c0e3d3a - Add support for optional separate output buffers to in-kernel crypto.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/share/man/man9/crypto_buffer.9#9c0e3d3a</link>
        <description>Add support for optional separate output buffers to in-kernel crypto.Some crypto consumers such as GELI and KTLS for file-backed sendfileneed to store their output in a separate buffer from the input.Currently these consumers copy the contents of the input buffer intothe output buffer and queue an in-place crypto operation on the outputbuffer.  Using a separate output buffer avoids this copy.- Create a new &apos;struct crypto_buffer&apos; describing a crypto buffer  containing a type and type-specific fields.  crp_ilen is gone,  instead buffers that use a flat kernel buffer have a cb_buf_len  field for their length.  The length of other buffer types is  inferred from the backing store (e.g. uio_resid for a uio).  Requests now have two such structures: crp_buf for the input buffer,  and crp_obuf for the output buffer.- Consumers now use helper functions (crypto_use_*,  e.g. crypto_use_mbuf()) to configure the input buffer.  If an output  buffer is not configured, the request still modifies the input  buffer in-place.  A consumer uses a second set of helper functions  (crypto_use_output_*) to configure an output buffer.- Consumers must request support for separate output buffers when  creating a crypto session via the CSP_F_SEPARATE_OUTPUT flag and are  only permitted to queue a request with a separate output buffer on  sessions with this flag set.  Existing drivers already reject  sessions with unknown flags, so this permits drivers to be modified  to support this extension without requiring all drivers to change.- Several data-related functions now have matching versions that  operate on an explicit buffer (e.g. crypto_apply_buf,  crypto_contiguous_subsegment_buf, bus_dma_load_crp_buf).- Most of the existing data-related functions operate on the input  buffer.  However crypto_copyback always writes to the output buffer  if a request uses a separate output buffer.- For the regions in input/output buffers, the following conventions  are followed:  - AAD and IV are always present in input only and their    fields are offsets into the input buffer.  - payload is always present in both buffers.  If a request uses a    separate output buffer, it must set a new crp_payload_start_output    field to the offset of the payload in the output buffer.  - digest is in the input buffer for verify operations, and in the    output buffer for compute operations.  crp_digest_start is relative    to the appropriate buffer.- Add a crypto buffer cursor abstraction.  This is a more general form  of some bits in the cryptosoft driver that tried to always use uio&apos;s.  However, compared to the original code, this avoids rewalking the uio  iovec array for requests with multiple vectors.  It also avoids  allocate an iovec array for mbufs and populating it by instead walking  the mbuf chain directly.- Update the cryptosoft(4) driver to support separate output buffers  making use of the cursor abstraction.Sponsored by:	NetflixDifferential Revision:	https://reviews.freebsd.org/D24545

            List of files:
            /freebsd-14.2/share/man/man9/crypto_buffer.9</description>
        <pubDate>Mon, 25 May 2020 22:12:04 +0000</pubDate>
        <dc:creator>John Baldwin &lt;jhb@FreeBSD.org&gt;</dc:creator>
    </item>
</channel>
</rss>
