use generalise mac API for SSL key generation
2 files changed