crypto: api - Add new template create function