No need to go that far, we just need to wrap every usage of PolarSSL in a generalized manner in Common. So md5, CBC, SSL.