Searched refs:xtfm (Results 1 – 1 of 1) sorted by relevance
32 struct crypto_shash *xtfm; in sun8i_ss_hashkey() local35 xtfm = crypto_alloc_shash("sha1", 0, CRYPTO_ALG_NEED_FALLBACK); in sun8i_ss_hashkey()36 if (IS_ERR(xtfm)) in sun8i_ss_hashkey()37 return PTR_ERR(xtfm); in sun8i_ss_hashkey()39 ret = crypto_shash_tfm_digest(xtfm, key, keylen, tfmctx->key); in sun8i_ss_hashkey()43 crypto_free_shash(xtfm); in sun8i_ss_hashkey()