Michael Brown
521549d900
[crypto] Rename <gpxe/bitops.h> to <gpxe/rotate.h>
пре 16 година
Michael Brown
9c71949d1f
[crypto] Remove spurious #include "config.h"
пре 16 година
Michael Brown
5d4839b577
[iSCSI] Add support for mutual CHAP
Allow initiator to verify target authentication using CHAP.
пре 16 година
Michael Brown
1949641d10
Fix compiler warnings that appear only on OpenBSD.
пре 17 година
Holger Lubitz
68455adf37
use malloc attribute
пре 17 година
Holger Lubitz
dea89e8d62
use malloc attribute
пре 17 година
Holger Lubitz
7815474495
Revert "malloc attribute changes"
wasn't meant for my local "master" branch ;)
This reverts commit 373022108b .
пре 17 година
Holger Lubitz
373022108b
malloc attribute changes
пре 17 година
Michael Brown
74ad5014c5
Inhibit compiler warning
пре 17 година
Michael Brown
9a9f46ff58
Upgrade AXTLS import to version 1.1.5-a
пре 17 година
Michael Brown
218314e712
Added HMAC code from TLS project
пре 17 година
Holger Lubitz
29134e35dc
make md5_steps static
пре 17 година
Holger Lubitz
42910594f7
disable AES_convert_key by #if 0'ing it out (suggested by mcb30)
пре 17 година
Holger Lubitz
426c2c150d
disable AES_convert_key by #if 0'ing it out (suggested by mcb30)
пре 17 година
Michael Brown
9aa61ad5a2
Add per-file error identifiers
пре 17 година
Marty Connor
c77704cb60
Warnings purge: src/{crypto,hci,net}
пре 17 година
Michael Brown
ff84a66c35
Conflicts with native asn1.c
пре 17 година
Michael Brown
95206577a7
Trivial ASN.1 decoding functions.
пре 17 година
Michael Brown
e01aadd5a7
Required for public key extraction
пре 18 година
Michael Brown
0050378f51
SHA1_DIGEST_SIZE also available as a static constant
пре 18 година
Michael Brown
cc8f9e4b7f
Make context sizes available for statically-allocated structures
пре 18 година
Michael Brown
d467552367
Vanilla copies from axtls
пре 18 година
Michael Brown
5c3837e0ed
Quick hacks to get it working
пре 18 година
Michael Brown
a01374b5cd
Add dummy setiv method
пре 18 година
Michael Brown
6c2f0e1bf4
Original axtls RSA code
пре 18 година
Michael Brown
1ae70e12e5
Added wrapper for AXTLS AES code
пре 18 година
Michael Brown
c1aa1d0764
Add wrapper around axtls' sha1 code
пре 18 година
Michael Brown
869f9bcb23
Adding missing include
пре 18 година
Michael Brown
413c554b34
We need this, I think
пре 18 година
Michael Brown
2e0548e17e
Force inlining
пре 18 година
Michael Brown
1fbd6f7d76
...but not when it's being used as a digest algorithm...
пре 18 година
Michael Brown
a502fcda45
The null crypto algorithm should at least copy data...
пре 18 година
Michael Brown
a008f9e85b
Add null crypto algorithm
пре 18 година
Michael Brown
0e996b81cf
Added blocksize for the benefit of HMAC code
пре 18 година
Michael Brown
db2fde474e
Generalise digest_algorithm to crypto_algorithm.
пре 18 година
Michael Brown
89c3c67c51
Should be correct for building RSA
пре 18 година
Michael Brown
3bb7c19779
Allow MatrixSSL code to compile inside gPXE
пре 18 година
Michael Brown
9542c016cd
Add aes.c and required headers from axtls tree
пре 18 година
Michael Brown
7b8859ad15
Enable the axtls code to at least build within gPXE
пре 18 година
Michael Brown
7993488a68
#if 0 out for now
пре 18 година
Michael Brown
a646e38f03
Use stdlib.h for malloc() instead of malloc.h.
пре 18 година
Michael Brown
fdaddd969a
Added "name" field to digest algorithms
пре 18 година
Michael Brown
d37f82509f
Added debug statements.
Don't crash when called on an uninitialised chap structure; this
allows us to avoid extra checks within iscsi.c to make sure that we
receive the CHAP_XXX keys in a sensible order.
пре 18 година
Michael Brown
a9415d3da2
Reduce from 157 to 123 bytes
пре 18 година
Michael Brown
c5428303e4
Added generic CHAP layer, independent of iSCSI
пре 18 година
Michael Brown
57d539aab0
Made it temporarily possible to call MD5 routines directly from external
code, rather than going through the digest layer.
Removed a spurious line of constants.
пре 18 година
Michael Brown
88e38fa148
We don't actually have a stdio.h header file. Our printf() functions are
defined in vsprintf.h. (This may change, since vsprintf.h is a
non-standard name, but for now it's the one to use.)
There should be no need to include vsprintf.h just for DBG() statements,
since include/compiler.h forces it in for a debug build anyway.
пре 18 година
Marty Connor
6ac78f6aff
added stdio.h to includes for DBG compilation
пре 18 година
Michael Brown
4ef1ef0ee4
Restored the le32_to_cpus() and cpu_to_le32s() calls
пре 18 година
Michael Brown
013f8c119a
Tidied up.
пре 18 година