Jean-Marc LeBlanc made a walkthrough on making PolarSSL 0.99 work on his STM32 platform in a small robot. (See the original article )
It describes the steps that Jean-Marc took to make it work in his own project.
Note that the issue with
time() mentioned in the article has been addressed since, by making this function optional in config.h.