hash.c 310 B

123456789101112131415
  1. #include "lwip/arch.h"
  2. #include "md5.h"
  3. #include "hash.h"
  4. void md5hash(unsigned char *hash, unsigned char *msg, unsigned int msg_len)
  5. {
  6. #if 0
  7. md5_context mdContext;
  8. md5_starts(&mdContext);
  9. md5_update(&mdContext, msg, msg_len);
  10. md5_finish(&mdContext, hash);
  11. #endif
  12. }