Searched refs:algp (Results 1 – 2 of 2) sorted by relevance
1107 ipsec_alginfo_t *algp = ipss->ipsec_alglists[algtype][algid]; in act_alg_adjust() local1109 if (algp != NULL) { in act_alg_adjust()1116 *minbits = algp->alg_default_bits; in act_alg_adjust()1117 ASSERT(*minbits >= algp->alg_minbits); in act_alg_adjust()1119 *minbits = MAX(MIN(*minbits, algp->alg_maxbits), in act_alg_adjust()1120 algp->alg_minbits); in act_alg_adjust()1123 *maxbits = algp->alg_maxbits; in act_alg_adjust()1125 *maxbits = MIN(MAX(*maxbits, algp->alg_minbits), in act_alg_adjust()1126 algp->alg_maxbits); in act_alg_adjust()
5931 ipsec_alginfo_t *algp; local5946 algp = ipss->ipsec_alglists[(algtype == SADB_X_ALGTYPE_AUTH) ?5948 if (algp == NULL) {5952 if (minbits < algp->alg_ef_minbits)5953 minbits = algp->alg_ef_minbits;5954 if (maxbits > algp->alg_ef_maxbits)5955 maxbits = algp->alg_ef_maxbits;5958 algdesc->sadb_x_algdesc_saltbits = SADB_8TO1(algp->alg_saltlen);