Lines Matching refs:cipher
53 struct crypto_cipher *cipher; member
442 err = crypto_cipher_setkey(tctx->cipher, key, keylen); in vmac_setkey()
449 crypto_cipher_encrypt_one(tctx->cipher, (u8 *)out, in); in vmac_setkey()
459 crypto_cipher_encrypt_one(tctx->cipher, (u8 *)out, in); in vmac_setkey()
470 crypto_cipher_encrypt_one(tctx->cipher, (u8 *)out, in); in vmac_setkey()
588 crypto_cipher_encrypt_one(tctx->cipher, dctx->nonce.bytes, in vmac_final()
602 struct crypto_cipher *cipher; in vmac_init_tfm() local
604 cipher = crypto_spawn_cipher(spawn); in vmac_init_tfm()
605 if (IS_ERR(cipher)) in vmac_init_tfm()
606 return PTR_ERR(cipher); in vmac_init_tfm()
608 tctx->cipher = cipher; in vmac_init_tfm()
616 crypto_free_cipher(tctx->cipher); in vmac_exit_tfm()