Home
last modified time | relevance | path

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

/freebsd-11-stable/sys/opencrypto/
HDcryptosoft.c388 unsigned char aalg[HASH_MAX_LEN]; in swcr_authcompute() local
418 axf->Final(aalg, &ctx); in swcr_authcompute()
420 axf->Update(&ctx, aalg, axf->hashsize); in swcr_authcompute()
421 axf->Final(aalg, &ctx); in swcr_authcompute()
438 axf->Final(aalg, &ctx); in swcr_authcompute()
442 axf->Final(aalg, &ctx); in swcr_authcompute()
448 sw->sw_mlen == 0 ? axf->hashsize : sw->sw_mlen, aalg); in swcr_authcompute()
463 u_char aalg[AALG_MAX_RESULT_LEN]; in swcr_authenc() local
594 axf->Final(aalg, &ctx); in swcr_authenc()
601 r = timingsafe_bcmp(aalg, uaalg, axf->hashsize); in swcr_authenc()
[all …]
/freebsd-11-stable/sys/netipsec/
HDxform_esp.c468 u_int8_t lastthree[3], aalg[AH_HMAC_MAXHASHLEN]; in esp_input_cb() local
524 m_copydata(m, m->m_pkthdr.len - alen, alen, aalg); in esp_input_cb()
528 if (timingsafe_bcmp(ptr, aalg, alen) != 0) { in esp_input_cb()