Searched refs:sw_octx (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.0-release/sys/opencrypto/
H A Dcryptosoft.h50 #define sw_octx SWCR_UN.SWCR_AUTH.SW_octx macro
H A Dcryptosoft.c475 axf->Init(sw->sw_octx);
476 axf->Update(sw->sw_octx, key, klen);
477 axf->Update(sw->sw_octx, hmac_opad_buffer, axf->blocksize - klen);
492 * In addition we abuse the sw_octx to save the key to have
498 bcopy(key, sw->sw_octx, klen);
544 if (sw->sw_octx == NULL)
548 bcopy(sw->sw_octx, &ctx, axf->ctxsize);
556 if (sw->sw_octx == NULL)
566 axf->Update(&ctx, sw->sw_octx, sw->sw_klen);
787 (*swd)->sw_octx
[all...]

Completed in 67 milliseconds