1.\" $OpenBSD: crypto.9,v 1.19 2002/07/16 06:31:57 angelos Exp $ 2.\" 3.\" The author of this manual page is Angelos D. Keromytis (angelos@cis.upenn.edu) 4.\" 5.\" Copyright (c) 2000, 2001 Angelos D. Keromytis 6.\" 7.\" Permission to use, copy, and modify this software with or without fee 8.\" is hereby granted, provided that this entire notice is included in 9.\" all source code copies of any software which is or includes a copy or 10.\" modification of this software. 11.\" 12.\" THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR 13.\" IMPLIED WARRANTY. IN PARTICULAR, NONE OF THE AUTHORS MAKES ANY 14.\" REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE 15.\" MERCHANTABILITY OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR 16.\" PURPOSE. 17.\" |
18.\" $FreeBSD: head/share/man/man9/crypto.9 165213 2006-12-14 14:33:13Z mpp $ |
19.\" 20.Dd June 4, 2006 21.Dt CRYPTO 9 22.Os 23.Sh NAME 24.Nm crypto 25.Nd API for cryptographic services in the kernel 26.Sh SYNOPSIS --- 268 unchanged lines hidden (view full) --- 295is an 296.Vt uio 297structure. 298.It Dv CRYPTO_F_REL 299Must return data in the same place. 300.It Dv CRYPTO_F_BATCH 301Batch operation if possible. 302.It Dv CRYPTO_F_CBIMM |
303Do callback immediately instead of doing it from a dedicated kernel thread. |
304.It Dv CRYPTO_F_DONE 305Operation completed. 306.It Dv CRYPTO_F_CBIFSYNC |
307Do callback immediately if operation is synchronous. |
308.El 309.It Va crp_buf 310Points to the input buffer. 311On return (when the callback is invoked), 312it contains the result of the request. 313The input buffer may be an mbuf 314chain or a contiguous buffer, 315depending on --- 349 unchanged lines hidden --- |