Searched refs:ctr_tfm (Results 1 – 1 of 1) sorted by relevance
839 struct crypto_ablkcipher *ctr_tfm; in rfc4106_set_hash_subkey() local844 ctr_tfm = crypto_alloc_ablkcipher("ctr(aes)", 0, 0); in rfc4106_set_hash_subkey()845 if (IS_ERR(ctr_tfm)) in rfc4106_set_hash_subkey()846 return PTR_ERR(ctr_tfm); in rfc4106_set_hash_subkey()848 crypto_ablkcipher_clear_flags(ctr_tfm, ~0); in rfc4106_set_hash_subkey()850 ret = crypto_ablkcipher_setkey(ctr_tfm, key, key_len); in rfc4106_set_hash_subkey()855 req = ablkcipher_request_alloc(ctr_tfm, GFP_KERNEL); in rfc4106_set_hash_subkey()871 ablkcipher_request_set_tfm(req, ctr_tfm); in rfc4106_set_hash_subkey()891 crypto_free_ablkcipher(ctr_tfm); in rfc4106_set_hash_subkey()