Home
last modified time | relevance | path

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

/dragonfly/sys/dev/crypto/padlock/
H A Dpadlock_hash.c241 struct auth_hash *axf; in padlock_hash_key_setup() local
245 axf = ses->ses_axf; in padlock_hash_key_setup()
258 axf->Init(ses->ses_ictx); in padlock_hash_key_setup()
260 axf->Update(ses->ses_ictx, hmac_ipad_buffer, axf->blocksize - klen); in padlock_hash_key_setup()
265 axf->Init(ses->ses_octx); in padlock_hash_key_setup()
267 axf->Update(ses->ses_octx, hmac_opad_buffer, axf->blocksize - klen); in padlock_hash_key_setup()
281 struct auth_hash *axf; in padlock_authcompute() local
285 axf = ses->ses_axf; in padlock_authcompute()
294 axf->Final(hash, &ctx); in padlock_authcompute()
297 axf->Update(&ctx, hash, axf->hashsize); in padlock_authcompute()
[all …]
/dragonfly/sys/opencrypto/
H A Dcryptosoft.c496 switch (axf->type) { in swcr_authprepare()
509 axf->Update(sw->sw_ictx, hmac_ipad_buffer, axf->blocksize - klen); in swcr_authprepare()
516 axf->Update(sw->sw_octx, hmac_opad_buffer, axf->blocksize - klen); in swcr_authprepare()
548 struct auth_hash *axf; in swcr_authcompute() local
555 axf = sw->sw_axf; in swcr_authcompute()
579 axf->Update(&ctx, aalg, axf->hashsize); in swcr_authcompute()
647 axf = swa->sw_axf; in swcr_combined()
684 if (axf->Reinit) in swcr_combined()
1163 axf = swd->sw_axf; in swcr_freesession_slot()
1177 axf = swd->sw_axf; in swcr_freesession_slot()
[all …]