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 година
Michael Brown
db2fde474e
Generalise digest_algorithm to crypto_algorithm.
пре 18 година
Michael Brown
a646e38f03
Use stdlib.h for malloc() instead of malloc.h.
пре 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 година