crypto: api - Move type exit function into crypto_tfm