tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
sys
/
crypto
/
at
jcs
57 files
aes.c
Add missing CVS tags.
5 years ago
aes.h
Add missing CVS tags.
5 years ago
arc4.c
Add __bounded__ attributes to prototypes. Use (x & 0xff) rather than (x % 256) - compilers generate faster code. Add arc4_getbytes function to extract raw keystream ok markus@ tom@
18 years ago
arc4.h
Add __bounded__ attributes to prototypes. Use (x & 0xff) rather than (x % 256) - compilers generate faster code. Add arc4_getbytes function to extract raw keystream ok markus@ tom@
18 years ago
blake2s.c
Remove redundant DIAGNOSTIC wrappers around KASSERT macros. From Crystal Kolipe.
3 years ago
blake2s.h
Remove redundant DIAGNOSTIC wrappers around KASSERT macros. From Crystal Kolipe.
3 years ago
blf.c
remove unused blowfish inline defines inline use was removed in 1998
3 years ago
blf.h
Niels agreed to remove the advertising clause; switching these to 3-term BSD license.
4 years ago
cast.c
Use explicit_bzero() for clearing key material. Pointed out by Michael W. Bombardieri on tech@. ok deraadt
14 years ago
cast.h
castsb.h
chacha_private.h
Add missing CVS tags.
5 years ago
chachapoly.c
Add missing CVS tags.
5 years ago
chachapoly.h
Add missing CVS tags.
5 years ago
cmac.c
Switch 802.11 crypto over to the new AES
9 years ago
cmac.h
Switch 802.11 crypto over to the new AES
9 years ago
criov.c
Remove some includes include-what-you-use claims don't have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels.
11 years ago
crypto.c
Remove crp_etype and return errors directly from crypto_invoke()
4 years ago
cryptodev.h
Retire CRYPTO_F_MPSAFE it is no longer of any use. The crypto framework no longer uses a callback and so there is no need to define the callback as MPSAFE. OK bluhm@
3 years ago
cryptosoft.c
Stop setting etype in the MD crypto code. So far we have set the etype and returned the error, which made the MI crypto code set the etype for a second time. We still have to set etype after calling the MD process function, as the callers of crypto_invoke() still expect error handling to be shown through the etype. But at least now all MD crypto code does not have to worry about that anymore. Once the callers are changed to not look at etype anymore, we can get rid of it completely.
4 years ago
cryptosoft.h
Use SLIST macro for cryptosoft sessions instead of hand rolled list. OK mpi@ tobhe@
4 years ago
curve25519.c
Add missing CVS tags.
5 years ago
curve25519.h
Add missing CVS tags.
5 years ago
des_locl.h
Remove plain DES from the kernel crypto framework, including the crypto accelerator drivers. No longer used by anything. ok sthen@ mikeb@
10 years ago
ecb3_enc.c
ansify some function definitions and tidy up this code style wise. this ancient code looked pretty crummy.
12 years ago
ecb_enc.c
Remove plain DES from the kernel crypto framework, including the crypto accelerator drivers. No longer used by anything. ok sthen@ mikeb@
10 years ago
gmac.c
Switch OCF and IPsec over to the new AES
9 years ago
gmac.h
Switch OCF and IPsec over to the new AES
9 years ago
hmac.c
convert bcopy to memcpy. from david hill
9 years ago
hmac.h
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
13 years ago
idgen.c
Add missing CVS tags.
5 years ago
idgen.h
fix a bug that caused time-based rekeys to happen too frequently.
13 years ago
key_wrap.c
Switch 802.11 crypto over to the new AES
9 years ago
key_wrap.h
Switch 802.11 crypto over to the new AES
9 years ago
md5.c
convert bcopy to memcpy in md5 and sha1. also be consistent about clearing context and making digest required to Final.
11 years ago
md5.h
Defining the interface in terms of char * means most callers are required to cast their pointers, which is ugly and possibly error prone. accidentally casting an int to a pointer, for example, instead of the address of the int. implicit void * casting is safer.
11 years ago
michael.c
gives this a chance to work on architectures with strict alignment constraints.
17 years ago
michael.h
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
13 years ago
podd.h
poly1305.c
Add missing CVS tags.
5 years ago
poly1305.h
Add missing CVS tags.
5 years ago
rijndael.c
Sync our kernel AES code to the one shipped in OpenSSL/LibreSSL.
11 years ago
rijndael.h
constify arguments in wrapper functions; the lower level functions were already done
18 years ago
rmd160.c
for key material that is being being discarded, convert bzero() to explicit_bzero() where required ok markus mikeb
15 years ago
rmd160.h
Buffer in RMD160_CTX is length RMD160_BLOCK_LENGTH not RMD160_DIGEST_LENGTH. Userland version was already correct. From Jason Fritcher. OK deraadt@
16 years ago
set_key.c
Fix two incorrect weak keys that were fixed in SSLeay 0.9.1b
5 months ago
sha1.c
convert bcopy to memcpy in md5 and sha1. also be consistent about clearing context and making digest required to Final.
11 years ago
sha1.h
Defining the interface in terms of char * means most callers are required to cast their pointers, which is ugly and possibly error prone. accidentally casting an int to a pointer, for example, instead of the address of the int. implicit void * casting is safer.
11 years ago
sha2.c
Fix array bounds mismatch with clang 15
3 years ago
sha2.h
Defining the interface in terms of char * means most callers are required to cast their pointers, which is ugly and possibly error prone. accidentally casting an int to a pointer, for example, instead of the address of the int. implicit void * casting is safer.
11 years ago
siphash.c
Sync with the code in libc
8 years ago
siphash.h
Fix some spelling.
2 years ago
sk.h
spr.h
xform.c
After deleting hifn(4) the only provider for the LZS compression algorithm is gone. Reomve all LZS references from the tree. The v42bis in isakmpd also looks unsupported. OK mvs@ patrick@ sthen@
4 years ago
xform.h
After deleting hifn(4) the only provider for the LZS compression algorithm is gone. Reomve all LZS references from the tree. The v42bis in isakmpd also looks unsupported. OK mvs@ patrick@ sthen@
4 years ago
xform_ipcomp.c
free(9) sizes.
7 years ago