Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm/crypto/
H A Daes-neonbs-glue.c60 struct crypto_cipher *tweak_tfm; member
307 err = crypto_cipher_setkey(ctx->tweak_tfm, in_key + key_len, key_len); in aesbs_xts_setkey()
322 ctx->tweak_tfm = crypto_alloc_cipher("aes", 0, 0); in xts_init()
323 if (IS_ERR(ctx->tweak_tfm)) in xts_init()
326 return PTR_ERR_OR_ZERO(ctx->tweak_tfm); in xts_init()
333 crypto_free_cipher(ctx->tweak_tfm); in xts_exit()
366 crypto_cipher_encrypt_one(ctx->tweak_tfm, walk.iv, walk.iv); in __xts_crypt()