crypto: api - fix unexpectedly getting generic implementation