Lines Matching refs:algo
139 const struct esp_algorithm *algo; in esp_hdrsiz()
162 algo = esp_algorithm_lookup(sav->alg_enc); in esp_hdrsiz()
163 if (!algo) { in esp_hdrsiz()
171 if (algo->padbound) { in esp_hdrsiz()
172 maxpad = algo->padbound; in esp_hdrsiz()
250 const struct esp_algorithm *algo; in esp_output() local
338 algo = esp_algorithm_lookup(sav->alg_enc); in esp_output()
339 if (!algo) { in esp_output()
608 if (algo->padbound) { in esp_output()
609 padbound = algo->padbound; in esp_output()
762 error = esp_schedule(algo, sav); in esp_output()
773 if (!algo->encrypt) { in esp_output()
777 if ((*algo->encrypt)(m, espoff, plen + extendsiz, sav, algo, ivlen)) { in esp_output()
793 if (algo->finalizeencrypt) { in esp_output()
794 siz = algo->icvlen; in esp_output()
795 if ((*algo->finalizeencrypt)(sav, authbuf, siz)) { in esp_output()