• Home
  • Raw
  • Download

Lines Matching refs:aead

32 	struct aead_alg *aead = crypto_aead_alg(tfm);  in setkey_unaligned()  local
45 ret = aead->setkey(tfm, alignbuffer, keylen); in setkey_unaligned()
53 struct aead_alg *aead = crypto_aead_alg(tfm); in setkey() local
59 return aead->setkey(tfm, key, keylen); in setkey()
118 struct aead_alg *aead = &alg->cra_aead; in crypto_aead_report() local
121 strncpy(raead.geniv, aead->geniv ?: "<built-in>", sizeof(raead.geniv)); in crypto_aead_report()
124 raead.maxauthsize = aead->maxauthsize; in crypto_aead_report()
125 raead.ivsize = aead->ivsize; in crypto_aead_report()
146 struct aead_alg *aead = &alg->cra_aead; in crypto_aead_show() local
152 seq_printf(m, "ivsize : %u\n", aead->ivsize); in crypto_aead_show()
153 seq_printf(m, "maxauthsize : %u\n", aead->maxauthsize); in crypto_aead_show()
154 seq_printf(m, "geniv : %s\n", aead->geniv ?: "<built-in>"); in crypto_aead_show()
203 struct aead_alg *aead = &alg->cra_aead; in crypto_nivaead_report() local
206 strncpy(raead.geniv, aead->geniv, sizeof(raead.geniv)); in crypto_nivaead_report()
209 raead.maxauthsize = aead->maxauthsize; in crypto_nivaead_report()
210 raead.ivsize = aead->ivsize; in crypto_nivaead_report()
232 struct aead_alg *aead = &alg->cra_aead; in crypto_nivaead_show() local
238 seq_printf(m, "ivsize : %u\n", aead->ivsize); in crypto_nivaead_show()
239 seq_printf(m, "maxauthsize : %u\n", aead->maxauthsize); in crypto_nivaead_show()
240 seq_printf(m, "geniv : %s\n", aead->geniv); in crypto_nivaead_show()
377 struct crypto_aead *aead; in aead_geniv_init() local
379 aead = crypto_spawn_aead(crypto_instance_ctx(inst)); in aead_geniv_init()
380 if (IS_ERR(aead)) in aead_geniv_init()
381 return PTR_ERR(aead); in aead_geniv_init()
383 tfm->crt_aead.base = aead; in aead_geniv_init()
384 tfm->crt_aead.reqsize += crypto_aead_reqsize(aead); in aead_geniv_init()