Lines Matching refs:md
152 static char *pt (unsigned char *md, int length) in pt() argument
158 sprintf(&(buf[i*2]),"%02x",md[i]); in pt()
169 unsigned char md[80]; in main() local
179 rtl_digest_MD2 (*P, strlen(*P), md, sizeof(md)); in main()
181 p=pt (md, RTL_DIGEST_LENGTH_MD2); in main()
200 rtl_digest_MD5 (*P, strlen(*P), md, sizeof(md)); in main()
202 p=pt (md, RTL_DIGEST_LENGTH_MD5); in main()
221 rtl_digest_SHA (*P, strlen(*P), md, sizeof(md)); in main()
223 p=pt (md, RTL_DIGEST_LENGTH_SHA); in main()
244 rtl_digest_getSHA (Digest, md, sizeof(md)); in main()
247 p=pt (md, RTL_DIGEST_LENGTH_SHA); in main()
262 rtl_digest_SHA1 (*P, strlen(*P), md, sizeof(md)); in main()
264 p=pt (md, RTL_DIGEST_LENGTH_SHA1); in main()
285 rtl_digest_getSHA1 (Digest, md, sizeof(md)); in main()
288 p=pt (md, RTL_DIGEST_LENGTH_SHA1); in main()
308 rtl_digest_getHMAC_MD5 (Digest, md, sizeof(md)); in main()
310 p=pt (md, RTL_DIGEST_LENGTH_HMAC_MD5); in main()
336 rtl_digest_getHMAC_SHA1 (Digest, md, sizeof(md)); in main()
338 p=pt (md, RTL_DIGEST_LENGTH_HMAC_SHA1); in main()
358 md, RTL_DIGEST_LENGTH_MD5, /* [out] derived key */ in main()
363 p=pt (md, RTL_DIGEST_LENGTH_MD5); in main()