cli: new crypto structure to store crypto contexts and parameters, and functions...