Michael Brown
5d4839b577
[iSCSI] Add support for mutual CHAP
Allow initiator to verify target authentication using CHAP.
vor 16 Jahren
Michael Brown
1949641d10
Fix compiler warnings that appear only on OpenBSD.
vor 17 Jahren
Michael Brown
db2fde474e
Generalise digest_algorithm to crypto_algorithm.
vor 18 Jahren
Michael Brown
a646e38f03
Use stdlib.h for malloc() instead of malloc.h.
vor 18 Jahren
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.
vor 18 Jahren
Michael Brown
a9415d3da2
Reduce from 157 to 123 bytes
vor 18 Jahren
Michael Brown
c5428303e4
Added generic CHAP layer, independent of iSCSI
vor 18 Jahren