Lines Matching defs:ses
2320 struct hifn_session *ses = NULL;
2328 ses = sc->sc_sessions = (struct hifn_session *)malloc(
2329 sizeof(*ses), M_DEVBUF, M_NOWAIT);
2330 if (ses == NULL) {
2339 ses = &sc->sc_sessions[sesn];
2344 if (ses == NULL) {
2346 ses = (struct hifn_session *)malloc((sesn + 1) *
2347 sizeof(*ses), M_DEVBUF, M_NOWAIT);
2348 if (ses == NULL) {
2352 bcopy(sc->sc_sessions, ses, sesn * sizeof(*ses));
2353 bzero(sc->sc_sessions, sesn * sizeof(*ses));
2355 sc->sc_sessions = ses;
2356 ses = &sc->sc_sessions[sesn];
2362 bzero(ses, sizeof(*ses));
2363 ses->hs_used = 1;
2374 ses->hs_mlen = c->cri_mlen;
2375 if (ses->hs_mlen == 0) {
2379 ses->hs_mlen = 16;
2383 ses->hs_mlen = 20;
2392 read_random(ses->hs_iv,