Lines Matching defs:algo

3579 	const struct esp_algorithm *algo;
3744 algo = esp_algorithm_lookup(sav->alg_enc);
3745 if (algo && algo->ivlen)
3746 sav->ivlen = (*algo->ivlen)(algo, sav);
3914 const struct esp_algorithm *algo;
3996 algo = esp_algorithm_lookup(sav->alg_enc);
3997 if (algo && algo->ivlen)
3998 sav->ivlen = (*algo->ivlen)(algo, sav);
4189 const struct ah_algorithm *algo;
4192 algo = ah_algorithm_lookup(sav->alg_auth);
4193 if (!algo) {
4204 if (keylen < algo->keymin || algo->keymax < keylen) {
4208 keylen, algo->keymin, algo->keymax));
4212 if (algo->mature) {
4213 if ((*algo->mature)(sav)) {
4229 const struct esp_algorithm *algo;
4232 algo = esp_algorithm_lookup(sav->alg_enc);
4233 if (!algo) {
4243 if (keylen < algo->keymin || algo->keymax < keylen) {
4247 keylen, algo->keymin, algo->keymax));
4251 if (algo->mature) {
4252 if ((*algo->mature)(sav)) {
4271 const struct ipcomp_algorithm *algo;
4274 algo = ipcomp_algorithm_lookup(sav->alg_enc);
4275 if (!algo) {
6953 const struct esp_algorithm *algo;
6962 algo = esp_algorithm_lookup(i);
6963 if (!algo)
6966 if (algo->keymax < ipsec_esp_keymin)
6968 if (algo->keymin < ipsec_esp_keymin)
6971 encmin = algo->keymin;
7011 comb->sadb_comb_encrypt_maxbits = algo->keymax;
7036 const struct ah_algorithm *algo;
7049 algo = ah_algorithm_lookup(i);
7050 if (!algo)
7053 if (algo->keymax < ipsec_ah_keymin)
7055 if (algo->keymin < ipsec_ah_keymin)
7058 keymin = algo->keymin;
7081 comb->sadb_comb_auth_maxbits = algo->keymax;
7095 const struct ipcomp_algorithm *algo;
7102 algo = ipcomp_algorithm_lookup(i);
7103 if (!algo)