On Thursday, January 8, 2015 7:33:44 PM UTC+5:30, Tejas vaykole wrote: > > > Hello Mike, > > On Monday, January 5, 2015 11:11:20 PM UTC+5:30, Mike Christie wrote: >> >> Could you point me to the SCST code you are referring to? What >> files/functions/lines? >> >> Here is the link that tells you about the SCST target- > http://scst.sourceforge.net/ > You can pull the source code with this command on linux - svn checkout > svn://svn.code.sf.net/p/scst/svn/trunk scst-trunk > And this is the file that implement CHAP authentication - > http://sourceforge.net/p/scst/svn/HEAD/tree/trunk/iscsi-scst/usr/chap.c > <http://sourceforge.net/p/scst/svn/HEAD/tree/trunk/iscsi-scst/usr/chap.c> > > Missed out the line number and functions. line number 320 : static inline void chap_calc_digest_sha1(char chap_id, const char *secret, int secret_len,
implements the SHA1 line number 368 : } else if (!strcmp(p, "7")) { checks for the assigned number "7". Why do you need this? >> > I am just curious and would like to try out thing here. > >> >> On 01/03/2015 03:15 AM, Tejas vaykole wrote: >> > Hello, >> > I am looking at the SCST target code, where it looks like it supports >> > the SHA-1 Algorithim for message digest generation.The number assigned >> > to SHA-1 is '7' >> > >> > Thanks. >> > Tejas >> > >> > On Monday, September 15, 2014 11:30:52 AM UTC+5:30, Uli wrote: >> > >> > >>> Tejas vaykole <tejas.v...@gmail.com <javascript:>> schrieb am >> > 11.09.2014 um 12:22 in >> > Nachricht <e87c916b-0b75-4570-b690-71197a5c2...@googlegroups.com >> > <javascript:>>: >> > > Hello, >> > > >> > > I am trying out with the open-iscsi initiator.I see that the >> > initiator uses >> > > MD5 algorithm for CHAP. >> > > I need help in configuring the initiator to use SHA-1 hashing >> > Algorithm for >> > > CHAP. >> > >> > Whcih algorithm number has been assigned to SHA-1 for CHAP? Ic ould >> > not find it. >> > >> > > >> > > Thanks. >> > > Tejas >> > > >> > > -- >> > > You received this message because you are subscribed to the >> Google >> > Groups >> > > "open-iscsi" group. >> > > To unsubscribe from this group and stop receiving emails from it, >> > send an >> > > email to open-iscsi+...@googlegroups.com <javascript:>. >> > > To post to this group, send email to open-...@googlegroups.com >> > <javascript:>. >> > > Visit this group at http://groups.google.com/group/open-iscsi >> > <http://groups.google.com/group/open-iscsi>. >> > > For more options, visit https://groups.google.com/d/optout >> > <https://groups.google.com/d/optout>. >> > >> > >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups "open-iscsi" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> > an email to open-iscsi+...@googlegroups.com >> > <mailto:open-iscsi+unsubscr...@googlegroups.com>. >> > To post to this group, send email to open-...@googlegroups.com >> > <mailto:open-...@googlegroups.com>. >> > Visit this group at http://groups.google.com/group/open-iscsi. >> > For more options, visit https://groups.google.com/d/optout. >> >> -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to open-iscsi+unsubscr...@googlegroups.com. To post to this group, send email to open-iscsi@googlegroups.com. Visit this group at http://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/d/optout.