crypto: make crypto ctx initialization an array