crypto: inside-secure - rework the alg type settings in the context