Searched refs:tfm_arc4 (Results 1 – 1 of 1) sorted by relevance
44 struct crypto_sync_skcipher *tfm_arc4; in spi_nor_init() local46 tfm_arc4 = crypto_alloc_sync_skcipher("ecb(arc4)", 0, 0); in spi_nor_init()47 if (IS_ERR(tfm_arc4)) { in spi_nor_init()48 crypto_free_sync_skcipher(tfm_arc4); in spi_nor_init()54 crypto_free_sync_skcipher(tfm_arc4); in spi_nor_init()66 SYNC_SKCIPHER_REQUEST_ON_STACK(req, tfm_arc4); in spi_nor_init()72 crypto_sync_skcipher_setkey(tfm_arc4, key, 16); in spi_nor_init()74 skcipher_request_set_sync_tfm(req, tfm_arc4); in spi_nor_init()85 crypto_free_sync_skcipher(tfm_arc4); in spi_nor_init()