Lines Matching defs:sha1ctx
263 SHA1_CTX sha1ctx;
285 memcpy(&sha1ctx, &sc->sc_sha1, sizeof(sha1ctx));
286 SHA1Final((unsigned char *)kmd, &sha1ctx);
351 SHA1_CTX sha1ctx;
354 memcpy(&sha1ctx, &sc->sc_sha1, sizeof(sha1ctx));
356 SHA1Update(&sha1ctx, (void *)counter, sizeof(sc->sc_counter));
357 SHA1Final(md, &sha1ctx);
360 SHA1Init(&sha1ctx);
361 SHA1Update(&sha1ctx, sc->sc_pad, sizeof(sc->sc_pad));
362 SHA1Update(&sha1ctx, md, 20);
363 SHA1Final(md, &sha1ctx);