Home
last modified time | relevance | path

Searched refs:ctr_tfm (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/arch/x86/crypto/
Daesni-intel_glue.c831 struct crypto_ablkcipher *ctr_tfm; in rfc4106_set_hash_subkey() local
836 ctr_tfm = crypto_alloc_ablkcipher("ctr(aes)", 0, 0); in rfc4106_set_hash_subkey()
837 if (IS_ERR(ctr_tfm)) in rfc4106_set_hash_subkey()
838 return PTR_ERR(ctr_tfm); in rfc4106_set_hash_subkey()
840 ret = crypto_ablkcipher_setkey(ctr_tfm, key, key_len); in rfc4106_set_hash_subkey()
845 req = ablkcipher_request_alloc(ctr_tfm, GFP_KERNEL); in rfc4106_set_hash_subkey()
861 ablkcipher_request_set_tfm(req, ctr_tfm); in rfc4106_set_hash_subkey()
881 crypto_free_ablkcipher(ctr_tfm); in rfc4106_set_hash_subkey()