[PATCH 15/21] crypto: make TLS credentials structs private