![]() |
![]()
| ![]() |
![]()
NAME
SYNOPSIS
DESCRIPTION
Device drivers are responsible for processing requests submitted by consumers. crypto_driver(9) describes the interfaces drivers use to register with the framework, helper routines the framework provides to facilitate request processing, and the interfaces drivers are required to provide. CallbacksSince the consumers may not be associated with a process, drivers may not sleep(9). The same holds for the framework. Thus, a callback mechanism is used to notify a consumer that a request has been completed (the callback is specified by the consumer on a per-request basis). The callback is invoked by the framework whether the request was successfully completed or not. Errors are reported to the callback function. Session initialization does not use callbacks and returns errors synchronously. Session MigrationOperations may fail with a specific error code,
Supported AlgorithmsMore details on some algorithms may be found in crypto(7). The following authentication algorithms are supported:
The following encryption algorithms are supported: The following authenticated encryption with additional data (AEAD) algorithms are supported: The following compression algorithms are supported: FILES
SEE ALSOcrypto(4), ipsec(4), crypto(7), crypto_driver(9), crypto_request(9), crypto_session(9), sleep(9) HISTORYThe cryptographic framework first appeared in OpenBSD 2.7 and was written by Angelos D. Keromytis <angelos@openbsd.org>. BUGSThe framework needs a mechanism for determining which driver is best for a specific set of algorithms associated with a session. Some type of benchmarking is in order here.
|