Lines Matching defs:algo
107 const struct ah_algorithm *algo;
118 algo = ah_algorithm_lookup(isr->sav->alg_auth);
119 if (!algo)
129 hdrsiz = (((*algo->sumsiz)(isr->sav) + 3) & ~(4 - 1));
163 const struct ah_algorithm *algo;
188 algo = ah_algorithm_lookup(sav->alg_auth);
189 if (!algo) {
203 plen = ((*algo->sumsiz)(sav) + 3) & ~(4 - 1); /*XXX pad to 8byte?*/
207 plen = ((*algo->sumsiz)(sav) + 3) & ~(4 - 1); /*XXX pad to 8byte?*/
320 error = ah4_calccksum(m, (caddr_t)ahsumpos, plen, algo, sav);
349 const struct ah_algorithm *algo;
352 algo = ah_algorithm_lookup(sav->alg_auth);
353 if (!algo)
357 plen = ((*algo->sumsiz)(sav) + 3) & ~(4 - 1); /*XXX pad to 8byte?*/
361 plen = ((*algo->sumsiz)(sav) + 3) & ~(4 - 1); /*XXX pad to 8byte?*/
381 const struct ah_algorithm *algo;
444 algo = ah_algorithm_lookup(sav->alg_auth);
445 if (!algo) {
504 error = ah6_calccksum(m, (caddr_t)ahsumpos, plen, algo, sav);