Searched refs:aes_tfm (Results 1 – 1 of 1) sorted by relevance
519 struct crypto_cipher *aes_tfm = NULL; in crypto4xx_compute_gcm_hash_key_sw() local523 aes_tfm = crypto_alloc_cipher("aes", 0, CRYPTO_ALG_ASYNC | in crypto4xx_compute_gcm_hash_key_sw()525 if (IS_ERR(aes_tfm)) { in crypto4xx_compute_gcm_hash_key_sw()526 rc = PTR_ERR(aes_tfm); in crypto4xx_compute_gcm_hash_key_sw()531 rc = crypto_cipher_setkey(aes_tfm, key, keylen); in crypto4xx_compute_gcm_hash_key_sw()537 crypto_cipher_encrypt_one(aes_tfm, src, src); in crypto4xx_compute_gcm_hash_key_sw()540 crypto_free_cipher(aes_tfm); in crypto4xx_compute_gcm_hash_key_sw()