Implemented PolarSSL PK module in key.c