Lines Matching refs:ctx
38 struct sha1_ctx ctx;
39 sha1_init_ctx (&ctx);
40 sha1_process_bytes ("abc", 3, &ctx);
41 sha1_finish_ctx (&ctx, buf);
51 sha1_init_ctx (&ctx);
53 abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq", 56, &ctx);
54 sha1_finish_ctx (&ctx, buf);
64 sha1_init_ctx (&ctx);
67 sha1_process_bytes (buf, sizeof (buf), &ctx);
68 sha1_finish_ctx (&ctx, buf);