Searched refs:rx_tfm (Results 1 – 2 of 2) sorted by relevance
32 struct crypto_blkcipher *rx_tfm; member52 priv->rx_tfm = crypto_alloc_blkcipher("ecb(arc4)", 0, CRYPTO_ALG_ASYNC); in prism2_wep_init()53 if (IS_ERR(priv->rx_tfm)) { in prism2_wep_init()56 priv->rx_tfm = NULL; in prism2_wep_init()69 if (priv->rx_tfm) in prism2_wep_init()70 crypto_free_blkcipher(priv->rx_tfm); in prism2_wep_init()84 if (_priv->rx_tfm) in prism2_wep_deinit()85 crypto_free_blkcipher(_priv->rx_tfm); in prism2_wep_deinit()178 struct blkcipher_desc desc = {.tfm = wep->rx_tfm}; in prism2_wep_decrypt()204 crypto_blkcipher_setkey(wep->rx_tfm, key, klen); in prism2_wep_decrypt()
37 struct crypto_blkcipher *rx_tfm; member57 priv->rx_tfm = crypto_alloc_blkcipher("ecb(arc4)", 0, CRYPTO_ALG_ASYNC); in prism2_wep_init()58 if (IS_ERR(priv->rx_tfm)) { in prism2_wep_init()61 priv->rx_tfm = NULL; in prism2_wep_init()74 if (priv->rx_tfm) in prism2_wep_init()75 crypto_free_blkcipher(priv->rx_tfm); in prism2_wep_init()90 if (_priv->rx_tfm) in prism2_wep_deinit()91 crypto_free_blkcipher(_priv->rx_tfm); in prism2_wep_deinit()179 struct blkcipher_desc desc = {.tfm = wep->rx_tfm}; in prism2_wep_decrypt()204 crypto_blkcipher_setkey(wep->rx_tfm, key, klen); in prism2_wep_decrypt()