Home
last modified time | relevance | path

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

/block/
Dblk-crypto-fallback.c77 struct crypto_skcipher *tfms[BLK_ENCRYPTION_MODE_MAX]; member
99 err = crypto_skcipher_setkey(slotp->tfms[crypto_mode], blank_key, in blk_crypto_evict_keyslot()
119 err = crypto_skcipher_setkey(slotp->tfms[crypto_mode], key->raw, in blk_crypto_keyslot_program()
197 ciph_req = skcipher_request_alloc(slotp->tfms[slotp->crypto_mode], in blk_crypto_alloc_cipher_req()
628 slotp->tfms[mode_num] = crypto_alloc_skcipher(cipher_str, 0, 0); in blk_crypto_fallback_start_using_mode()
629 if (IS_ERR(slotp->tfms[mode_num])) { in blk_crypto_fallback_start_using_mode()
630 err = PTR_ERR(slotp->tfms[mode_num]); in blk_crypto_fallback_start_using_mode()
636 slotp->tfms[mode_num] = NULL; in blk_crypto_fallback_start_using_mode()
640 crypto_skcipher_set_flags(slotp->tfms[mode_num], in blk_crypto_fallback_start_using_mode()
654 crypto_free_skcipher(slotp->tfms[mode_num]); in blk_crypto_fallback_start_using_mode()
[all …]