Use polarssl md5

Changes to use polarssl's MD5 implementation.