Changeset View
Changeset View
Standalone View
Standalone View
head/share/man/man7/crypto.7
Show All 21 Lines | |||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd May 3, 2020 | .Dd May 22, 2020 | ||||
.Dt CRYPTO 7 | .Dt CRYPTO 7 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm crypto | .Nm crypto | ||||
.Nd OpenCrypto algorithms | .Nd OpenCrypto algorithms | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
In the kernel configuration file: | In the kernel configuration file: | ||||
.Cd "device crypto" | .Cd "device crypto" | ||||
Show All 38 Lines | |||||
specified in the request. | specified in the request. | ||||
.Pp | .Pp | ||||
Note: You must provide an IV on every call. | Note: You must provide an IV on every call. | ||||
.It Dv CRYPTO_AES_ICM | .It Dv CRYPTO_AES_ICM | ||||
.Bl -tag -width "Block size :" -compact -offset indent | .Bl -tag -width "Block size :" -compact -offset indent | ||||
.It IV size : | .It IV size : | ||||
16 | 16 | ||||
.It Block size : | .It Block size : | ||||
1 (aesni), 16 (software) | 1 | ||||
.It Key size : | .It Key size : | ||||
16, 24 or 32 | 16, 24 or 32 | ||||
.El | .El | ||||
.Pp | .Pp | ||||
This algorithm implements Integer Counter Mode. | This algorithm implements Integer Counter Mode. | ||||
This is similar to what most people call counter mode, but instead of the | This is similar to what most people call counter mode, but instead of the | ||||
counter being split into a nonce and a counter part, then entire nonce is | counter being split into a nonce and a counter part, then entire nonce is | ||||
used as the initial counter. | used as the initial counter. | ||||
Show All 31 Lines |