summaryrefslogtreecommitdiff
path: root/sys/crypto/crypto.c
AgeCommit message (Collapse)Author
2001-11-13and for the case where it allocates a bunch at a time, also make sure theTheo de Raadt
software flag gets set.
2001-11-13incorrect checkTheo de Raadt
2001-11-09be way more sure that software cannot be usedTheo de Raadt
2001-11-08indentTheo de Raadt
2001-08-05put in tags for ARC4 to please ben, who now has no excusesTheo de Raadt
2001-06-27KNFAngelos D. Keromytis
2001-06-26Remove space.Angelos D. Keromytis
2001-06-25Add crypto_check_alg(), from jgarfiel@seas.upenn.eduAngelos D. Keromytis
2001-06-25Update copyright; you can use this with or without fee (unless yourAngelos D. Keromytis
name is Theo Deraadt)
2001-06-23New prototype for crypto_register(), to take into account maximum keyAngelos D. Keromytis
length (for PK operations) and various flags. Structures for public key operations (DH, RSA, DSA). A lot of this work was done by jgarfiel@seas.upenn.edu
2001-06-23merge crypto/crypto{dev,}.h to crypto/cryptodev.h, to avoid name conflicts ↵Theo de Raadt
inside OpenSSL codebase
2001-06-16KNFTheo de Raadt
2001-06-06Use pool(9) for some of the structures, and splimp/splx to protectAngelos D. Keromytis
from ourselves. Should solve PR 1850.
2001-05-13initial cut at /dev/crypto support. takes original mbuf "try, and discardTheo de Raadt
if we fail" semantics and extends to two varients of data movement: mbuf, or an iovec style block.
2001-05-05Use the M_CRYPTO_DATA and M_CRYPTO_OPS malloc types.Angelos D. Keromytis
2000-12-13make the 31-bit code work on 32-bit machines.Niels Provos
2000-09-07avoid excessive wakeup(). we think this is safe...Theo de Raadt
2000-08-19MALLOC/FREE -> malloc/free ok art@ angelos@Nathan Binkert
2000-07-03Fix tail queue leakage (zzlevo@dd.chalmers.se)Angelos D. Keromytis
2000-06-20crypto_done(), all it does for now is invoke the callback.Angelos D. Keromytis
2000-06-18Add Rijndael (128-bit blocksize) in the software crypto driver.Angelos D. Keromytis
Hacking at OpenBSD Crypto 2000 :-)
2000-06-18Move prototype to include file.Angelos D. Keromytis
2000-06-18Crypto kernel thread interface; requests are enqueued and processed byAngelos D. Keromytis
a kernel thread. This allows a much cleaner interface with respect to spl levels.
2000-06-06OpenBSD tagsTheo de Raadt
2000-04-28crypto_dispatch() only returns an error if the argument it wasAngelos D. Keromytis
provided was NULL or no callback was specified.
2000-04-28avoid using void * when we are talking about pointersTheo de Raadt
2000-04-23Change the type of freesession to take u_int64_t as argument.Angelos D. Keromytis
2000-04-18Add a few newlines for readability.Angelos D. Keromytis
2000-03-19split crypto driver front-end from software crypto engineTheo de Raadt
2000-03-17Cryptographic services framework, and software "device driver". TheAngelos D. Keromytis
idea is to support various cryptographic hardware accelerators (which may be (detachable) cards, secondary/tertiary/etc processors, software crypto, etc). Supports session migration between crypto devices. What it doesn't (yet) support: - multiple instances of the same algorithm used in the same session - use of multiple crypto drivers in the same session - asymmetric crypto No support for a userland device yet. IPsec code path modified to allow for asynchronous cryptography (callbacks used in both input and output processing). Some unrelated code simplification done in the process (especially for AH). Development of this code kindly supported by Network Security Technologies (NSTI). The code was writen mostly in Greece, and is being committed from Montreal.