Hi pals,
I want to know the function and meaning of "method_t method", but
I meet with troubles. Here is my trouble,
In storeGetPublic, storeKeyPublic(uri, method) is called. The
second parameter of storeKeyPublic is "method" whose type is
method_t. I trace the calling chain. I find storeKeyPublic is
defined in store_key_md5.c, line 111. In this function, method_t
is changed to "unsigned char", using the following statement,
unsigned char m = (unsigned char) method;
Then MD5Update is called using m. I also trace in MD5Update.
It is defined in md5.c, line 148. Then MD5_memcpy is called with
the same parameter. MD5_memcpy simply copies "input"
to "context->buffer[index]". Then MD5Transform is called using
"context->buffer[index]". I am puzzled here. I can not
trace anymore because I am not familiar with MD5 algorithm.
So, if anyone can give me a simple explanation about the function
and meaning of "method_t method", I will be very thankful. :-)
Best regards,
George, Ma
Received on Wed Apr 17 2002 - 00:06:52 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:11 MST