Lines Matching refs:u

45 	} u;  member
54 } u; member
73 crypto_skcipher_clear_flags(tctx->u.skcipher, CRYPTO_TFM_REQ_MASK); in essiv_skcipher_setkey()
74 crypto_skcipher_set_flags(tctx->u.skcipher, in essiv_skcipher_setkey()
77 err = crypto_skcipher_setkey(tctx->u.skcipher, key, keylen); in essiv_skcipher_setkey()
102 crypto_aead_clear_flags(tctx->u.aead, CRYPTO_TFM_REQ_MASK); in essiv_aead_setkey()
103 crypto_aead_set_flags(tctx->u.aead, crypto_aead_get_flags(tfm) & in essiv_aead_setkey()
105 err = crypto_aead_setkey(tctx->u.aead, key, keylen); in essiv_aead_setkey()
131 return crypto_aead_setauthsize(tctx->u.aead, authsize); in essiv_aead_setauthsize()
149 skcipher_request_set_tfm(subreq, tctx->u.skcipher); in essiv_skcipher_crypt()
241 aead_request_set_tfm(subreq, tctx->u.aead); in essiv_aead_crypt()
300 skcipher = crypto_spawn_skcipher(&ictx->u.skcipher_spawn); in essiv_skcipher_init_tfm()
313 tctx->u.skcipher = skcipher; in essiv_skcipher_init_tfm()
329 aead = crypto_spawn_aead(&ictx->u.aead_spawn); in essiv_aead_init_tfm()
346 tctx->u.aead = aead; in essiv_aead_init_tfm()
354 crypto_free_skcipher(tctx->u.skcipher); in essiv_skcipher_exit_tfm()
363 crypto_free_aead(tctx->u.aead); in essiv_aead_exit_tfm()
372 crypto_drop_skcipher(&ictx->u.skcipher_spawn); in essiv_skcipher_free_instance()
380 crypto_drop_aead(&ictx->u.aead_spawn); in essiv_aead_free_instance()
483 err = crypto_grab_skcipher(&ictx->u.skcipher_spawn, inst, in essiv_create()
487 skcipher_alg = crypto_spawn_skcipher_alg(&ictx->u.skcipher_spawn); in essiv_create()
502 err = crypto_grab_aead(&ictx->u.aead_spawn, inst, in essiv_create()
506 aead_alg = crypto_spawn_aead_alg(&ictx->u.aead_spawn); in essiv_create()
615 crypto_drop_skcipher(&ictx->u.skcipher_spawn); in essiv_create()
617 crypto_drop_aead(&ictx->u.aead_spawn); in essiv_create()