Creates a new crypto context for the specified protocol.
protocol
the crypto protocol
a newly allocated CryptoContext.