ctx 276 daemons/controld/controld_control.c GMainContext *ctx = g_main_loop_get_context(crmd_mainloop); ctx 284 daemons/controld/controld_control.c crm_trace("Draining mainloop %d %d", g_main_loop_is_running(mloop), g_main_context_pending(ctx)); ctx 289 daemons/controld/controld_control.c while((g_main_context_pending(ctx) && lpc < 10)) { ctx 292 daemons/controld/controld_control.c g_main_context_dispatch(ctx); ctx 296 daemons/controld/controld_control.c crm_trace("Closing mainloop %d %d", g_main_loop_is_running(mloop), g_main_context_pending(ctx)); ctx 1420 lib/common/mainloop.c GMainContext *ctx = g_main_loop_get_context(mloop); ctx 1425 lib/common/mainloop.c for (int i = 0; (i < n) && g_main_context_pending(ctx); ++i) { ctx 1426 lib/common/mainloop.c g_main_context_dispatch(ctx); ctx 1450 lib/common/mainloop.c GMainContext *ctx = NULL; ctx 1454 lib/common/mainloop.c ctx = g_main_loop_get_context(mloop); ctx 1455 lib/common/mainloop.c if (ctx) { ctx 1461 lib/common/mainloop.c g_main_context_iteration(ctx, TRUE); ctx 76 lib/common/md5.c md5_init_ctx (struct md5_ctx *ctx) ctx 78 lib/common/md5.c ctx->A = 0x67452301; ctx 79 lib/common/md5.c ctx->B = 0xefcdab89; ctx 80 lib/common/md5.c ctx->C = 0x98badcfe; ctx 81 lib/common/md5.c ctx->D = 0x10325476; ctx 83 lib/common/md5.c ctx->total[0] = ctx->total[1] = 0; ctx 84 lib/common/md5.c ctx->buflen = 0; ctx 99 lib/common/md5.c md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) ctx 102 lib/common/md5.c set_uint32 (r + 0 * sizeof ctx->A, SWAP (ctx->A)); ctx 103 lib/common/md5.c set_uint32 (r + 1 * sizeof ctx->B, SWAP (ctx->B)); ctx 104 lib/common/md5.c set_uint32 (r + 2 * sizeof ctx->C, SWAP (ctx->C)); ctx 105 lib/common/md5.c set_uint32 (r + 3 * sizeof ctx->D, SWAP (ctx->D)); ctx 113 lib/common/md5.c md5_finish_ctx (struct md5_ctx *ctx, void *resbuf) ctx 116 lib/common/md5.c uint32_t bytes = ctx->buflen; ctx 120 lib/common/md5.c ctx->total[0] += bytes; ctx 121 lib/common/md5.c if (ctx->total[0] < bytes) ctx 122 lib/common/md5.c ++ctx->total[1]; ctx 125 lib/common/md5.c ctx->buffer[size - 2] = SWAP (ctx->total[0] << 3); ctx 126 lib/common/md5.c ctx->buffer[size - 1] = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29)); ctx 128 lib/common/md5.c memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes); ctx 131 lib/common/md5.c md5_process_block (ctx->buffer, size * 4, ctx); ctx 133 lib/common/md5.c return md5_read_ctx (ctx, resbuf); ctx 157 lib/common/md5.c struct md5_ctx ctx; ctx 158 lib/common/md5.c md5_init_ctx (&ctx); ctx 205 lib/common/md5.c md5_process_block (buffer, BLOCKSIZE, &ctx); ctx 212 lib/common/md5.c md5_process_bytes (buffer, sum, &ctx); ctx 215 lib/common/md5.c md5_finish_ctx (&ctx, resblock); ctx 229 lib/common/md5.c struct md5_ctx ctx; ctx 232 lib/common/md5.c md5_init_ctx (&ctx); ctx 235 lib/common/md5.c md5_process_bytes (buffer, len, &ctx); ctx 238 lib/common/md5.c return md5_finish_ctx (&ctx, resblock); ctx 243 lib/common/md5.c md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx) ctx 247 lib/common/md5.c if (ctx->buflen != 0) ctx 249 lib/common/md5.c size_t left_over = ctx->buflen; ctx 252 lib/common/md5.c memcpy (&((char *) ctx->buffer)[left_over], buffer, add); ctx 253 lib/common/md5.c ctx->buflen += add; ctx 255 lib/common/md5.c if (ctx->buflen > 64) ctx 257 lib/common/md5.c md5_process_block (ctx->buffer, ctx->buflen & ~63, ctx); ctx 259 lib/common/md5.c ctx->buflen &= 63; ctx 262 lib/common/md5.c memcpy (ctx->buffer, ctx 263 lib/common/md5.c &((char *) ctx->buffer)[(left_over + add) & ~63], ctx 264 lib/common/md5.c ctx->buflen); ctx 279 lib/common/md5.c md5_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx); ctx 286 lib/common/md5.c md5_process_block (buffer, len & ~63, ctx); ctx 295 lib/common/md5.c size_t left_over = ctx->buflen; ctx 297 lib/common/md5.c memcpy (&((char *) ctx->buffer)[left_over], buffer, len); ctx 301 lib/common/md5.c md5_process_block (ctx->buffer, 64, ctx); ctx 305 lib/common/md5.c memcpy (ctx->buffer, &ctx->buffer[16], left_over); ctx 307 lib/common/md5.c ctx->buflen = left_over; ctx 325 lib/common/md5.c md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx) ctx 331 lib/common/md5.c uint32_t A = ctx->A; ctx 332 lib/common/md5.c uint32_t B = ctx->B; ctx 333 lib/common/md5.c uint32_t C = ctx->C; ctx 334 lib/common/md5.c uint32_t D = ctx->D; ctx 340 lib/common/md5.c ctx->total[0] += lolen; ctx 341 lib/common/md5.c ctx->total[1] += (len >> 31 >> 1) + (ctx->total[0] < lolen); ctx 477 lib/common/md5.c ctx->A = A; ctx 478 lib/common/md5.c ctx->B = B; ctx 479 lib/common/md5.c ctx->C = C; ctx 480 lib/common/md5.c ctx->D = D; ctx 467 lib/common/schemas.c relaxng_ctx_cache_t *ctx = NULL; ctx 473 lib/common/schemas.c ctx = *cached_ctx; ctx 477 lib/common/schemas.c ctx = calloc(1, sizeof(relaxng_ctx_cache_t)); ctx 480 lib/common/schemas.c ctx->parser = xmlRelaxNGNewParserCtxt(relaxng_file); ctx 481 lib/common/schemas.c CRM_CHECK(ctx->parser != NULL, goto cleanup); ctx 484 lib/common/schemas.c xmlRelaxNGSetParserErrors(ctx->parser, ctx 489 lib/common/schemas.c xmlRelaxNGSetParserErrors(ctx->parser, ctx 495 lib/common/schemas.c ctx->rng = xmlRelaxNGParse(ctx->parser); ctx 496 lib/common/schemas.c CRM_CHECK(ctx->rng != NULL, ctx 500 lib/common/schemas.c ctx->valid = xmlRelaxNGNewValidCtxt(ctx->rng); ctx 501 lib/common/schemas.c CRM_CHECK(ctx->valid != NULL, goto cleanup); ctx 504 lib/common/schemas.c xmlRelaxNGSetValidErrors(ctx->valid, ctx 509 lib/common/schemas.c xmlRelaxNGSetValidErrors(ctx->valid, ctx 520 lib/common/schemas.c rc = xmlRelaxNGValidateDoc(ctx->valid, doc); ctx 531 lib/common/schemas.c *cached_ctx = ctx; ctx 534 lib/common/schemas.c if (ctx->parser != NULL) { ctx 535 lib/common/schemas.c xmlRelaxNGFreeParserCtxt(ctx->parser); ctx 537 lib/common/schemas.c if (ctx->valid != NULL) { ctx 538 lib/common/schemas.c xmlRelaxNGFreeValidCtxt(ctx->valid); ctx 540 lib/common/schemas.c if (ctx->rng != NULL) { ctx 541 lib/common/schemas.c xmlRelaxNGFree(ctx->rng); ctx 543 lib/common/schemas.c free(ctx); ctx 557 lib/common/schemas.c relaxng_ctx_cache_t *ctx = NULL; ctx 565 lib/common/schemas.c ctx = (relaxng_ctx_cache_t *) known_schemas[lpc].cache; ctx 566 lib/common/schemas.c if (ctx == NULL) { ctx 569 lib/common/schemas.c if (ctx->parser != NULL) { ctx 570 lib/common/schemas.c xmlRelaxNGFreeParserCtxt(ctx->parser); ctx 572 lib/common/schemas.c if (ctx->valid != NULL) { ctx 573 lib/common/schemas.c xmlRelaxNGFreeValidCtxt(ctx->valid); ctx 575 lib/common/schemas.c if (ctx->rng != NULL) { ctx 576 lib/common/schemas.c xmlRelaxNGFree(ctx->rng); ctx 578 lib/common/schemas.c free(ctx); ctx 746 lib/common/schemas.c cib_upgrade_err(void *ctx, const char *fmt, ...) ctx 773 lib/common/schemas.c cib_upgrade_err(void *ctx, const char *fmt, ...) ctx 781 lib/common/schemas.c const unsigned * log_level = (const unsigned *) ctx; ctx 811 lib/common/schemas.c if (ctx == NULL) { ctx 822 lib/common/schemas.c if (ctx == NULL) { ctx 833 lib/common/schemas.c if (ctx == NULL) { ctx 902 lib/common/xml.c log_xmllib_err(void *ctx, const char *fmt, ...) ctx 907 lib/common/xml.c log_xmllib_err(void *ctx, const char *fmt, ...) ctx 78 lib/gnu/gl_openssl.h GL_CRYPTO_FN (_init_ctx) (struct _gl_ctx *ctx) ctx 79 lib/gnu/gl_openssl.h { (void) OPENSSL_FN (_Init) ((_gl_CTX *) ctx); } ctx 84 lib/gnu/gl_openssl.h GL_CRYPTO_FN (_process_bytes) (const void *buf, size_t len, struct _gl_ctx *ctx) ctx 85 lib/gnu/gl_openssl.h { OPENSSL_FN (_Update) ((_gl_CTX *) ctx, buf, len); } ctx 88 lib/gnu/gl_openssl.h GL_CRYPTO_FN (_process_block) (const void *buf, size_t len, struct _gl_ctx *ctx) ctx 89 lib/gnu/gl_openssl.h { GL_CRYPTO_FN (_process_bytes) (buf, len, ctx); } ctx 93 lib/gnu/gl_openssl.h GL_CRYPTO_FN (_finish_ctx) (struct _gl_ctx *ctx, void *restrict res) ctx 94 lib/gnu/gl_openssl.h { OPENSSL_FN (_Final) ((unsigned char *) res, (_gl_CTX *) ctx); return res; } ctx 101 lib/gnu/gl_openssl.h GL_CRYPTO_FN (_read_ctx) (const struct _gl_ctx *ctx, void *restrict res) ctx 104 lib/gnu/gl_openssl.h _gl_CTX tmp_ctx = *(_gl_CTX *) ctx; ctx 76 lib/gnu/md5.c md5_init_ctx (struct md5_ctx *ctx) ctx 78 lib/gnu/md5.c ctx->A = 0x67452301; ctx 79 lib/gnu/md5.c ctx->B = 0xefcdab89; ctx 80 lib/gnu/md5.c ctx->C = 0x98badcfe; ctx 81 lib/gnu/md5.c ctx->D = 0x10325476; ctx 83 lib/gnu/md5.c ctx->total[0] = ctx->total[1] = 0; ctx 84 lib/gnu/md5.c ctx->buflen = 0; ctx 99 lib/gnu/md5.c md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) ctx 102 lib/gnu/md5.c set_uint32 (r + 0 * sizeof ctx->A, SWAP (ctx->A)); ctx 103 lib/gnu/md5.c set_uint32 (r + 1 * sizeof ctx->B, SWAP (ctx->B)); ctx 104 lib/gnu/md5.c set_uint32 (r + 2 * sizeof ctx->C, SWAP (ctx->C)); ctx 105 lib/gnu/md5.c set_uint32 (r + 3 * sizeof ctx->D, SWAP (ctx->D)); ctx 113 lib/gnu/md5.c md5_finish_ctx (struct md5_ctx *ctx, void *resbuf) ctx 116 lib/gnu/md5.c uint32_t bytes = ctx->buflen; ctx 120 lib/gnu/md5.c ctx->total[0] += bytes; ctx 121 lib/gnu/md5.c if (ctx->total[0] < bytes) ctx 122 lib/gnu/md5.c ++ctx->total[1]; ctx 125 lib/gnu/md5.c ctx->buffer[size - 2] = SWAP (ctx->total[0] << 3); ctx 126 lib/gnu/md5.c ctx->buffer[size - 1] = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29)); ctx 128 lib/gnu/md5.c memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes); ctx 131 lib/gnu/md5.c md5_process_block (ctx->buffer, size * 4, ctx); ctx 133 lib/gnu/md5.c return md5_read_ctx (ctx, resbuf); ctx 157 lib/gnu/md5.c struct md5_ctx ctx; ctx 158 lib/gnu/md5.c md5_init_ctx (&ctx); ctx 205 lib/gnu/md5.c md5_process_block (buffer, BLOCKSIZE, &ctx); ctx 212 lib/gnu/md5.c md5_process_bytes (buffer, sum, &ctx); ctx 215 lib/gnu/md5.c md5_finish_ctx (&ctx, resblock); ctx 229 lib/gnu/md5.c struct md5_ctx ctx; ctx 232 lib/gnu/md5.c md5_init_ctx (&ctx); ctx 235 lib/gnu/md5.c md5_process_bytes (buffer, len, &ctx); ctx 238 lib/gnu/md5.c return md5_finish_ctx (&ctx, resblock); ctx 243 lib/gnu/md5.c md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx) ctx 247 lib/gnu/md5.c if (ctx->buflen != 0) ctx 249 lib/gnu/md5.c size_t left_over = ctx->buflen; ctx 252 lib/gnu/md5.c memcpy (&((char *) ctx->buffer)[left_over], buffer, add); ctx 253 lib/gnu/md5.c ctx->buflen += add; ctx 255 lib/gnu/md5.c if (ctx->buflen > 64) ctx 257 lib/gnu/md5.c md5_process_block (ctx->buffer, ctx->buflen & ~63, ctx); ctx 259 lib/gnu/md5.c ctx->buflen &= 63; ctx 262 lib/gnu/md5.c memcpy (ctx->buffer, ctx 263 lib/gnu/md5.c &((char *) ctx->buffer)[(left_over + add) & ~63], ctx 264 lib/gnu/md5.c ctx->buflen); ctx 279 lib/gnu/md5.c md5_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx); ctx 286 lib/gnu/md5.c md5_process_block (buffer, len & ~63, ctx); ctx 295 lib/gnu/md5.c size_t left_over = ctx->buflen; ctx 297 lib/gnu/md5.c memcpy (&((char *) ctx->buffer)[left_over], buffer, len); ctx 301 lib/gnu/md5.c md5_process_block (ctx->buffer, 64, ctx); ctx 307 lib/gnu/md5.c memcpy (ctx->buffer, &(((char *) ctx->buffer)[64]), left_over); ctx 310 lib/gnu/md5.c ctx->buflen = left_over; ctx 328 lib/gnu/md5.c md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx) ctx 334 lib/gnu/md5.c uint32_t A = ctx->A; ctx 335 lib/gnu/md5.c uint32_t B = ctx->B; ctx 336 lib/gnu/md5.c uint32_t C = ctx->C; ctx 337 lib/gnu/md5.c uint32_t D = ctx->D; ctx 343 lib/gnu/md5.c ctx->total[0] += lolen; ctx 344 lib/gnu/md5.c ctx->total[1] += (len >> 31 >> 1) + (ctx->total[0] < lolen); ctx 480 lib/gnu/md5.c ctx->A = A; ctx 481 lib/gnu/md5.c ctx->B = B; ctx 482 lib/gnu/md5.c ctx->C = C; ctx 483 lib/gnu/md5.c ctx->D = D; ctx 88 lib/gnu/md5.h extern void __md5_init_ctx (struct md5_ctx *ctx) __THROW; ctx 95 lib/gnu/md5.h struct md5_ctx *ctx) __THROW; ctx 102 lib/gnu/md5.h struct md5_ctx *ctx) __THROW; ctx 108 lib/gnu/md5.h extern void *__md5_finish_ctx (struct md5_ctx *ctx, void *restrict resbuf) ctx 115 lib/gnu/md5.h extern void *__md5_read_ctx (const struct md5_ctx *ctx, void *restrict resbuf) ctx 479 maint/gnulib/lib/acl-internal.c free_permission_context (struct permission_context *ctx) ctx 483 maint/gnulib/lib/acl-internal.c if (ctx->acl) ctx 484 maint/gnulib/lib/acl-internal.c acl_free (ctx->acl); ctx 486 maint/gnulib/lib/acl-internal.c if (ctx->default_acl) ctx 487 maint/gnulib/lib/acl-internal.c acl_free (ctx->default_acl); ctx 491 maint/gnulib/lib/acl-internal.c free (ctx->entries); ctx 493 maint/gnulib/lib/acl-internal.c free (ctx->ace_entries); ctx 292 maint/gnulib/lib/base32.c base32_decode_ctx_init (struct base32_decode_context *ctx) ctx 294 maint/gnulib/lib/base32.c ctx->i = 0; ctx 305 maint/gnulib/lib/base32.c get_8 (struct base32_decode_context *ctx, ctx 309 maint/gnulib/lib/base32.c if (ctx->i == 8) ctx 310 maint/gnulib/lib/base32.c ctx->i = 0; ctx 312 maint/gnulib/lib/base32.c if (ctx->i == 0) ctx 332 maint/gnulib/lib/base32.c ctx->buf[ctx->i++] = c; ctx 333 maint/gnulib/lib/base32.c if (ctx->i == 8) ctx 339 maint/gnulib/lib/base32.c *n_non_newline = ctx->i; ctx 340 maint/gnulib/lib/base32.c return ctx->buf; ctx 469 maint/gnulib/lib/base32.c base32_decode_ctx (struct base32_decode_context *ctx, ctx 474 maint/gnulib/lib/base32.c bool ignore_newlines = ctx != NULL; ctx 480 maint/gnulib/lib/base32.c ctx_i = ctx->i; ctx 524 maint/gnulib/lib/base32.c non_nl = get_8 (ctx, &in, in_end, &inlen); ctx 560 maint/gnulib/lib/base32.c base32_decode_alloc_ctx (struct base32_decode_context *ctx, ctx 575 maint/gnulib/lib/base32.c if (!base32_decode_ctx (ctx, in, inlen, *out, &needlen)) ctx 44 maint/gnulib/lib/base32.h extern void base32_decode_ctx_init (struct base32_decode_context *ctx); ctx 46 maint/gnulib/lib/base32.h extern bool base32_decode_ctx (struct base32_decode_context *ctx, ctx 50 maint/gnulib/lib/base32.h extern bool base32_decode_alloc_ctx (struct base32_decode_context *ctx, ctx 329 maint/gnulib/lib/base64.c base64_decode_ctx_init (struct base64_decode_context *ctx) ctx 331 maint/gnulib/lib/base64.c ctx->i = 0; ctx 342 maint/gnulib/lib/base64.c get_4 (struct base64_decode_context *ctx, ctx 346 maint/gnulib/lib/base64.c if (ctx->i == 4) ctx 347 maint/gnulib/lib/base64.c ctx->i = 0; ctx 349 maint/gnulib/lib/base64.c if (ctx->i == 0) ctx 369 maint/gnulib/lib/base64.c ctx->buf[ctx->i++] = c; ctx 370 maint/gnulib/lib/base64.c if (ctx->i == 4) ctx 376 maint/gnulib/lib/base64.c *n_non_newline = ctx->i; ctx 377 maint/gnulib/lib/base64.c return ctx->buf; ctx 481 maint/gnulib/lib/base64.c base64_decode_ctx (struct base64_decode_context *ctx, ctx 486 maint/gnulib/lib/base64.c bool ignore_newlines = ctx != NULL; ctx 492 maint/gnulib/lib/base64.c ctx_i = ctx->i; ctx 536 maint/gnulib/lib/base64.c non_nl = get_4 (ctx, &in, in_end, &inlen); ctx 572 maint/gnulib/lib/base64.c base64_decode_alloc_ctx (struct base64_decode_context *ctx, ctx 587 maint/gnulib/lib/base64.c if (!base64_decode_ctx (ctx, in, inlen, *out, &needlen)) ctx 48 maint/gnulib/lib/base64.h extern void base64_decode_ctx_init (struct base64_decode_context *ctx); ctx 50 maint/gnulib/lib/base64.h extern bool base64_decode_ctx (struct base64_decode_context *ctx, ctx 54 maint/gnulib/lib/base64.h extern bool base64_decode_alloc_ctx (struct base64_decode_context *ctx, ctx 524 maint/gnulib/lib/des.c gl_des_setkey (gl_des_ctx *ctx, const char * key) ctx 528 maint/gnulib/lib/des.c des_key_schedule (key, ctx->encrypt_subkeys); ctx 532 maint/gnulib/lib/des.c ctx->decrypt_subkeys[i] = ctx->encrypt_subkeys[30 - i]; ctx 533 maint/gnulib/lib/des.c ctx->decrypt_subkeys[i + 1] = ctx->encrypt_subkeys[31 - i]; ctx 538 maint/gnulib/lib/des.c gl_des_makekey (gl_des_ctx *ctx, const char * key, size_t keylen) ctx 543 maint/gnulib/lib/des.c gl_des_setkey (ctx, key); ctx 549 maint/gnulib/lib/des.c gl_des_ecb_crypt (gl_des_ctx *ctx, const char * _from, char * _to, int mode) ctx 556 maint/gnulib/lib/des.c keys = mode ? ctx->decrypt_subkeys : ctx->encrypt_subkeys; ctx 573 maint/gnulib/lib/des.c gl_3des_set2keys (gl_3des_ctx *ctx, const char * key1, const char * key2) ctx 577 maint/gnulib/lib/des.c des_key_schedule (key1, ctx->encrypt_subkeys); ctx 578 maint/gnulib/lib/des.c des_key_schedule (key2, &(ctx->decrypt_subkeys[32])); ctx 582 maint/gnulib/lib/des.c ctx->decrypt_subkeys[i] = ctx->encrypt_subkeys[30 - i]; ctx 583 maint/gnulib/lib/des.c ctx->decrypt_subkeys[i + 1] = ctx->encrypt_subkeys[31 - i]; ctx 585 maint/gnulib/lib/des.c ctx->encrypt_subkeys[i + 32] = ctx->decrypt_subkeys[62 - i]; ctx 586 maint/gnulib/lib/des.c ctx->encrypt_subkeys[i + 33] = ctx->decrypt_subkeys[63 - i]; ctx 588 maint/gnulib/lib/des.c ctx->encrypt_subkeys[i + 64] = ctx->encrypt_subkeys[i]; ctx 589 maint/gnulib/lib/des.c ctx->encrypt_subkeys[i + 65] = ctx->encrypt_subkeys[i + 1]; ctx 591 maint/gnulib/lib/des.c ctx->decrypt_subkeys[i + 64] = ctx->decrypt_subkeys[i]; ctx 592 maint/gnulib/lib/des.c ctx->decrypt_subkeys[i + 65] = ctx->decrypt_subkeys[i + 1]; ctx 597 maint/gnulib/lib/des.c gl_3des_set3keys (gl_3des_ctx *ctx, const char * key1, ctx 602 maint/gnulib/lib/des.c des_key_schedule (key1, ctx->encrypt_subkeys); ctx 603 maint/gnulib/lib/des.c des_key_schedule (key2, &(ctx->decrypt_subkeys[32])); ctx 604 maint/gnulib/lib/des.c des_key_schedule (key3, &(ctx->encrypt_subkeys[64])); ctx 608 maint/gnulib/lib/des.c ctx->decrypt_subkeys[i] = ctx->encrypt_subkeys[94 - i]; ctx 609 maint/gnulib/lib/des.c ctx->decrypt_subkeys[i + 1] = ctx->encrypt_subkeys[95 - i]; ctx 611 maint/gnulib/lib/des.c ctx->encrypt_subkeys[i + 32] = ctx->decrypt_subkeys[62 - i]; ctx 612 maint/gnulib/lib/des.c ctx->encrypt_subkeys[i + 33] = ctx->decrypt_subkeys[63 - i]; ctx 614 maint/gnulib/lib/des.c ctx->decrypt_subkeys[i + 64] = ctx->encrypt_subkeys[30 - i]; ctx 615 maint/gnulib/lib/des.c ctx->decrypt_subkeys[i + 65] = ctx->encrypt_subkeys[31 - i]; ctx 620 maint/gnulib/lib/des.c gl_3des_ecb_crypt (gl_3des_ctx *ctx, ctx 629 maint/gnulib/lib/des.c keys = mode ? ctx->decrypt_subkeys : ctx->encrypt_subkeys; ctx 662 maint/gnulib/lib/des.c gl_3des_makekey (gl_3des_ctx *ctx, const char * key, size_t keylen) ctx 667 maint/gnulib/lib/des.c gl_3des_set3keys (ctx, key, key + 8, key + 16); ctx 60 maint/gnulib/lib/des.h gl_des_setkey (gl_des_ctx *ctx, const char * key); ctx 66 maint/gnulib/lib/des.h gl_des_makekey (gl_des_ctx *ctx, const char * key, size_t keylen); ctx 71 maint/gnulib/lib/des.h gl_des_ecb_crypt (gl_des_ctx *ctx, const char * from, char * to, int mode); ctx 73 maint/gnulib/lib/des.h #define gl_des_ecb_encrypt(ctx, from, to) gl_des_ecb_crypt(ctx, from, to, 0) ctx 74 maint/gnulib/lib/des.h #define gl_des_ecb_decrypt(ctx, from, to) gl_des_ecb_crypt(ctx, from, to, 1) ctx 84 maint/gnulib/lib/des.h gl_3des_set2keys (gl_3des_ctx *ctx, ctx 94 maint/gnulib/lib/des.h gl_3des_set3keys (gl_3des_ctx *ctx, ctx 103 maint/gnulib/lib/des.h gl_3des_makekey (gl_3des_ctx *ctx, ctx 111 maint/gnulib/lib/des.h gl_3des_ecb_crypt (gl_3des_ctx *ctx, ctx 116 maint/gnulib/lib/des.h #define gl_3des_ecb_encrypt(ctx, from, to) gl_3des_ecb_crypt(ctx,from,to,0) ctx 117 maint/gnulib/lib/des.h #define gl_3des_ecb_decrypt(ctx, from, to) gl_3des_ecb_crypt(ctx,from,to,1) ctx 174 maint/gnulib/lib/gc-gnulib.c _gc_cipher_ctx *ctx; ctx 177 maint/gnulib/lib/gc-gnulib.c ctx = calloc (sizeof (*ctx), 1); ctx 178 maint/gnulib/lib/gc-gnulib.c if (!ctx) ctx 181 maint/gnulib/lib/gc-gnulib.c ctx->alg = alg; ctx 182 maint/gnulib/lib/gc-gnulib.c ctx->mode = mode; ctx 248 maint/gnulib/lib/gc-gnulib.c *outhandle = ctx; ctx 250 maint/gnulib/lib/gc-gnulib.c free (ctx); ctx 258 maint/gnulib/lib/gc-gnulib.c _gc_cipher_ctx *ctx = handle; ctx 260 maint/gnulib/lib/gc-gnulib.c switch (ctx->alg) ctx 264 maint/gnulib/lib/gc-gnulib.c arctwo_setkey (&ctx->arctwoContext, keylen, key); ctx 271 maint/gnulib/lib/gc-gnulib.c arcfour_setkey (&ctx->arcfourContext, key, keylen); ctx 279 maint/gnulib/lib/gc-gnulib.c gl_des_setkey (&ctx->desContext, key); ctx 295 maint/gnulib/lib/gc-gnulib.c rc = rijndaelMakeKey (&ctx->aesEncKey, RIJNDAEL_DIR_ENCRYPT, ctx 300 maint/gnulib/lib/gc-gnulib.c rc = rijndaelMakeKey (&ctx->aesDecKey, RIJNDAEL_DIR_DECRYPT, ctx 305 maint/gnulib/lib/gc-gnulib.c rc = rijndaelCipherInit (&ctx->aesContext, RIJNDAEL_MODE_ECB, NULL); ctx 322 maint/gnulib/lib/gc-gnulib.c _gc_cipher_ctx *ctx = handle; ctx 324 maint/gnulib/lib/gc-gnulib.c switch (ctx->alg) ctx 330 maint/gnulib/lib/gc-gnulib.c memcpy (ctx->arctwoIV, iv, ivlen); ctx 338 maint/gnulib/lib/gc-gnulib.c switch (ctx->mode) ctx 353 maint/gnulib/lib/gc-gnulib.c rc = rijndaelCipherInit (&ctx->aesContext, RIJNDAEL_MODE_CBC, ctx 376 maint/gnulib/lib/gc-gnulib.c _gc_cipher_ctx *ctx = handle; ctx 378 maint/gnulib/lib/gc-gnulib.c switch (ctx->alg) ctx 382 maint/gnulib/lib/gc-gnulib.c switch (ctx->mode) ctx 385 maint/gnulib/lib/gc-gnulib.c arctwo_encrypt (&ctx->arctwoContext, data, data, len); ctx 394 maint/gnulib/lib/gc-gnulib.c data[i] ^= ctx->arctwoIV[i]; ctx 395 maint/gnulib/lib/gc-gnulib.c arctwo_encrypt (&ctx->arctwoContext, data, data, ctx 397 maint/gnulib/lib/gc-gnulib.c memcpy (ctx->arctwoIV, data, ARCTWO_BLOCK_SIZE); ctx 410 maint/gnulib/lib/gc-gnulib.c arcfour_stream (&ctx->arcfourContext, data, data, len); ctx 417 maint/gnulib/lib/gc-gnulib.c gl_des_ecb_encrypt (&ctx->desContext, data, data); ctx 428 maint/gnulib/lib/gc-gnulib.c nblocks = rijndaelBlockEncrypt (&ctx->aesContext, &ctx->aesEncKey, ctx 446 maint/gnulib/lib/gc-gnulib.c _gc_cipher_ctx *ctx = handle; ctx 448 maint/gnulib/lib/gc-gnulib.c switch (ctx->alg) ctx 452 maint/gnulib/lib/gc-gnulib.c switch (ctx->mode) ctx 455 maint/gnulib/lib/gc-gnulib.c arctwo_decrypt (&ctx->arctwoContext, data, data, len); ctx 465 maint/gnulib/lib/gc-gnulib.c arctwo_decrypt (&ctx->arctwoContext, data, data, ctx 468 maint/gnulib/lib/gc-gnulib.c data[i] ^= ctx->arctwoIV[i]; ctx 469 maint/gnulib/lib/gc-gnulib.c memcpy (ctx->arctwoIV, tmpIV, ARCTWO_BLOCK_SIZE); ctx 482 maint/gnulib/lib/gc-gnulib.c arcfour_stream (&ctx->arcfourContext, data, data, len); ctx 489 maint/gnulib/lib/gc-gnulib.c gl_des_ecb_decrypt (&ctx->desContext, data, data); ctx 500 maint/gnulib/lib/gc-gnulib.c nblocks = rijndaelBlockDecrypt (&ctx->aesContext, &ctx->aesDecKey, ctx 518 maint/gnulib/lib/gc-gnulib.c _gc_cipher_ctx *ctx = handle; ctx 520 maint/gnulib/lib/gc-gnulib.c free (ctx); ctx 560 maint/gnulib/lib/gc-gnulib.c _gc_hash_ctx *ctx; ctx 566 maint/gnulib/lib/gc-gnulib.c ctx = calloc (sizeof (*ctx), 1); ctx 567 maint/gnulib/lib/gc-gnulib.c if (!ctx) ctx 570 maint/gnulib/lib/gc-gnulib.c ctx->alg = hash; ctx 571 maint/gnulib/lib/gc-gnulib.c ctx->mode = mode; ctx 584 maint/gnulib/lib/gc-gnulib.c md4_init_ctx (&ctx->md4Context); ctx 590 maint/gnulib/lib/gc-gnulib.c md5_init_ctx (&ctx->md5Context); ctx 596 maint/gnulib/lib/gc-gnulib.c sha1_init_ctx (&ctx->sha1Context); ctx 602 maint/gnulib/lib/gc-gnulib.c sha256_init_ctx (&ctx->sha256Context); ctx 608 maint/gnulib/lib/gc-gnulib.c sha512_init_ctx (&ctx->sha512Context); ctx 614 maint/gnulib/lib/gc-gnulib.c sm3_init_ctx (&ctx->sm3Context); ctx 624 maint/gnulib/lib/gc-gnulib.c *outhandle = ctx; ctx 626 maint/gnulib/lib/gc-gnulib.c free (ctx); ctx 695 maint/gnulib/lib/gc-gnulib.c _gc_hash_ctx *ctx = handle; ctx 697 maint/gnulib/lib/gc-gnulib.c switch (ctx->alg) ctx 701 maint/gnulib/lib/gc-gnulib.c md2_process_bytes (data, len, &ctx->md2Context); ctx 707 maint/gnulib/lib/gc-gnulib.c md4_process_bytes (data, len, &ctx->md4Context); ctx 713 maint/gnulib/lib/gc-gnulib.c md5_process_bytes (data, len, &ctx->md5Context); ctx 719 maint/gnulib/lib/gc-gnulib.c sha1_process_bytes (data, len, &ctx->sha1Context); ctx 725 maint/gnulib/lib/gc-gnulib.c sha256_process_bytes (data, len, &ctx->sha256Context); ctx 731 maint/gnulib/lib/gc-gnulib.c sha512_process_bytes (data, len, &ctx->sha512Context); ctx 737 maint/gnulib/lib/gc-gnulib.c sm3_process_bytes (data, len, &ctx->sm3Context); ctx 749 maint/gnulib/lib/gc-gnulib.c _gc_hash_ctx *ctx = handle; ctx 752 maint/gnulib/lib/gc-gnulib.c switch (ctx->alg) ctx 756 maint/gnulib/lib/gc-gnulib.c md2_finish_ctx (&ctx->md2Context, ctx->hash); ctx 757 maint/gnulib/lib/gc-gnulib.c ret = ctx->hash; ctx 763 maint/gnulib/lib/gc-gnulib.c md4_finish_ctx (&ctx->md4Context, ctx->hash); ctx 764 maint/gnulib/lib/gc-gnulib.c ret = ctx->hash; ctx 770 maint/gnulib/lib/gc-gnulib.c md5_finish_ctx (&ctx->md5Context, ctx->hash); ctx 771 maint/gnulib/lib/gc-gnulib.c ret = ctx->hash; ctx 777 maint/gnulib/lib/gc-gnulib.c sha1_finish_ctx (&ctx->sha1Context, ctx->hash); ctx 778 maint/gnulib/lib/gc-gnulib.c ret = ctx->hash; ctx 784 maint/gnulib/lib/gc-gnulib.c sha256_finish_ctx (&ctx->sha256Context, ctx->hash); ctx 785 maint/gnulib/lib/gc-gnulib.c ret = ctx->hash; ctx 791 maint/gnulib/lib/gc-gnulib.c sha512_finish_ctx (&ctx->sha512Context, ctx->hash); ctx 792 maint/gnulib/lib/gc-gnulib.c ret = ctx->hash; ctx 798 maint/gnulib/lib/gc-gnulib.c sm3_finish_ctx (&ctx->sm3Context, ctx->hash); ctx 799 maint/gnulib/lib/gc-gnulib.c ret = ctx->hash; ctx 813 maint/gnulib/lib/gc-gnulib.c _gc_hash_ctx *ctx = handle; ctx 815 maint/gnulib/lib/gc-gnulib.c free (ctx); ctx 270 maint/gnulib/lib/gc-libgcrypt.c _gc_hash_ctx *ctx; ctx 275 maint/gnulib/lib/gc-libgcrypt.c ctx = calloc (sizeof (*ctx), 1); ctx 276 maint/gnulib/lib/gc-libgcrypt.c if (!ctx) ctx 279 maint/gnulib/lib/gc-libgcrypt.c ctx->alg = hash; ctx 280 maint/gnulib/lib/gc-libgcrypt.c ctx->mode = mode; ctx 329 maint/gnulib/lib/gc-libgcrypt.c sm3_init_ctx (&ctx->sm3Context); ctx 355 maint/gnulib/lib/gc-libgcrypt.c err = gcry_md_open (&ctx->gch, gcryalg, gcrymode); ctx 361 maint/gnulib/lib/gc-libgcrypt.c *outhandle = ctx; ctx 363 maint/gnulib/lib/gc-libgcrypt.c free (ctx); ctx 448 maint/gnulib/lib/gc-libgcrypt.c _gc_hash_ctx *ctx = handle; ctx 450 maint/gnulib/lib/gc-libgcrypt.c if (ctx->alg != GC_MD2) ctx 453 maint/gnulib/lib/gc-libgcrypt.c if (ctx->alg != GC_SM3) ctx 455 maint/gnulib/lib/gc-libgcrypt.c gcry_md_setkey (ctx->gch, key, len); ctx 461 maint/gnulib/lib/gc-libgcrypt.c _gc_hash_ctx *ctx = handle; ctx 464 maint/gnulib/lib/gc-libgcrypt.c if (ctx->alg == GC_MD2) ctx 465 maint/gnulib/lib/gc-libgcrypt.c md2_process_bytes (data, len, &ctx->md2Context); ctx 469 maint/gnulib/lib/gc-libgcrypt.c if (ctx->alg == GC_SM3) ctx 470 maint/gnulib/lib/gc-libgcrypt.c sm3_process_bytes (data, len, &ctx->sm3Context); ctx 473 maint/gnulib/lib/gc-libgcrypt.c gcry_md_write (ctx->gch, data, len); ctx 479 maint/gnulib/lib/gc-libgcrypt.c _gc_hash_ctx *ctx = handle; ctx 483 maint/gnulib/lib/gc-libgcrypt.c if (ctx->alg == GC_MD2) ctx 485 maint/gnulib/lib/gc-libgcrypt.c md2_finish_ctx (&ctx->md2Context, ctx->hash); ctx 486 maint/gnulib/lib/gc-libgcrypt.c digest = ctx->hash; ctx 491 maint/gnulib/lib/gc-libgcrypt.c if (ctx->alg == GC_SM3) ctx 493 maint/gnulib/lib/gc-libgcrypt.c sm3_finish_ctx (&ctx->sm3Context, ctx->hash); ctx 494 maint/gnulib/lib/gc-libgcrypt.c digest = ctx->hash; ctx 499 maint/gnulib/lib/gc-libgcrypt.c gcry_md_final (ctx->gch); ctx 500 maint/gnulib/lib/gc-libgcrypt.c digest = (const char *) gcry_md_read (ctx->gch, 0); ctx 509 maint/gnulib/lib/gc-libgcrypt.c _gc_hash_ctx *ctx = handle; ctx 512 maint/gnulib/lib/gc-libgcrypt.c if (ctx->alg != GC_MD2) ctx 515 maint/gnulib/lib/gc-libgcrypt.c if (ctx->alg != GC_SM3) ctx 517 maint/gnulib/lib/gc-libgcrypt.c gcry_md_close (ctx->gch); ctx 519 maint/gnulib/lib/gc-libgcrypt.c free (ctx); ctx 34 maint/gnulib/lib/get-permissions.c struct permission_context *ctx) ctx 36 maint/gnulib/lib/get-permissions.c memset (ctx, 0, sizeof *ctx); ctx 37 maint/gnulib/lib/get-permissions.c ctx->mode = mode; ctx 46 maint/gnulib/lib/get-permissions.c ctx->acl = acl_get_fd (desc); ctx 48 maint/gnulib/lib/get-permissions.c ctx->acl = acl_get_file (name, ACL_TYPE_ACCESS); ctx 49 maint/gnulib/lib/get-permissions.c if (ctx->acl == NULL) ctx 58 maint/gnulib/lib/get-permissions.c ctx->default_acl = acl_get_file (name, ACL_TYPE_DEFAULT); ctx 59 maint/gnulib/lib/get-permissions.c if (ctx->default_acl == NULL) ctx 86 maint/gnulib/lib/get-permissions.c ctx->acl = acl_get_fd (desc); ctx 88 maint/gnulib/lib/get-permissions.c ctx->acl = acl_get_file (name, ACL_TYPE_EXTENDED); ctx 89 maint/gnulib/lib/get-permissions.c if (ctx->acl == NULL) ctx 128 maint/gnulib/lib/get-permissions.c ctx->ace_count = ret; ctx 130 maint/gnulib/lib/get-permissions.c if (ctx->ace_count == 0) ctx 133 maint/gnulib/lib/get-permissions.c ctx->ace_entries = (ace_t *) malloc (ctx->ace_count * sizeof (ace_t)); ctx 134 maint/gnulib/lib/get-permissions.c if (ctx->ace_entries == NULL) ctx 141 maint/gnulib/lib/get-permissions.c ret = facl (desc, ACE_GETACL, ctx->ace_count, ctx->ace_entries); ctx 143 maint/gnulib/lib/get-permissions.c ret = acl (name, ACE_GETACL, ctx->ace_count, ctx->ace_entries); ctx 148 maint/gnulib/lib/get-permissions.c free (ctx->ace_entries); ctx 149 maint/gnulib/lib/get-permissions.c ctx->ace_entries = NULL; ctx 150 maint/gnulib/lib/get-permissions.c ctx->ace_count = 0; ctx 156 maint/gnulib/lib/get-permissions.c if (ret <= ctx->ace_count) ctx 158 maint/gnulib/lib/get-permissions.c ctx->ace_count = ret; ctx 163 maint/gnulib/lib/get-permissions.c free (ctx->ace_entries); ctx 164 maint/gnulib/lib/get-permissions.c ctx->ace_entries = NULL; ctx 183 maint/gnulib/lib/get-permissions.c ctx->count = ret; ctx 185 maint/gnulib/lib/get-permissions.c if (ctx->count == 0) ctx 188 maint/gnulib/lib/get-permissions.c ctx->entries = (aclent_t *) malloc (ctx->count * sizeof (aclent_t)); ctx 189 maint/gnulib/lib/get-permissions.c if (ctx->entries == NULL) ctx 196 maint/gnulib/lib/get-permissions.c ret = facl (desc, GETACL, ctx->count, ctx->entries); ctx 198 maint/gnulib/lib/get-permissions.c ret = acl (name, GETACL, ctx->count, ctx->entries); ctx 203 maint/gnulib/lib/get-permissions.c free (ctx->entries); ctx 204 maint/gnulib/lib/get-permissions.c ctx->entries = NULL; ctx 205 maint/gnulib/lib/get-permissions.c ctx->count = 0; ctx 211 maint/gnulib/lib/get-permissions.c if (ret <= ctx->count) ctx 213 maint/gnulib/lib/get-permissions.c ctx->count = ret; ctx 218 maint/gnulib/lib/get-permissions.c free (ctx->entries); ctx 219 maint/gnulib/lib/get-permissions.c ctx->entries = NULL; ctx 228 maint/gnulib/lib/get-permissions.c ret = fgetacl (desc, NACLENTRIES, ctx->entries); ctx 230 maint/gnulib/lib/get-permissions.c ret = getacl (name, NACLENTRIES, ctx->entries); ctx 241 maint/gnulib/lib/get-permissions.c ctx->count = ret; ctx 244 maint/gnulib/lib/get-permissions.c ret = acl ((char *) name, ACL_GET, NACLVENTRIES, ctx->aclv_entries); ctx 255 maint/gnulib/lib/get-permissions.c ctx->aclv_count = ret; ctx 268 maint/gnulib/lib/get-permissions.c ret = fstatacl (desc, STX_NORMAL, &ctx->u.a, sizeof ctx->u); ctx 270 maint/gnulib/lib/get-permissions.c ret = statacl ((char *) name, STX_NORMAL, &ctx->u.a, sizeof ctx->u); ctx 272 maint/gnulib/lib/get-permissions.c ctx->have_u = true; ctx 278 maint/gnulib/lib/get-permissions.c int ret = acl ((char *) name, ACL_GET, NACLENTRIES, ctx->entries); ctx 284 maint/gnulib/lib/get-permissions.c ctx->count = ret; ctx 78 maint/gnulib/lib/gl_openssl.h GL_CRYPTO_FN (_init_ctx) (struct _gl_ctx *ctx) ctx 79 maint/gnulib/lib/gl_openssl.h { (void) OPENSSL_FN (_Init) ((_gl_CTX *) ctx); } ctx 84 maint/gnulib/lib/gl_openssl.h GL_CRYPTO_FN (_process_bytes) (const void *buf, size_t len, struct _gl_ctx *ctx) ctx 85 maint/gnulib/lib/gl_openssl.h { OPENSSL_FN (_Update) ((_gl_CTX *) ctx, buf, len); } ctx 88 maint/gnulib/lib/gl_openssl.h GL_CRYPTO_FN (_process_block) (const void *buf, size_t len, struct _gl_ctx *ctx) ctx 89 maint/gnulib/lib/gl_openssl.h { GL_CRYPTO_FN (_process_bytes) (buf, len, ctx); } ctx 93 maint/gnulib/lib/gl_openssl.h GL_CRYPTO_FN (_finish_ctx) (struct _gl_ctx *ctx, void *restrict res) ctx 94 maint/gnulib/lib/gl_openssl.h { OPENSSL_FN (_Final) ((unsigned char *) res, (_gl_CTX *) ctx); return res; } ctx 101 maint/gnulib/lib/gl_openssl.h GL_CRYPTO_FN (_read_ctx) (const struct _gl_ctx *ctx, void *restrict res) ctx 104 maint/gnulib/lib/gl_openssl.h _gl_CTX tmp_ctx = *(_gl_CTX *) ctx; ctx 44 maint/gnulib/lib/md2-stream.c struct md2_ctx ctx; ctx 52 maint/gnulib/lib/md2-stream.c md2_init_ctx (&ctx); ctx 96 maint/gnulib/lib/md2-stream.c md2_process_block (buffer, BLOCKSIZE, &ctx); ctx 103 maint/gnulib/lib/md2-stream.c md2_process_bytes (buffer, sum, &ctx); ctx 106 maint/gnulib/lib/md2-stream.c md2_finish_ctx (&ctx, resblock); ctx 38 maint/gnulib/lib/md2.c md2_init_ctx (struct md2_ctx *ctx) ctx 40 maint/gnulib/lib/md2.c memset (ctx->X, 0, sizeof (ctx->X)); ctx 41 maint/gnulib/lib/md2.c memset (ctx->chksum, 0, sizeof (ctx->chksum)); ctx 42 maint/gnulib/lib/md2.c memset (ctx->buf, 0, sizeof (ctx->buf)); ctx 43 maint/gnulib/lib/md2.c ctx->curlen = 0; ctx 49 maint/gnulib/lib/md2.c md2_read_ctx (const struct md2_ctx *ctx, void *resbuf) ctx 51 maint/gnulib/lib/md2.c memcpy (resbuf, ctx->X, 16); ctx 59 maint/gnulib/lib/md2.c md2_finish_ctx (struct md2_ctx *ctx, void *resbuf) ctx 64 maint/gnulib/lib/md2.c k = 16 - ctx->curlen; ctx 65 maint/gnulib/lib/md2.c for (i = ctx->curlen; i < 16; i++) ctx 67 maint/gnulib/lib/md2.c ctx->buf[i] = (unsigned char) k; ctx 71 maint/gnulib/lib/md2.c md2_compress (ctx); ctx 72 maint/gnulib/lib/md2.c md2_update_chksum (ctx); ctx 75 maint/gnulib/lib/md2.c memcpy (ctx->buf, ctx->chksum, 16); ctx 76 maint/gnulib/lib/md2.c md2_compress (ctx); ctx 78 maint/gnulib/lib/md2.c return md2_read_ctx (ctx, resbuf); ctx 88 maint/gnulib/lib/md2.c struct md2_ctx ctx; ctx 91 maint/gnulib/lib/md2.c md2_init_ctx (&ctx); ctx 94 maint/gnulib/lib/md2.c md2_process_block (buffer, len, &ctx); ctx 97 maint/gnulib/lib/md2.c return md2_finish_ctx (&ctx, resblock); ctx 101 maint/gnulib/lib/md2.c md2_process_bytes (const void *buffer, size_t len, struct md2_ctx *ctx) ctx 108 maint/gnulib/lib/md2.c n = MIN (len, (16 - ctx->curlen)); ctx 109 maint/gnulib/lib/md2.c memcpy (ctx->buf + ctx->curlen, in, (size_t) n); ctx 110 maint/gnulib/lib/md2.c ctx->curlen += n; ctx 115 maint/gnulib/lib/md2.c if (ctx->curlen == 16) ctx 117 maint/gnulib/lib/md2.c md2_compress (ctx); ctx 118 maint/gnulib/lib/md2.c md2_update_chksum (ctx); ctx 119 maint/gnulib/lib/md2.c ctx->curlen = 0; ctx 147 maint/gnulib/lib/md2.c md2_update_chksum (struct md2_ctx *ctx) ctx 152 maint/gnulib/lib/md2.c L = ctx->chksum[15]; ctx 157 maint/gnulib/lib/md2.c L = (ctx->chksum[j] ^= PI_SUBST[(int) (ctx->buf[j] ^ L)] & 255); ctx 162 maint/gnulib/lib/md2.c md2_compress (struct md2_ctx *ctx) ctx 170 maint/gnulib/lib/md2.c ctx->X[16 + j] = ctx->buf[j]; ctx 171 maint/gnulib/lib/md2.c ctx->X[32 + j] = ctx->X[j] ^ ctx->X[16 + j]; ctx 181 maint/gnulib/lib/md2.c t = (ctx->X[k] ^= PI_SUBST[(int) (t & 255)]); ctx 189 maint/gnulib/lib/md2.c md2_process_block (const void *buffer, size_t len, struct md2_ctx *ctx) ctx 191 maint/gnulib/lib/md2.c md2_process_bytes (buffer, len, ctx); ctx 40 maint/gnulib/lib/md2.h extern void md2_init_ctx (struct md2_ctx *ctx); ctx 47 maint/gnulib/lib/md2.h struct md2_ctx *ctx); ctx 54 maint/gnulib/lib/md2.h struct md2_ctx *ctx); ctx 60 maint/gnulib/lib/md2.h extern void *md2_finish_ctx (struct md2_ctx *ctx, void *restrict resbuf); ctx 66 maint/gnulib/lib/md2.h extern void *md2_read_ctx (const struct md2_ctx *ctx, void *restrict resbuf); ctx 44 maint/gnulib/lib/md4-stream.c struct md4_ctx ctx; ctx 52 maint/gnulib/lib/md4-stream.c md4_init_ctx (&ctx); ctx 96 maint/gnulib/lib/md4-stream.c md4_process_block (buffer, BLOCKSIZE, &ctx); ctx 103 maint/gnulib/lib/md4-stream.c md4_process_bytes (buffer, sum, &ctx); ctx 106 maint/gnulib/lib/md4-stream.c md4_finish_ctx (&ctx, resblock); ctx 47 maint/gnulib/lib/md4.c md4_init_ctx (struct md4_ctx *ctx) ctx 49 maint/gnulib/lib/md4.c ctx->A = 0x67452301; ctx 50 maint/gnulib/lib/md4.c ctx->B = 0xefcdab89; ctx 51 maint/gnulib/lib/md4.c ctx->C = 0x98badcfe; ctx 52 maint/gnulib/lib/md4.c ctx->D = 0x10325476; ctx 54 maint/gnulib/lib/md4.c ctx->total[0] = ctx->total[1] = 0; ctx 55 maint/gnulib/lib/md4.c ctx->buflen = 0; ctx 70 maint/gnulib/lib/md4.c md4_read_ctx (const struct md4_ctx *ctx, void *resbuf) ctx 73 maint/gnulib/lib/md4.c set_uint32 (r + 0 * sizeof ctx->A, SWAP (ctx->A)); ctx 74 maint/gnulib/lib/md4.c set_uint32 (r + 1 * sizeof ctx->B, SWAP (ctx->B)); ctx 75 maint/gnulib/lib/md4.c set_uint32 (r + 2 * sizeof ctx->C, SWAP (ctx->C)); ctx 76 maint/gnulib/lib/md4.c set_uint32 (r + 3 * sizeof ctx->D, SWAP (ctx->D)); ctx 84 maint/gnulib/lib/md4.c md4_finish_ctx (struct md4_ctx *ctx, void *resbuf) ctx 87 maint/gnulib/lib/md4.c uint32_t bytes = ctx->buflen; ctx 91 maint/gnulib/lib/md4.c ctx->total[0] += bytes; ctx 92 maint/gnulib/lib/md4.c if (ctx->total[0] < bytes) ctx 93 maint/gnulib/lib/md4.c ++ctx->total[1]; ctx 96 maint/gnulib/lib/md4.c memcpy (&((char*)ctx->buffer)[bytes], fillbuf, pad); ctx 99 maint/gnulib/lib/md4.c ctx->buffer[(bytes + pad) / 4] = SWAP (ctx->total[0] << 3); ctx 100 maint/gnulib/lib/md4.c ctx->buffer[(bytes + pad) / 4 + 1] = SWAP ((ctx->total[1] << 3) | ctx 101 maint/gnulib/lib/md4.c (ctx->total[0] >> 29)); ctx 104 maint/gnulib/lib/md4.c md4_process_block (ctx->buffer, bytes + pad + 8, ctx); ctx 106 maint/gnulib/lib/md4.c return md4_read_ctx (ctx, resbuf); ctx 116 maint/gnulib/lib/md4.c struct md4_ctx ctx; ctx 119 maint/gnulib/lib/md4.c md4_init_ctx (&ctx); ctx 122 maint/gnulib/lib/md4.c md4_process_bytes (buffer, len, &ctx); ctx 125 maint/gnulib/lib/md4.c return md4_finish_ctx (&ctx, resblock); ctx 129 maint/gnulib/lib/md4.c md4_process_bytes (const void *buffer, size_t len, struct md4_ctx *ctx) ctx 133 maint/gnulib/lib/md4.c if (ctx->buflen != 0) ctx 135 maint/gnulib/lib/md4.c size_t left_over = ctx->buflen; ctx 138 maint/gnulib/lib/md4.c memcpy (&((char*)ctx->buffer)[left_over], buffer, add); ctx 139 maint/gnulib/lib/md4.c ctx->buflen += add; ctx 141 maint/gnulib/lib/md4.c if (ctx->buflen > 64) ctx 143 maint/gnulib/lib/md4.c md4_process_block (ctx->buffer, ctx->buflen & ~63, ctx); ctx 145 maint/gnulib/lib/md4.c ctx->buflen &= 63; ctx 147 maint/gnulib/lib/md4.c memcpy (ctx->buffer, &((char*)ctx->buffer)[(left_over + add) & ~63], ctx 148 maint/gnulib/lib/md4.c ctx->buflen); ctx 163 maint/gnulib/lib/md4.c md4_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx); ctx 170 maint/gnulib/lib/md4.c md4_process_block (buffer, len & ~63, ctx); ctx 179 maint/gnulib/lib/md4.c size_t left_over = ctx->buflen; ctx 181 maint/gnulib/lib/md4.c memcpy (&((char*)ctx->buffer)[left_over], buffer, len); ctx 185 maint/gnulib/lib/md4.c md4_process_block (ctx->buffer, 64, ctx); ctx 187 maint/gnulib/lib/md4.c memcpy (ctx->buffer, &ctx->buffer[16], left_over); ctx 189 maint/gnulib/lib/md4.c ctx->buflen = left_over; ctx 212 maint/gnulib/lib/md4.c md4_process_block (const void *buffer, size_t len, struct md4_ctx *ctx) ctx 218 maint/gnulib/lib/md4.c uint32_t A = ctx->A; ctx 219 maint/gnulib/lib/md4.c uint32_t B = ctx->B; ctx 220 maint/gnulib/lib/md4.c uint32_t C = ctx->C; ctx 221 maint/gnulib/lib/md4.c uint32_t D = ctx->D; ctx 227 maint/gnulib/lib/md4.c ctx->total[0] += lolen; ctx 228 maint/gnulib/lib/md4.c ctx->total[1] += (len >> 31 >> 1) + (ctx->total[0] < lolen); ctx 295 maint/gnulib/lib/md4.c A = ctx->A += A; ctx 296 maint/gnulib/lib/md4.c B = ctx->B += B; ctx 297 maint/gnulib/lib/md4.c C = ctx->C += C; ctx 298 maint/gnulib/lib/md4.c D = ctx->D += D; ctx 46 maint/gnulib/lib/md4.h extern void md4_init_ctx (struct md4_ctx *ctx); ctx 53 maint/gnulib/lib/md4.h struct md4_ctx *ctx); ctx 60 maint/gnulib/lib/md4.h struct md4_ctx *ctx); ctx 66 maint/gnulib/lib/md4.h extern void *md4_finish_ctx (struct md4_ctx *ctx, void *restrict resbuf); ctx 72 maint/gnulib/lib/md4.h extern void *md4_read_ctx (const struct md4_ctx *ctx, void *restrict resbuf); ctx 73 maint/gnulib/lib/md5-stream.c struct md5_ctx ctx; ctx 74 maint/gnulib/lib/md5-stream.c md5_init_ctx (&ctx); ctx 121 maint/gnulib/lib/md5-stream.c md5_process_block (buffer, BLOCKSIZE, &ctx); ctx 128 maint/gnulib/lib/md5-stream.c md5_process_bytes (buffer, sum, &ctx); ctx 131 maint/gnulib/lib/md5-stream.c md5_finish_ctx (&ctx, resblock); ctx 67 maint/gnulib/lib/md5.c md5_init_ctx (struct md5_ctx *ctx) ctx 69 maint/gnulib/lib/md5.c ctx->A = 0x67452301; ctx 70 maint/gnulib/lib/md5.c ctx->B = 0xefcdab89; ctx 71 maint/gnulib/lib/md5.c ctx->C = 0x98badcfe; ctx 72 maint/gnulib/lib/md5.c ctx->D = 0x10325476; ctx 74 maint/gnulib/lib/md5.c ctx->total[0] = ctx->total[1] = 0; ctx 75 maint/gnulib/lib/md5.c ctx->buflen = 0; ctx 90 maint/gnulib/lib/md5.c md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) ctx 93 maint/gnulib/lib/md5.c set_uint32 (r + 0 * sizeof ctx->A, SWAP (ctx->A)); ctx 94 maint/gnulib/lib/md5.c set_uint32 (r + 1 * sizeof ctx->B, SWAP (ctx->B)); ctx 95 maint/gnulib/lib/md5.c set_uint32 (r + 2 * sizeof ctx->C, SWAP (ctx->C)); ctx 96 maint/gnulib/lib/md5.c set_uint32 (r + 3 * sizeof ctx->D, SWAP (ctx->D)); ctx 104 maint/gnulib/lib/md5.c md5_finish_ctx (struct md5_ctx *ctx, void *resbuf) ctx 107 maint/gnulib/lib/md5.c uint32_t bytes = ctx->buflen; ctx 111 maint/gnulib/lib/md5.c ctx->total[0] += bytes; ctx 112 maint/gnulib/lib/md5.c if (ctx->total[0] < bytes) ctx 113 maint/gnulib/lib/md5.c ++ctx->total[1]; ctx 116 maint/gnulib/lib/md5.c ctx->buffer[size - 2] = SWAP (ctx->total[0] << 3); ctx 117 maint/gnulib/lib/md5.c ctx->buffer[size - 1] = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29)); ctx 119 maint/gnulib/lib/md5.c memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes); ctx 122 maint/gnulib/lib/md5.c md5_process_block (ctx->buffer, size * 4, ctx); ctx 124 maint/gnulib/lib/md5.c return md5_read_ctx (ctx, resbuf); ctx 134 maint/gnulib/lib/md5.c struct md5_ctx ctx; ctx 137 maint/gnulib/lib/md5.c md5_init_ctx (&ctx); ctx 140 maint/gnulib/lib/md5.c md5_process_bytes (buffer, len, &ctx); ctx 143 maint/gnulib/lib/md5.c return md5_finish_ctx (&ctx, resblock); ctx 148 maint/gnulib/lib/md5.c md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx) ctx 152 maint/gnulib/lib/md5.c if (ctx->buflen != 0) ctx 154 maint/gnulib/lib/md5.c size_t left_over = ctx->buflen; ctx 157 maint/gnulib/lib/md5.c memcpy (&((char *) ctx->buffer)[left_over], buffer, add); ctx 158 maint/gnulib/lib/md5.c ctx->buflen += add; ctx 160 maint/gnulib/lib/md5.c if (ctx->buflen > 64) ctx 162 maint/gnulib/lib/md5.c md5_process_block (ctx->buffer, ctx->buflen & ~63, ctx); ctx 164 maint/gnulib/lib/md5.c ctx->buflen &= 63; ctx 167 maint/gnulib/lib/md5.c memcpy (ctx->buffer, ctx 168 maint/gnulib/lib/md5.c &((char *) ctx->buffer)[(left_over + add) & ~63], ctx 169 maint/gnulib/lib/md5.c ctx->buflen); ctx 184 maint/gnulib/lib/md5.c md5_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx); ctx 191 maint/gnulib/lib/md5.c md5_process_block (buffer, len & ~63, ctx); ctx 200 maint/gnulib/lib/md5.c size_t left_over = ctx->buflen; ctx 202 maint/gnulib/lib/md5.c memcpy (&((char *) ctx->buffer)[left_over], buffer, len); ctx 206 maint/gnulib/lib/md5.c md5_process_block (ctx->buffer, 64, ctx); ctx 210 maint/gnulib/lib/md5.c memcpy (ctx->buffer, &ctx->buffer[16], left_over); ctx 212 maint/gnulib/lib/md5.c ctx->buflen = left_over; ctx 230 maint/gnulib/lib/md5.c md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx) ctx 236 maint/gnulib/lib/md5.c uint32_t A = ctx->A; ctx 237 maint/gnulib/lib/md5.c uint32_t B = ctx->B; ctx 238 maint/gnulib/lib/md5.c uint32_t C = ctx->C; ctx 239 maint/gnulib/lib/md5.c uint32_t D = ctx->D; ctx 245 maint/gnulib/lib/md5.c ctx->total[0] += lolen; ctx 246 maint/gnulib/lib/md5.c ctx->total[1] += (len >> 31 >> 1) + (ctx->total[0] < lolen); ctx 382 maint/gnulib/lib/md5.c ctx->A = A; ctx 383 maint/gnulib/lib/md5.c ctx->B = B; ctx 384 maint/gnulib/lib/md5.c ctx->C = C; ctx 385 maint/gnulib/lib/md5.c ctx->D = D; ctx 88 maint/gnulib/lib/md5.h extern void __md5_init_ctx (struct md5_ctx *ctx) __THROW; ctx 95 maint/gnulib/lib/md5.h struct md5_ctx *ctx) __THROW; ctx 102 maint/gnulib/lib/md5.h struct md5_ctx *ctx) __THROW; ctx 108 maint/gnulib/lib/md5.h extern void *__md5_finish_ctx (struct md5_ctx *ctx, void *restrict resbuf) ctx 115 maint/gnulib/lib/md5.h extern void *__md5_read_ctx (const struct md5_ctx *ctx, void *restrict resbuf) ctx 42 maint/gnulib/lib/qcopy-acl.c struct permission_context ctx; ctx 45 maint/gnulib/lib/qcopy-acl.c ret = get_permissions (src_name, source_desc, mode, &ctx); ctx 48 maint/gnulib/lib/qcopy-acl.c ret = set_permissions (&ctx, dst_name, dest_desc); ctx 49 maint/gnulib/lib/qcopy-acl.c free_permission_context (&ctx); ctx 41 maint/gnulib/lib/qset-acl.c struct permission_context ctx; ctx 44 maint/gnulib/lib/qset-acl.c memset (&ctx, 0, sizeof ctx); ctx 45 maint/gnulib/lib/qset-acl.c ctx.mode = mode; ctx 46 maint/gnulib/lib/qset-acl.c ret = set_permissions (&ctx, name, desc); ctx 47 maint/gnulib/lib/qset-acl.c free_permission_context (&ctx); ctx 278 maint/gnulib/lib/set-permissions.c context_acl_from_mode (struct permission_context *ctx, const char *name, int desc) ctx 290 maint/gnulib/lib/set-permissions.c ctx->entries[0].uid = statbuf.st_uid; ctx 291 maint/gnulib/lib/set-permissions.c ctx->entries[0].gid = ACL_NSGROUP; ctx 292 maint/gnulib/lib/set-permissions.c ctx->entries[0].mode = (ctx->mode >> 6) & 7; ctx 293 maint/gnulib/lib/set-permissions.c ctx->entries[1].uid = ACL_NSUSER; ctx 294 maint/gnulib/lib/set-permissions.c ctx->entries[1].gid = statbuf.st_gid; ctx 295 maint/gnulib/lib/set-permissions.c ctx->entries[1].mode = (ctx->mode >> 3) & 7; ctx 296 maint/gnulib/lib/set-permissions.c ctx->entries[2].uid = ACL_NSUSER; ctx 297 maint/gnulib/lib/set-permissions.c ctx->entries[2].gid = ACL_NSGROUP; ctx 298 maint/gnulib/lib/set-permissions.c ctx->entries[2].mode = ctx->mode & 7; ctx 299 maint/gnulib/lib/set-permissions.c ctx->count = 3; ctx 305 maint/gnulib/lib/set-permissions.c context_aclv_from_mode (struct permission_context *ctx) ctx 309 maint/gnulib/lib/set-permissions.c ctx->aclv_entries[0].a_type = USER_OBJ; ctx 310 maint/gnulib/lib/set-permissions.c ctx->aclv_entries[0].a_id = 0; /* irrelevant */ ctx 311 maint/gnulib/lib/set-permissions.c ctx->aclv_entries[0].a_perm = (ctx->mode >> 6) & 7; ctx 312 maint/gnulib/lib/set-permissions.c ctx->aclv_entries[1].a_type = GROUP_OBJ; ctx 313 maint/gnulib/lib/set-permissions.c ctx->aclv_entries[1].a_id = 0; /* irrelevant */ ctx 314 maint/gnulib/lib/set-permissions.c ctx->aclv_entries[1].a_perm = (ctx->mode >> 3) & 7; ctx 315 maint/gnulib/lib/set-permissions.c ctx->aclv_entries[2].a_type = CLASS_OBJ; ctx 316 maint/gnulib/lib/set-permissions.c ctx->aclv_entries[2].a_id = 0; ctx 317 maint/gnulib/lib/set-permissions.c ctx->aclv_entries[2].a_perm = (ctx->mode >> 3) & 7; ctx 318 maint/gnulib/lib/set-permissions.c ctx->aclv_entries[3].a_type = OTHER_OBJ; ctx 319 maint/gnulib/lib/set-permissions.c ctx->aclv_entries[3].a_id = 0; ctx 320 maint/gnulib/lib/set-permissions.c ctx->aclv_entries[3].a_perm = ctx->mode & 7; ctx 321 maint/gnulib/lib/set-permissions.c ctx->aclv_count = 4; ctx 323 maint/gnulib/lib/set-permissions.c ret = aclsort (ctx->aclv_count, 1, ctx->aclv_entries); ctx 446 maint/gnulib/lib/set-permissions.c context_acl_from_mode (struct permission_context *ctx) ctx 448 maint/gnulib/lib/set-permissions.c ctx->u.a.acl_len = (char *) &ctx->u.a.acl_ext[0] - (char *) &ctx->u.a; /* no entries */ ctx 449 maint/gnulib/lib/set-permissions.c ctx->u.a.acl_mode = ctx->mode & ~(S_IXACL | 0777); ctx 450 maint/gnulib/lib/set-permissions.c ctx->u.a.u_access = (ctx->mode >> 6) & 7; ctx 451 maint/gnulib/lib/set-permissions.c ctx->u.a.g_access = (ctx->mode >> 3) & 7; ctx 452 maint/gnulib/lib/set-permissions.c ctx->u.a.o_access = ctx->mode & 7; ctx 453 maint/gnulib/lib/set-permissions.c ctx->have_u = true; ctx 459 maint/gnulib/lib/set-permissions.c context_acl_from_mode (struct permission_context *ctx) ctx 463 maint/gnulib/lib/set-permissions.c ctx->entries[0].a_type = USER_OBJ; ctx 464 maint/gnulib/lib/set-permissions.c ctx->entries[0].a_id = 0; /* irrelevant */ ctx 465 maint/gnulib/lib/set-permissions.c ctx->entries[0].a_perm = (ctx->mode >> 6) & 7; ctx 466 maint/gnulib/lib/set-permissions.c ctx->entries[1].a_type = GROUP_OBJ; ctx 467 maint/gnulib/lib/set-permissions.c ctx->entries[1].a_id = 0; /* irrelevant */ ctx 468 maint/gnulib/lib/set-permissions.c ctx->entries[1].a_perm = (ctx->mode >> 3) & 7; ctx 469 maint/gnulib/lib/set-permissions.c ctx->entries[2].a_type = CLASS_OBJ; ctx 470 maint/gnulib/lib/set-permissions.c ctx->entries[2].a_id = 0; ctx 471 maint/gnulib/lib/set-permissions.c ctx->entries[2].a_perm = (ctx->mode >> 3) & 7; ctx 472 maint/gnulib/lib/set-permissions.c ctx->entries[3].a_type = OTHER_OBJ; ctx 473 maint/gnulib/lib/set-permissions.c ctx->entries[3].a_id = 0; ctx 474 maint/gnulib/lib/set-permissions.c ctx->entries[3].a_perm = ctx->mode & 7; ctx 475 maint/gnulib/lib/set-permissions.c ctx->count = 4; ctx 477 maint/gnulib/lib/set-permissions.c ret = aclsort (ctx->count, 1, entries); ctx 485 maint/gnulib/lib/set-permissions.c set_acls (struct permission_context *ctx, const char *name, int desc, ctx 503 maint/gnulib/lib/set-permissions.c if (! ctx->acls_not_supported) ctx 507 maint/gnulib/lib/set-permissions.c if (ctx->acl) ctx 508 maint/gnulib/lib/set-permissions.c acl_free (ctx->acl); ctx 509 maint/gnulib/lib/set-permissions.c ctx->acl = acl_from_mode (ctx->mode); ctx 510 maint/gnulib/lib/set-permissions.c if (ctx->acl == NULL) ctx 514 maint/gnulib/lib/set-permissions.c if (ret == 0 && ctx->acl) ctx 517 maint/gnulib/lib/set-permissions.c ret = acl_set_fd (desc, ctx->acl); ctx 519 maint/gnulib/lib/set-permissions.c ret = acl_set_file (name, ACL_TYPE_ACCESS, ctx->acl); ctx 524 maint/gnulib/lib/set-permissions.c ctx->acls_not_supported = true; ctx 525 maint/gnulib/lib/set-permissions.c if (from_mode || acl_access_nontrivial (ctx->acl) == 0) ctx 532 maint/gnulib/lib/set-permissions.c if (S_ISDIR(ctx->mode)) ctx 534 maint/gnulib/lib/set-permissions.c if (! from_mode && ctx->default_acl && ctx 535 maint/gnulib/lib/set-permissions.c acl_default_nontrivial (ctx->default_acl)) ctx 537 maint/gnulib/lib/set-permissions.c ctx->default_acl); ctx 570 maint/gnulib/lib/set-permissions.c if (ctx->acl == NULL) ctx 599 maint/gnulib/lib/set-permissions.c ret = acl_set_fd (desc, ctx->acl); ctx 601 maint/gnulib/lib/set-permissions.c ret = acl_set_file (name, ACL_TYPE_EXTENDED, ctx->acl); ctx 605 maint/gnulib/lib/set-permissions.c && ! acl_extended_nontrivial (ctx->acl)) ctx 624 maint/gnulib/lib/set-permissions.c return set_acls_from_mode (name, desc, ctx->mode, must_chmod); ctx 626 maint/gnulib/lib/set-permissions.c if (ret == 0 && ctx->count) ctx 629 maint/gnulib/lib/set-permissions.c ret = facl (desc, SETACL, ctx->count, ctx->entries); ctx 631 maint/gnulib/lib/set-permissions.c ret = acl (name, SETACL, ctx->count, ctx->entries); ctx 635 maint/gnulib/lib/set-permissions.c && acl_nontrivial (ctx->count, ctx->entries) == 0) ctx 643 maint/gnulib/lib/set-permissions.c if (ret == 0 && ctx->ace_count) ctx 646 maint/gnulib/lib/set-permissions.c ret = facl (desc, ACE_SETACL, ctx->ace_count, ctx->ace_entries); ctx 648 maint/gnulib/lib/set-permissions.c ret = acl (name, ACE_SETACL, ctx->ace_count, ctx->ace_entries); ctx 652 maint/gnulib/lib/set-permissions.c && acl_ace_nontrivial (ctx->ace_count, ctx->ace_entries) == 0) ctx 663 maint/gnulib/lib/set-permissions.c ret = context_acl_from_mode (ctx, name, desc); ctx 665 maint/gnulib/lib/set-permissions.c if (ret == 0 && ctx->count > 0) ctx 668 maint/gnulib/lib/set-permissions.c ret = fsetacl (desc, ctx->count, ctx->entries); ctx 670 maint/gnulib/lib/set-permissions.c ret = setacl (name, ctx->count, ctx->entries); ctx 674 maint/gnulib/lib/set-permissions.c && (from_mode || !acl_nontrivial (ctx->count, ctx->entries))) ctx 683 maint/gnulib/lib/set-permissions.c ret = context_aclv_from_mode (ctx); ctx 685 maint/gnulib/lib/set-permissions.c if (ret == 0 && ctx->aclv_count > 0) ctx 687 maint/gnulib/lib/set-permissions.c ret = acl ((char *) name, ACL_SET, ctx->aclv_count, ctx->aclv_entries); ctx 691 maint/gnulib/lib/set-permissions.c && (from_mode || !aclv_nontrivial (ctx->aclv_count, ctx->aclv_entries))) ctx 709 maint/gnulib/lib/set-permissions.c ret = context_acl_from_mode (ctx); ctx 711 maint/gnulib/lib/set-permissions.c if (ret == 0 && ctx->have_u) ctx 714 maint/gnulib/lib/set-permissions.c ret = fchacl (desc, &ctx->u.a, ctx->u.a.acl_len); ctx 716 maint/gnulib/lib/set-permissions.c ret = chacl ((char *) name, &ctx->u.a, ctx->u.a.acl_len); ctx 729 maint/gnulib/lib/set-permissions.c ret = context_acl_from_mode (ctx); ctx 731 maint/gnulib/lib/set-permissions.c if (ret == 0 && ctx->count) ctx 733 maint/gnulib/lib/set-permissions.c ret = acl ((char *) name, ACL_SET, ctx->count, ctx->entries); ctx 736 maint/gnulib/lib/set-permissions.c if (!acl_nontrivial (ctx->count, ctx->entries)) ctx 776 maint/gnulib/lib/set-permissions.c set_permissions (struct permission_context *ctx, const char *name, int desc) ctx 796 maint/gnulib/lib/set-permissions.c early_chmod = (! MODE_INSIDE_ACL || (ctx->mode & (S_ISUID | S_ISGID | S_ISVTX))); ctx 806 maint/gnulib/lib/set-permissions.c ret = chmod_or_fchmod (name, desc, ctx->mode); ctx 812 maint/gnulib/lib/set-permissions.c ret = set_acls (ctx, name, desc, false, &must_chmod, &acls_set); ctx 821 maint/gnulib/lib/set-permissions.c ret = set_acls (ctx, name, desc, true, &must_chmod, &acls_set); ctx 837 maint/gnulib/lib/set-permissions.c ret = chmod_or_fchmod (name, desc, ctx->mode); ctx 61 maint/gnulib/lib/sha1-stream.c struct sha1_ctx ctx; ctx 62 maint/gnulib/lib/sha1-stream.c sha1_init_ctx (&ctx); ctx 109 maint/gnulib/lib/sha1-stream.c sha1_process_block (buffer, BLOCKSIZE, &ctx); ctx 116 maint/gnulib/lib/sha1-stream.c sha1_process_bytes (buffer, sum, &ctx); ctx 119 maint/gnulib/lib/sha1-stream.c sha1_finish_ctx (&ctx, resblock); ctx 54 maint/gnulib/lib/sha1.c sha1_init_ctx (struct sha1_ctx *ctx) ctx 56 maint/gnulib/lib/sha1.c ctx->A = 0x67452301; ctx 57 maint/gnulib/lib/sha1.c ctx->B = 0xefcdab89; ctx 58 maint/gnulib/lib/sha1.c ctx->C = 0x98badcfe; ctx 59 maint/gnulib/lib/sha1.c ctx->D = 0x10325476; ctx 60 maint/gnulib/lib/sha1.c ctx->E = 0xc3d2e1f0; ctx 62 maint/gnulib/lib/sha1.c ctx->total[0] = ctx->total[1] = 0; ctx 63 maint/gnulib/lib/sha1.c ctx->buflen = 0; ctx 78 maint/gnulib/lib/sha1.c sha1_read_ctx (const struct sha1_ctx *ctx, void *resbuf) ctx 81 maint/gnulib/lib/sha1.c set_uint32 (r + 0 * sizeof ctx->A, SWAP (ctx->A)); ctx 82 maint/gnulib/lib/sha1.c set_uint32 (r + 1 * sizeof ctx->B, SWAP (ctx->B)); ctx 83 maint/gnulib/lib/sha1.c set_uint32 (r + 2 * sizeof ctx->C, SWAP (ctx->C)); ctx 84 maint/gnulib/lib/sha1.c set_uint32 (r + 3 * sizeof ctx->D, SWAP (ctx->D)); ctx 85 maint/gnulib/lib/sha1.c set_uint32 (r + 4 * sizeof ctx->E, SWAP (ctx->E)); ctx 93 maint/gnulib/lib/sha1.c sha1_finish_ctx (struct sha1_ctx *ctx, void *resbuf) ctx 96 maint/gnulib/lib/sha1.c uint32_t bytes = ctx->buflen; ctx 100 maint/gnulib/lib/sha1.c ctx->total[0] += bytes; ctx 101 maint/gnulib/lib/sha1.c if (ctx->total[0] < bytes) ctx 102 maint/gnulib/lib/sha1.c ++ctx->total[1]; ctx 105 maint/gnulib/lib/sha1.c ctx->buffer[size - 2] = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29)); ctx 106 maint/gnulib/lib/sha1.c ctx->buffer[size - 1] = SWAP (ctx->total[0] << 3); ctx 108 maint/gnulib/lib/sha1.c memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes); ctx 111 maint/gnulib/lib/sha1.c sha1_process_block (ctx->buffer, size * 4, ctx); ctx 113 maint/gnulib/lib/sha1.c return sha1_read_ctx (ctx, resbuf); ctx 123 maint/gnulib/lib/sha1.c struct sha1_ctx ctx; ctx 126 maint/gnulib/lib/sha1.c sha1_init_ctx (&ctx); ctx 129 maint/gnulib/lib/sha1.c sha1_process_bytes (buffer, len, &ctx); ctx 132 maint/gnulib/lib/sha1.c return sha1_finish_ctx (&ctx, resblock); ctx 136 maint/gnulib/lib/sha1.c sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx) ctx 140 maint/gnulib/lib/sha1.c if (ctx->buflen != 0) ctx 142 maint/gnulib/lib/sha1.c size_t left_over = ctx->buflen; ctx 145 maint/gnulib/lib/sha1.c memcpy (&((char *) ctx->buffer)[left_over], buffer, add); ctx 146 maint/gnulib/lib/sha1.c ctx->buflen += add; ctx 148 maint/gnulib/lib/sha1.c if (ctx->buflen > 64) ctx 150 maint/gnulib/lib/sha1.c sha1_process_block (ctx->buffer, ctx->buflen & ~63, ctx); ctx 152 maint/gnulib/lib/sha1.c ctx->buflen &= 63; ctx 155 maint/gnulib/lib/sha1.c memcpy (ctx->buffer, ctx 156 maint/gnulib/lib/sha1.c &((char *) ctx->buffer)[(left_over + add) & ~63], ctx 157 maint/gnulib/lib/sha1.c ctx->buflen); ctx 172 maint/gnulib/lib/sha1.c sha1_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx); ctx 179 maint/gnulib/lib/sha1.c sha1_process_block (buffer, len & ~63, ctx); ctx 188 maint/gnulib/lib/sha1.c size_t left_over = ctx->buflen; ctx 190 maint/gnulib/lib/sha1.c memcpy (&((char *) ctx->buffer)[left_over], buffer, len); ctx 194 maint/gnulib/lib/sha1.c sha1_process_block (ctx->buffer, 64, ctx); ctx 198 maint/gnulib/lib/sha1.c memcpy (ctx->buffer, &ctx->buffer[16], left_over); ctx 200 maint/gnulib/lib/sha1.c ctx->buflen = left_over; ctx 223 maint/gnulib/lib/sha1.c sha1_process_block (const void *buffer, size_t len, struct sha1_ctx *ctx) ctx 229 maint/gnulib/lib/sha1.c uint32_t a = ctx->A; ctx 230 maint/gnulib/lib/sha1.c uint32_t b = ctx->B; ctx 231 maint/gnulib/lib/sha1.c uint32_t c = ctx->C; ctx 232 maint/gnulib/lib/sha1.c uint32_t d = ctx->D; ctx 233 maint/gnulib/lib/sha1.c uint32_t e = ctx->E; ctx 239 maint/gnulib/lib/sha1.c ctx->total[0] += lolen; ctx 240 maint/gnulib/lib/sha1.c ctx->total[1] += (len >> 31 >> 1) + (ctx->total[0] < lolen); ctx 346 maint/gnulib/lib/sha1.c a = ctx->A += a; ctx 347 maint/gnulib/lib/sha1.c b = ctx->B += b; ctx 348 maint/gnulib/lib/sha1.c c = ctx->C += c; ctx 349 maint/gnulib/lib/sha1.c d = ctx->D += d; ctx 350 maint/gnulib/lib/sha1.c e = ctx->E += e; ctx 54 maint/gnulib/lib/sha1.h extern void sha1_init_ctx (struct sha1_ctx *ctx); ctx 61 maint/gnulib/lib/sha1.h struct sha1_ctx *ctx); ctx 68 maint/gnulib/lib/sha1.h struct sha1_ctx *ctx); ctx 74 maint/gnulib/lib/sha1.h extern void *sha1_finish_ctx (struct sha1_ctx *ctx, void *restrict resbuf); ctx 80 maint/gnulib/lib/sha1.h extern void *sha1_read_ctx (const struct sha1_ctx *ctx, void *restrict resbuf); ctx 63 maint/gnulib/lib/sha256-stream.c struct sha256_ctx ctx; ctx 64 maint/gnulib/lib/sha256-stream.c init_ctx (&ctx); ctx 111 maint/gnulib/lib/sha256-stream.c sha256_process_block (buffer, BLOCKSIZE, &ctx); ctx 118 maint/gnulib/lib/sha256-stream.c sha256_process_bytes (buffer, sum, &ctx); ctx 121 maint/gnulib/lib/sha256-stream.c finish_ctx (&ctx, resblock); ctx 55 maint/gnulib/lib/sha256.c sha256_init_ctx (struct sha256_ctx *ctx) ctx 57 maint/gnulib/lib/sha256.c ctx->state[0] = 0x6a09e667UL; ctx 58 maint/gnulib/lib/sha256.c ctx->state[1] = 0xbb67ae85UL; ctx 59 maint/gnulib/lib/sha256.c ctx->state[2] = 0x3c6ef372UL; ctx 60 maint/gnulib/lib/sha256.c ctx->state[3] = 0xa54ff53aUL; ctx 61 maint/gnulib/lib/sha256.c ctx->state[4] = 0x510e527fUL; ctx 62 maint/gnulib/lib/sha256.c ctx->state[5] = 0x9b05688cUL; ctx 63 maint/gnulib/lib/sha256.c ctx->state[6] = 0x1f83d9abUL; ctx 64 maint/gnulib/lib/sha256.c ctx->state[7] = 0x5be0cd19UL; ctx 66 maint/gnulib/lib/sha256.c ctx->total[0] = ctx->total[1] = 0; ctx 67 maint/gnulib/lib/sha256.c ctx->buflen = 0; ctx 71 maint/gnulib/lib/sha256.c sha224_init_ctx (struct sha256_ctx *ctx) ctx 73 maint/gnulib/lib/sha256.c ctx->state[0] = 0xc1059ed8UL; ctx 74 maint/gnulib/lib/sha256.c ctx->state[1] = 0x367cd507UL; ctx 75 maint/gnulib/lib/sha256.c ctx->state[2] = 0x3070dd17UL; ctx 76 maint/gnulib/lib/sha256.c ctx->state[3] = 0xf70e5939UL; ctx 77 maint/gnulib/lib/sha256.c ctx->state[4] = 0xffc00b31UL; ctx 78 maint/gnulib/lib/sha256.c ctx->state[5] = 0x68581511UL; ctx 79 maint/gnulib/lib/sha256.c ctx->state[6] = 0x64f98fa7UL; ctx 80 maint/gnulib/lib/sha256.c ctx->state[7] = 0xbefa4fa4UL; ctx 82 maint/gnulib/lib/sha256.c ctx->total[0] = ctx->total[1] = 0; ctx 83 maint/gnulib/lib/sha256.c ctx->buflen = 0; ctx 98 maint/gnulib/lib/sha256.c sha256_read_ctx (const struct sha256_ctx *ctx, void *resbuf) ctx 104 maint/gnulib/lib/sha256.c set_uint32 (r + i * sizeof ctx->state[0], SWAP (ctx->state[i])); ctx 110 maint/gnulib/lib/sha256.c sha224_read_ctx (const struct sha256_ctx *ctx, void *resbuf) ctx 116 maint/gnulib/lib/sha256.c set_uint32 (r + i * sizeof ctx->state[0], SWAP (ctx->state[i])); ctx 124 maint/gnulib/lib/sha256.c sha256_conclude_ctx (struct sha256_ctx *ctx) ctx 127 maint/gnulib/lib/sha256.c size_t bytes = ctx->buflen; ctx 131 maint/gnulib/lib/sha256.c ctx->total[0] += bytes; ctx 132 maint/gnulib/lib/sha256.c if (ctx->total[0] < bytes) ctx 133 maint/gnulib/lib/sha256.c ++ctx->total[1]; ctx 138 maint/gnulib/lib/sha256.c set_uint32 ((char *) &ctx->buffer[size - 2], ctx 139 maint/gnulib/lib/sha256.c SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29))); ctx 140 maint/gnulib/lib/sha256.c set_uint32 ((char *) &ctx->buffer[size - 1], ctx 141 maint/gnulib/lib/sha256.c SWAP (ctx->total[0] << 3)); ctx 143 maint/gnulib/lib/sha256.c memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes); ctx 146 maint/gnulib/lib/sha256.c sha256_process_block (ctx->buffer, size * 4, ctx); ctx 150 maint/gnulib/lib/sha256.c sha256_finish_ctx (struct sha256_ctx *ctx, void *resbuf) ctx 152 maint/gnulib/lib/sha256.c sha256_conclude_ctx (ctx); ctx 153 maint/gnulib/lib/sha256.c return sha256_read_ctx (ctx, resbuf); ctx 157 maint/gnulib/lib/sha256.c sha224_finish_ctx (struct sha256_ctx *ctx, void *resbuf) ctx 159 maint/gnulib/lib/sha256.c sha256_conclude_ctx (ctx); ctx 160 maint/gnulib/lib/sha256.c return sha224_read_ctx (ctx, resbuf); ctx 170 maint/gnulib/lib/sha256.c struct sha256_ctx ctx; ctx 173 maint/gnulib/lib/sha256.c sha256_init_ctx (&ctx); ctx 176 maint/gnulib/lib/sha256.c sha256_process_bytes (buffer, len, &ctx); ctx 179 maint/gnulib/lib/sha256.c return sha256_finish_ctx (&ctx, resblock); ctx 185 maint/gnulib/lib/sha256.c struct sha256_ctx ctx; ctx 188 maint/gnulib/lib/sha256.c sha224_init_ctx (&ctx); ctx 191 maint/gnulib/lib/sha256.c sha256_process_bytes (buffer, len, &ctx); ctx 194 maint/gnulib/lib/sha256.c return sha224_finish_ctx (&ctx, resblock); ctx 198 maint/gnulib/lib/sha256.c sha256_process_bytes (const void *buffer, size_t len, struct sha256_ctx *ctx) ctx 202 maint/gnulib/lib/sha256.c if (ctx->buflen != 0) ctx 204 maint/gnulib/lib/sha256.c size_t left_over = ctx->buflen; ctx 207 maint/gnulib/lib/sha256.c memcpy (&((char *) ctx->buffer)[left_over], buffer, add); ctx 208 maint/gnulib/lib/sha256.c ctx->buflen += add; ctx 210 maint/gnulib/lib/sha256.c if (ctx->buflen > 64) ctx 212 maint/gnulib/lib/sha256.c sha256_process_block (ctx->buffer, ctx->buflen & ~63, ctx); ctx 214 maint/gnulib/lib/sha256.c ctx->buflen &= 63; ctx 217 maint/gnulib/lib/sha256.c memcpy (ctx->buffer, ctx 218 maint/gnulib/lib/sha256.c &((char *) ctx->buffer)[(left_over + add) & ~63], ctx 219 maint/gnulib/lib/sha256.c ctx->buflen); ctx 234 maint/gnulib/lib/sha256.c sha256_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx); ctx 241 maint/gnulib/lib/sha256.c sha256_process_block (buffer, len & ~63, ctx); ctx 250 maint/gnulib/lib/sha256.c size_t left_over = ctx->buflen; ctx 252 maint/gnulib/lib/sha256.c memcpy (&((char *) ctx->buffer)[left_over], buffer, len); ctx 256 maint/gnulib/lib/sha256.c sha256_process_block (ctx->buffer, 64, ctx); ctx 260 maint/gnulib/lib/sha256.c memcpy (ctx->buffer, &ctx->buffer[16], left_over); ctx 262 maint/gnulib/lib/sha256.c ctx->buflen = left_over; ctx 298 maint/gnulib/lib/sha256.c sha256_process_block (const void *buffer, size_t len, struct sha256_ctx *ctx) ctx 304 maint/gnulib/lib/sha256.c uint32_t a = ctx->state[0]; ctx 305 maint/gnulib/lib/sha256.c uint32_t b = ctx->state[1]; ctx 306 maint/gnulib/lib/sha256.c uint32_t c = ctx->state[2]; ctx 307 maint/gnulib/lib/sha256.c uint32_t d = ctx->state[3]; ctx 308 maint/gnulib/lib/sha256.c uint32_t e = ctx->state[4]; ctx 309 maint/gnulib/lib/sha256.c uint32_t f = ctx->state[5]; ctx 310 maint/gnulib/lib/sha256.c uint32_t g = ctx->state[6]; ctx 311 maint/gnulib/lib/sha256.c uint32_t h = ctx->state[7]; ctx 317 maint/gnulib/lib/sha256.c ctx->total[0] += lolen; ctx 318 maint/gnulib/lib/sha256.c ctx->total[1] += (len >> 31 >> 1) + (ctx->total[0] < lolen); ctx 415 maint/gnulib/lib/sha256.c a = ctx->state[0] += a; ctx 416 maint/gnulib/lib/sha256.c b = ctx->state[1] += b; ctx 417 maint/gnulib/lib/sha256.c c = ctx->state[2] += c; ctx 418 maint/gnulib/lib/sha256.c d = ctx->state[3] += d; ctx 419 maint/gnulib/lib/sha256.c e = ctx->state[4] += e; ctx 420 maint/gnulib/lib/sha256.c f = ctx->state[5] += f; ctx 421 maint/gnulib/lib/sha256.c g = ctx->state[6] += g; ctx 422 maint/gnulib/lib/sha256.c h = ctx->state[7] += h; ctx 52 maint/gnulib/lib/sha256.h extern void sha256_init_ctx (struct sha256_ctx *ctx); ctx 53 maint/gnulib/lib/sha256.h extern void sha224_init_ctx (struct sha256_ctx *ctx); ctx 60 maint/gnulib/lib/sha256.h struct sha256_ctx *ctx); ctx 67 maint/gnulib/lib/sha256.h struct sha256_ctx *ctx); ctx 73 maint/gnulib/lib/sha256.h extern void *sha256_finish_ctx (struct sha256_ctx *ctx, void *restrict resbuf); ctx 74 maint/gnulib/lib/sha256.h extern void *sha224_finish_ctx (struct sha256_ctx *ctx, void *restrict resbuf); ctx 80 maint/gnulib/lib/sha256.h extern void *sha256_read_ctx (const struct sha256_ctx *ctx, ctx 82 maint/gnulib/lib/sha256.h extern void *sha224_read_ctx (const struct sha256_ctx *ctx, ctx 63 maint/gnulib/lib/sha512-stream.c struct sha512_ctx ctx; ctx 64 maint/gnulib/lib/sha512-stream.c init_ctx (&ctx); ctx 111 maint/gnulib/lib/sha512-stream.c sha512_process_block (buffer, BLOCKSIZE, &ctx); ctx 118 maint/gnulib/lib/sha512-stream.c sha512_process_bytes (buffer, sum, &ctx); ctx 121 maint/gnulib/lib/sha512-stream.c finish_ctx (&ctx, resblock); ctx 55 maint/gnulib/lib/sha512.c sha512_init_ctx (struct sha512_ctx *ctx) ctx 57 maint/gnulib/lib/sha512.c ctx->state[0] = u64hilo (0x6a09e667, 0xf3bcc908); ctx 58 maint/gnulib/lib/sha512.c ctx->state[1] = u64hilo (0xbb67ae85, 0x84caa73b); ctx 59 maint/gnulib/lib/sha512.c ctx->state[2] = u64hilo (0x3c6ef372, 0xfe94f82b); ctx 60 maint/gnulib/lib/sha512.c ctx->state[3] = u64hilo (0xa54ff53a, 0x5f1d36f1); ctx 61 maint/gnulib/lib/sha512.c ctx->state[4] = u64hilo (0x510e527f, 0xade682d1); ctx 62 maint/gnulib/lib/sha512.c ctx->state[5] = u64hilo (0x9b05688c, 0x2b3e6c1f); ctx 63 maint/gnulib/lib/sha512.c ctx->state[6] = u64hilo (0x1f83d9ab, 0xfb41bd6b); ctx 64 maint/gnulib/lib/sha512.c ctx->state[7] = u64hilo (0x5be0cd19, 0x137e2179); ctx 66 maint/gnulib/lib/sha512.c ctx->total[0] = ctx->total[1] = u64lo (0); ctx 67 maint/gnulib/lib/sha512.c ctx->buflen = 0; ctx 71 maint/gnulib/lib/sha512.c sha384_init_ctx (struct sha512_ctx *ctx) ctx 73 maint/gnulib/lib/sha512.c ctx->state[0] = u64hilo (0xcbbb9d5d, 0xc1059ed8); ctx 74 maint/gnulib/lib/sha512.c ctx->state[1] = u64hilo (0x629a292a, 0x367cd507); ctx 75 maint/gnulib/lib/sha512.c ctx->state[2] = u64hilo (0x9159015a, 0x3070dd17); ctx 76 maint/gnulib/lib/sha512.c ctx->state[3] = u64hilo (0x152fecd8, 0xf70e5939); ctx 77 maint/gnulib/lib/sha512.c ctx->state[4] = u64hilo (0x67332667, 0xffc00b31); ctx 78 maint/gnulib/lib/sha512.c ctx->state[5] = u64hilo (0x8eb44a87, 0x68581511); ctx 79 maint/gnulib/lib/sha512.c ctx->state[6] = u64hilo (0xdb0c2e0d, 0x64f98fa7); ctx 80 maint/gnulib/lib/sha512.c ctx->state[7] = u64hilo (0x47b5481d, 0xbefa4fa4); ctx 82 maint/gnulib/lib/sha512.c ctx->total[0] = ctx->total[1] = u64lo (0); ctx 83 maint/gnulib/lib/sha512.c ctx->buflen = 0; ctx 98 maint/gnulib/lib/sha512.c sha512_read_ctx (const struct sha512_ctx *ctx, void *resbuf) ctx 104 maint/gnulib/lib/sha512.c set_uint64 (r + i * sizeof ctx->state[0], SWAP (ctx->state[i])); ctx 110 maint/gnulib/lib/sha512.c sha384_read_ctx (const struct sha512_ctx *ctx, void *resbuf) ctx 116 maint/gnulib/lib/sha512.c set_uint64 (r + i * sizeof ctx->state[0], SWAP (ctx->state[i])); ctx 124 maint/gnulib/lib/sha512.c sha512_conclude_ctx (struct sha512_ctx *ctx) ctx 127 maint/gnulib/lib/sha512.c size_t bytes = ctx->buflen; ctx 131 maint/gnulib/lib/sha512.c ctx->total[0] = u64plus (ctx->total[0], u64lo (bytes)); ctx 132 maint/gnulib/lib/sha512.c if (u64lt (ctx->total[0], u64lo (bytes))) ctx 133 maint/gnulib/lib/sha512.c ctx->total[1] = u64plus (ctx->total[1], u64lo (1)); ctx 138 maint/gnulib/lib/sha512.c set_uint64 ((char *) &ctx->buffer[size - 2], ctx 139 maint/gnulib/lib/sha512.c SWAP (u64or (u64shl (ctx->total[1], 3), ctx 140 maint/gnulib/lib/sha512.c u64shr (ctx->total[0], 61)))); ctx 141 maint/gnulib/lib/sha512.c set_uint64 ((char *) &ctx->buffer[size - 1], ctx 142 maint/gnulib/lib/sha512.c SWAP (u64shl (ctx->total[0], 3))); ctx 144 maint/gnulib/lib/sha512.c memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 8 - bytes); ctx 147 maint/gnulib/lib/sha512.c sha512_process_block (ctx->buffer, size * 8, ctx); ctx 151 maint/gnulib/lib/sha512.c sha512_finish_ctx (struct sha512_ctx *ctx, void *resbuf) ctx 153 maint/gnulib/lib/sha512.c sha512_conclude_ctx (ctx); ctx 154 maint/gnulib/lib/sha512.c return sha512_read_ctx (ctx, resbuf); ctx 158 maint/gnulib/lib/sha512.c sha384_finish_ctx (struct sha512_ctx *ctx, void *resbuf) ctx 160 maint/gnulib/lib/sha512.c sha512_conclude_ctx (ctx); ctx 161 maint/gnulib/lib/sha512.c return sha384_read_ctx (ctx, resbuf); ctx 171 maint/gnulib/lib/sha512.c struct sha512_ctx ctx; ctx 174 maint/gnulib/lib/sha512.c sha512_init_ctx (&ctx); ctx 177 maint/gnulib/lib/sha512.c sha512_process_bytes (buffer, len, &ctx); ctx 180 maint/gnulib/lib/sha512.c return sha512_finish_ctx (&ctx, resblock); ctx 186 maint/gnulib/lib/sha512.c struct sha512_ctx ctx; ctx 189 maint/gnulib/lib/sha512.c sha384_init_ctx (&ctx); ctx 192 maint/gnulib/lib/sha512.c sha512_process_bytes (buffer, len, &ctx); ctx 195 maint/gnulib/lib/sha512.c return sha384_finish_ctx (&ctx, resblock); ctx 199 maint/gnulib/lib/sha512.c sha512_process_bytes (const void *buffer, size_t len, struct sha512_ctx *ctx) ctx 203 maint/gnulib/lib/sha512.c if (ctx->buflen != 0) ctx 205 maint/gnulib/lib/sha512.c size_t left_over = ctx->buflen; ctx 208 maint/gnulib/lib/sha512.c memcpy (&((char *) ctx->buffer)[left_over], buffer, add); ctx 209 maint/gnulib/lib/sha512.c ctx->buflen += add; ctx 211 maint/gnulib/lib/sha512.c if (ctx->buflen > 128) ctx 213 maint/gnulib/lib/sha512.c sha512_process_block (ctx->buffer, ctx->buflen & ~127, ctx); ctx 215 maint/gnulib/lib/sha512.c ctx->buflen &= 127; ctx 218 maint/gnulib/lib/sha512.c memcpy (ctx->buffer, ctx 219 maint/gnulib/lib/sha512.c &((char *) ctx->buffer)[(left_over + add) & ~127], ctx 220 maint/gnulib/lib/sha512.c ctx->buflen); ctx 235 maint/gnulib/lib/sha512.c sha512_process_block (memcpy (ctx->buffer, buffer, 128), 128, ctx); ctx 242 maint/gnulib/lib/sha512.c sha512_process_block (buffer, len & ~127, ctx); ctx 251 maint/gnulib/lib/sha512.c size_t left_over = ctx->buflen; ctx 253 maint/gnulib/lib/sha512.c memcpy (&((char *) ctx->buffer)[left_over], buffer, len); ctx 257 maint/gnulib/lib/sha512.c sha512_process_block (ctx->buffer, 128, ctx); ctx 261 maint/gnulib/lib/sha512.c memcpy (ctx->buffer, &ctx->buffer[16], left_over); ctx 263 maint/gnulib/lib/sha512.c ctx->buflen = left_over; ctx 323 maint/gnulib/lib/sha512.c sha512_process_block (const void *buffer, size_t len, struct sha512_ctx *ctx) ctx 328 maint/gnulib/lib/sha512.c u64 a = ctx->state[0]; ctx 329 maint/gnulib/lib/sha512.c u64 b = ctx->state[1]; ctx 330 maint/gnulib/lib/sha512.c u64 c = ctx->state[2]; ctx 331 maint/gnulib/lib/sha512.c u64 d = ctx->state[3]; ctx 332 maint/gnulib/lib/sha512.c u64 e = ctx->state[4]; ctx 333 maint/gnulib/lib/sha512.c u64 f = ctx->state[5]; ctx 334 maint/gnulib/lib/sha512.c u64 g = ctx->state[6]; ctx 335 maint/gnulib/lib/sha512.c u64 h = ctx->state[7]; ctx 341 maint/gnulib/lib/sha512.c ctx->total[0] = u64plus (ctx->total[0], lolen); ctx 342 maint/gnulib/lib/sha512.c ctx->total[1] = u64plus (ctx->total[1], ctx 344 maint/gnulib/lib/sha512.c u64lo (u64lt (ctx->total[0], lolen)))); ctx 460 maint/gnulib/lib/sha512.c a = ctx->state[0] = u64plus (ctx->state[0], a); ctx 461 maint/gnulib/lib/sha512.c b = ctx->state[1] = u64plus (ctx->state[1], b); ctx 462 maint/gnulib/lib/sha512.c c = ctx->state[2] = u64plus (ctx->state[2], c); ctx 463 maint/gnulib/lib/sha512.c d = ctx->state[3] = u64plus (ctx->state[3], d); ctx 464 maint/gnulib/lib/sha512.c e = ctx->state[4] = u64plus (ctx->state[4], e); ctx 465 maint/gnulib/lib/sha512.c f = ctx->state[5] = u64plus (ctx->state[5], f); ctx 466 maint/gnulib/lib/sha512.c g = ctx->state[6] = u64plus (ctx->state[6], g); ctx 467 maint/gnulib/lib/sha512.c h = ctx->state[7] = u64plus (ctx->state[7], h); ctx 52 maint/gnulib/lib/sha512.h extern void sha512_init_ctx (struct sha512_ctx *ctx); ctx 53 maint/gnulib/lib/sha512.h extern void sha384_init_ctx (struct sha512_ctx *ctx); ctx 60 maint/gnulib/lib/sha512.h struct sha512_ctx *ctx); ctx 67 maint/gnulib/lib/sha512.h struct sha512_ctx *ctx); ctx 73 maint/gnulib/lib/sha512.h extern void *sha512_finish_ctx (struct sha512_ctx *ctx, void *restrict resbuf); ctx 74 maint/gnulib/lib/sha512.h extern void *sha384_finish_ctx (struct sha512_ctx *ctx, void *restrict resbuf); ctx 83 maint/gnulib/lib/sha512.h extern void *sha512_read_ctx (const struct sha512_ctx *ctx, ctx 85 maint/gnulib/lib/sha512.h extern void *sha384_read_ctx (const struct sha512_ctx *ctx, ctx 51 maint/gnulib/lib/sm3-stream.c struct sm3_ctx ctx; ctx 59 maint/gnulib/lib/sm3-stream.c sm3_init_ctx (&ctx); ctx 103 maint/gnulib/lib/sm3-stream.c sm3_process_block (buffer, BLOCKSIZE, &ctx); ctx 110 maint/gnulib/lib/sm3-stream.c sm3_process_bytes (buffer, sum, &ctx); ctx 113 maint/gnulib/lib/sm3-stream.c sm3_finish_ctx (&ctx, resblock); ctx 68 maint/gnulib/lib/sm3.c sm3_init_ctx (struct sm3_ctx *ctx) ctx 70 maint/gnulib/lib/sm3.c ctx->state[0] = 0x7380166fUL; ctx 71 maint/gnulib/lib/sm3.c ctx->state[1] = 0x4914b2b9UL; ctx 72 maint/gnulib/lib/sm3.c ctx->state[2] = 0x172442d7UL; ctx 73 maint/gnulib/lib/sm3.c ctx->state[3] = 0xda8a0600UL; ctx 74 maint/gnulib/lib/sm3.c ctx->state[4] = 0xa96f30bcUL; ctx 75 maint/gnulib/lib/sm3.c ctx->state[5] = 0x163138aaUL; ctx 76 maint/gnulib/lib/sm3.c ctx->state[6] = 0xe38dee4dUL; ctx 77 maint/gnulib/lib/sm3.c ctx->state[7] = 0xb0fb0e4eUL; ctx 79 maint/gnulib/lib/sm3.c ctx->total[0] = ctx->total[1] = 0; ctx 80 maint/gnulib/lib/sm3.c ctx->buflen = 0; ctx 95 maint/gnulib/lib/sm3.c sm3_read_ctx (const struct sm3_ctx *ctx, void *resbuf) ctx 101 maint/gnulib/lib/sm3.c set_uint32 (r + i * sizeof ctx->state[0], SWAP (ctx->state[i])); ctx 109 maint/gnulib/lib/sm3.c sm3_conclude_ctx (struct sm3_ctx *ctx) ctx 112 maint/gnulib/lib/sm3.c size_t bytes = ctx->buflen; ctx 116 maint/gnulib/lib/sm3.c ctx->total[0] += bytes; ctx 117 maint/gnulib/lib/sm3.c if (ctx->total[0] < bytes) ctx 118 maint/gnulib/lib/sm3.c ++ctx->total[1]; ctx 123 maint/gnulib/lib/sm3.c set_uint32 ((char *) &ctx->buffer[size - 2], ctx 124 maint/gnulib/lib/sm3.c SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29))); ctx 125 maint/gnulib/lib/sm3.c set_uint32 ((char *) &ctx->buffer[size - 1], ctx 126 maint/gnulib/lib/sm3.c SWAP (ctx->total[0] << 3)); ctx 128 maint/gnulib/lib/sm3.c memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes); ctx 131 maint/gnulib/lib/sm3.c sm3_process_block (ctx->buffer, size * 4, ctx); ctx 135 maint/gnulib/lib/sm3.c sm3_finish_ctx (struct sm3_ctx *ctx, void *resbuf) ctx 137 maint/gnulib/lib/sm3.c sm3_conclude_ctx (ctx); ctx 138 maint/gnulib/lib/sm3.c return sm3_read_ctx (ctx, resbuf); ctx 148 maint/gnulib/lib/sm3.c struct sm3_ctx ctx; ctx 151 maint/gnulib/lib/sm3.c sm3_init_ctx (&ctx); ctx 154 maint/gnulib/lib/sm3.c sm3_process_bytes (buffer, len, &ctx); ctx 157 maint/gnulib/lib/sm3.c return sm3_finish_ctx (&ctx, resblock); ctx 161 maint/gnulib/lib/sm3.c sm3_process_bytes (const void *buffer, size_t len, struct sm3_ctx *ctx) ctx 165 maint/gnulib/lib/sm3.c if (ctx->buflen != 0) ctx 167 maint/gnulib/lib/sm3.c size_t left_over = ctx->buflen; ctx 170 maint/gnulib/lib/sm3.c memcpy (&((char *) ctx->buffer)[left_over], buffer, add); ctx 171 maint/gnulib/lib/sm3.c ctx->buflen += add; ctx 173 maint/gnulib/lib/sm3.c if (ctx->buflen > 64) ctx 175 maint/gnulib/lib/sm3.c sm3_process_block (ctx->buffer, ctx->buflen & ~63, ctx); ctx 177 maint/gnulib/lib/sm3.c ctx->buflen &= 63; ctx 180 maint/gnulib/lib/sm3.c memcpy (ctx->buffer, ctx 181 maint/gnulib/lib/sm3.c &((char *) ctx->buffer)[(left_over + add) & ~63], ctx 182 maint/gnulib/lib/sm3.c ctx->buflen); ctx 197 maint/gnulib/lib/sm3.c sm3_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx); ctx 204 maint/gnulib/lib/sm3.c sm3_process_block (buffer, len & ~63, ctx); ctx 213 maint/gnulib/lib/sm3.c size_t left_over = ctx->buflen; ctx 215 maint/gnulib/lib/sm3.c memcpy (&((char *) ctx->buffer)[left_over], buffer, len); ctx 219 maint/gnulib/lib/sm3.c sm3_process_block (ctx->buffer, 64, ctx); ctx 223 maint/gnulib/lib/sm3.c memcpy (ctx->buffer, &ctx->buffer[16], left_over); ctx 225 maint/gnulib/lib/sm3.c ctx->buflen = left_over; ctx 263 maint/gnulib/lib/sm3.c sm3_process_block (const void *buffer, size_t len, struct sm3_ctx *ctx) ctx 269 maint/gnulib/lib/sm3.c uint32_t a = ctx->state[0]; ctx 270 maint/gnulib/lib/sm3.c uint32_t b = ctx->state[1]; ctx 271 maint/gnulib/lib/sm3.c uint32_t c = ctx->state[2]; ctx 272 maint/gnulib/lib/sm3.c uint32_t d = ctx->state[3]; ctx 273 maint/gnulib/lib/sm3.c uint32_t e = ctx->state[4]; ctx 274 maint/gnulib/lib/sm3.c uint32_t f = ctx->state[5]; ctx 275 maint/gnulib/lib/sm3.c uint32_t g = ctx->state[6]; ctx 276 maint/gnulib/lib/sm3.c uint32_t h = ctx->state[7]; ctx 282 maint/gnulib/lib/sm3.c ctx->total[0] += lolen; ctx 283 maint/gnulib/lib/sm3.c ctx->total[1] += (len >> 31 >> 1) + (ctx->total[0] < lolen); ctx 398 maint/gnulib/lib/sm3.c a = ctx->state[0] ^= a; ctx 399 maint/gnulib/lib/sm3.c b = ctx->state[1] ^= b; ctx 400 maint/gnulib/lib/sm3.c c = ctx->state[2] ^= c; ctx 401 maint/gnulib/lib/sm3.c d = ctx->state[3] ^= d; ctx 402 maint/gnulib/lib/sm3.c e = ctx->state[4] ^= e; ctx 403 maint/gnulib/lib/sm3.c f = ctx->state[5] ^= f; ctx 404 maint/gnulib/lib/sm3.c g = ctx->state[6] ^= g; ctx 405 maint/gnulib/lib/sm3.c h = ctx->state[7] ^= h; ctx 58 maint/gnulib/lib/sm3.h extern void sm3_init_ctx (struct sm3_ctx *ctx); ctx 65 maint/gnulib/lib/sm3.h struct sm3_ctx *ctx); ctx 72 maint/gnulib/lib/sm3.h struct sm3_ctx *ctx); ctx 78 maint/gnulib/lib/sm3.h extern void *sm3_finish_ctx (struct sm3_ctx *ctx, void *restrict resbuf); ctx 83 maint/gnulib/lib/sm3.h extern void *sm3_read_ctx (const struct sm3_ctx *ctx, void *restrict resbuf); ctx 28 maint/gnulib/tests/test-arcfour.c arcfour_context ctx; ctx 36 maint/gnulib/tests/test-arcfour.c arcfour_setkey (&ctx, key_1, sizeof (key_1)); ctx 37 maint/gnulib/tests/test-arcfour.c arcfour_stream (&ctx, plaintext_1, scratch, sizeof (plaintext_1)); ctx 53 maint/gnulib/tests/test-arcfour.c arcfour_setkey (&ctx, key_1, sizeof (key_1)); ctx 54 maint/gnulib/tests/test-arcfour.c arcfour_stream (&ctx, scratch, scratch, sizeof (plaintext_1)); ctx 28 maint/gnulib/tests/test-arctwo.c arctwo_context ctx; ctx 77 maint/gnulib/tests/test-arctwo.c arctwo_setkey_ekb (&ctx, sizeof (key_1), key_1, 0); ctx 78 maint/gnulib/tests/test-arctwo.c arctwo_encrypt (&ctx, plaintext_1, scratch, ARCTWO_BLOCK_SIZE); ctx 83 maint/gnulib/tests/test-arctwo.c arctwo_setkey_ekb (&ctx, sizeof (key_1), key_1, 0); ctx 84 maint/gnulib/tests/test-arctwo.c arctwo_decrypt (&ctx, scratch, scratch, ARCTWO_BLOCK_SIZE); ctx 89 maint/gnulib/tests/test-arctwo.c arctwo_setkey_ekb (&ctx, sizeof (key_2), key_2, 0); ctx 90 maint/gnulib/tests/test-arctwo.c arctwo_encrypt (&ctx, plaintext_2, scratch, ARCTWO_BLOCK_SIZE); ctx 94 maint/gnulib/tests/test-arctwo.c arctwo_setkey_ekb (&ctx, sizeof (key_2), key_2, 0); ctx 95 maint/gnulib/tests/test-arctwo.c arctwo_decrypt (&ctx, scratch, scratch, ARCTWO_BLOCK_SIZE); ctx 100 maint/gnulib/tests/test-arctwo.c arctwo_setkey_ekb (&ctx, sizeof (key_3), key_3, 0); ctx 101 maint/gnulib/tests/test-arctwo.c arctwo_encrypt (&ctx, plaintext_3, scratch, ARCTWO_BLOCK_SIZE); ctx 106 maint/gnulib/tests/test-arctwo.c arctwo_setkey_ekb (&ctx, sizeof (key_3), key_3, 0); ctx 107 maint/gnulib/tests/test-arctwo.c arctwo_decrypt (&ctx, scratch, scratch, ARCTWO_BLOCK_SIZE); ctx 112 maint/gnulib/tests/test-arctwo.c arctwo_setkey_ekb (&ctx, sizeof (key_4), key_4, 63); ctx 113 maint/gnulib/tests/test-arctwo.c arctwo_encrypt (&ctx, plaintext_4, scratch, ARCTWO_BLOCK_SIZE); ctx 128 maint/gnulib/tests/test-arctwo.c arctwo_setkey_ekb (&ctx, sizeof (key_4), key_4, 63); ctx 129 maint/gnulib/tests/test-arctwo.c arctwo_decrypt (&ctx, scratch, scratch, ARCTWO_BLOCK_SIZE); ctx 134 maint/gnulib/tests/test-arctwo.c arctwo_setkey_ekb (&ctx, sizeof (key_5), key_5, 64); ctx 135 maint/gnulib/tests/test-arctwo.c arctwo_encrypt (&ctx, plaintext_5, scratch, ARCTWO_BLOCK_SIZE); ctx 150 maint/gnulib/tests/test-arctwo.c arctwo_setkey_ekb (&ctx, sizeof (key_5), key_5, 64); ctx 151 maint/gnulib/tests/test-arctwo.c arctwo_decrypt (&ctx, scratch, scratch, ARCTWO_BLOCK_SIZE); ctx 156 maint/gnulib/tests/test-arctwo.c arctwo_setkey_ekb (&ctx, 8, key_6, 64); ctx 157 maint/gnulib/tests/test-arctwo.c arctwo_encrypt (&ctx, plaintext_6, scratch, ARCTWO_BLOCK_SIZE); ctx 172 maint/gnulib/tests/test-arctwo.c arctwo_setkey_ekb (&ctx, sizeof (key_6), key_6, 64); ctx 173 maint/gnulib/tests/test-arctwo.c arctwo_decrypt (&ctx, scratch, scratch, ARCTWO_BLOCK_SIZE); ctx 158 maint/gnulib/tests/test-base32.c struct base32_decode_context ctx; ctx 160 maint/gnulib/tests/test-base32.c base32_decode_ctx_init (&ctx); ctx 163 maint/gnulib/tests/test-base32.c ok = base32_decode_ctx (&ctx, b32in, strlen (b32in), out, &len); ctx 178 maint/gnulib/tests/test-base32.c struct base32_decode_context ctx; ctx 181 maint/gnulib/tests/test-base32.c base32_decode_ctx_init (&ctx); ctx 183 maint/gnulib/tests/test-base32.c ok = base32_decode_alloc_ctx (&ctx, newlineb32, strlen (newlineb32), &p, &len); ctx 191 maint/gnulib/tests/test-base32.c struct base32_decode_context ctx; ctx 192 maint/gnulib/tests/test-base32.c base32_decode_ctx_init (&ctx); ctx 194 maint/gnulib/tests/test-base32.c ok = base32_decode_alloc_ctx (&ctx, "MFRGGZDFM\nZTWQ2LK", 17, &p, &len); ctx 200 maint/gnulib/tests/test-base32.c base32_decode_ctx_init (&ctx); ctx 202 maint/gnulib/tests/test-base32.c ok = base32_decode_alloc_ctx (&ctx, "MF\n", 3, &p, &len); ctx 207 maint/gnulib/tests/test-base32.c ok = base32_decode_alloc_ctx (&ctx, "RGGZDFMZ", 8, &p, &len); ctx 213 maint/gnulib/tests/test-base32.c ok = base32_decode_alloc_ctx (&ctx, "TWQ2LK", 6, &p, &len); ctx 219 maint/gnulib/tests/test-base32.c ok = base32_decode_alloc_ctx (&ctx, "", 0, &p, &len); ctx 225 maint/gnulib/tests/test-base32.c struct base32_decode_context ctx; ctx 228 maint/gnulib/tests/test-base32.c base32_decode_ctx_init (&ctx); ctx 230 maint/gnulib/tests/test-base32.c ok = base32_decode_alloc_ctx (&ctx, newlineb32, strlen (newlineb32), &p, &len); ctx 135 maint/gnulib/tests/test-base64.c struct base64_decode_context ctx; ctx 137 maint/gnulib/tests/test-base64.c base64_decode_ctx_init (&ctx); ctx 140 maint/gnulib/tests/test-base64.c ok = base64_decode_ctx (&ctx, b64in, strlen (b64in), out, &len); ctx 155 maint/gnulib/tests/test-base64.c struct base64_decode_context ctx; ctx 158 maint/gnulib/tests/test-base64.c base64_decode_ctx_init (&ctx); ctx 160 maint/gnulib/tests/test-base64.c ok = base64_decode_alloc_ctx (&ctx, newlineb64, strlen (newlineb64), &p, &len); ctx 168 maint/gnulib/tests/test-base64.c struct base64_decode_context ctx; ctx 169 maint/gnulib/tests/test-base64.c base64_decode_ctx_init (&ctx); ctx 171 maint/gnulib/tests/test-base64.c ok = base64_decode_alloc_ctx (&ctx, "YW\nJjZGVmZ2hp", 13, &p, &len); ctx 177 maint/gnulib/tests/test-base64.c base64_decode_ctx_init (&ctx); ctx 179 maint/gnulib/tests/test-base64.c ok = base64_decode_alloc_ctx (&ctx, "YW\n", 3, &p, &len); ctx 184 maint/gnulib/tests/test-base64.c ok = base64_decode_alloc_ctx (&ctx, "JjZGVmZ2", 8, &p, &len); ctx 190 maint/gnulib/tests/test-base64.c ok = base64_decode_alloc_ctx (&ctx, "hp", 2, &p, &len); ctx 196 maint/gnulib/tests/test-base64.c ok = base64_decode_alloc_ctx (&ctx, "", 0, &p, &len); ctx 202 maint/gnulib/tests/test-base64.c struct base64_decode_context ctx; ctx 205 maint/gnulib/tests/test-base64.c base64_decode_ctx_init (&ctx); ctx 207 maint/gnulib/tests/test-base64.c ok = base64_decode_alloc_ctx (&ctx, newlineb64, strlen (newlineb64), &p, &len); ctx 28 maint/gnulib/tests/test-gc-arcfour.c gc_cipher_handle ctx; ctx 44 maint/gnulib/tests/test-gc-arcfour.c rc = gc_cipher_open (GC_ARCFOUR40, GC_STREAM, &ctx); ctx 48 maint/gnulib/tests/test-gc-arcfour.c rc = gc_cipher_setkey (ctx, sizeof (key_1), key_1); ctx 53 maint/gnulib/tests/test-gc-arcfour.c rc = gc_cipher_encrypt_inline (ctx, sizeof (plaintext_1), scratch); ctx 72 maint/gnulib/tests/test-gc-arcfour.c rc = gc_cipher_setkey (ctx, sizeof (key_1), key_1); ctx 76 maint/gnulib/tests/test-gc-arcfour.c rc = gc_cipher_decrypt_inline (ctx, sizeof (plaintext_1), scratch); ctx 93 maint/gnulib/tests/test-gc-arcfour.c gc_cipher_close (ctx); ctx 28 maint/gnulib/tests/test-gc-arctwo.c gc_cipher_handle ctx; ctx 43 maint/gnulib/tests/test-gc-arctwo.c rc = gc_cipher_open (GC_ARCTWO40, GC_ECB, &ctx); ctx 47 maint/gnulib/tests/test-gc-arctwo.c rc = gc_cipher_setkey (ctx, sizeof (key), key); ctx 52 maint/gnulib/tests/test-gc-arctwo.c rc = gc_cipher_encrypt_inline (ctx, sizeof (plaintext), scratch); ctx 71 maint/gnulib/tests/test-gc-arctwo.c rc = gc_cipher_setkey (ctx, sizeof (key), key); ctx 75 maint/gnulib/tests/test-gc-arctwo.c rc = gc_cipher_decrypt_inline (ctx, sizeof (plaintext), scratch); ctx 92 maint/gnulib/tests/test-gc-arctwo.c gc_cipher_close (ctx); ctx 50 maint/gnulib/tests/test-gc-des.c gc_cipher_handle ctx; ctx 52 maint/gnulib/tests/test-gc-des.c rc = gc_cipher_open (GC_DES, GC_ECB, &ctx); ctx 56 maint/gnulib/tests/test-gc-des.c rc = gc_cipher_setkey (ctx, 8, key); ctx 61 maint/gnulib/tests/test-gc-des.c rc = gc_cipher_encrypt_inline (ctx, 8, temp1); ctx 66 maint/gnulib/tests/test-gc-des.c rc = gc_cipher_encrypt_inline (ctx, 8, temp2); ctx 70 maint/gnulib/tests/test-gc-des.c rc = gc_cipher_setkey (ctx, 8, temp2); ctx 75 maint/gnulib/tests/test-gc-des.c rc = gc_cipher_decrypt_inline (ctx, 8, temp3); ctx 82 maint/gnulib/tests/test-gc-des.c ctx_array[i] = ctx; ctx 45 maint/gnulib/tests/test-gc-rijndael.c gc_cipher_handle ctx; ctx 48 maint/gnulib/tests/test-gc-rijndael.c rc = gc_cipher_open (GC_AES128, GC_ECB, &ctx); ctx 52 maint/gnulib/tests/test-gc-rijndael.c rc = gc_cipher_setkey (ctx, 16, key); ctx 60 maint/gnulib/tests/test-gc-rijndael.c rc = gc_cipher_encrypt_inline (ctx, 16, buf); ctx 83 maint/gnulib/tests/test-gc-rijndael.c rc = gc_cipher_decrypt_inline (ctx, 16, buf); ctx 104 maint/gnulib/tests/test-gc-rijndael.c gc_cipher_close (ctx); ctx 118 maint/gnulib/tests/test-gc-rijndael.c gc_cipher_handle ctx; ctx 121 maint/gnulib/tests/test-gc-rijndael.c rc = gc_cipher_open (GC_AES128, GC_CBC, &ctx); ctx 125 maint/gnulib/tests/test-gc-rijndael.c rc = gc_cipher_setkey (ctx, 16, key); ctx 129 maint/gnulib/tests/test-gc-rijndael.c rc = gc_cipher_setiv (ctx, 16, iv); ctx 137 maint/gnulib/tests/test-gc-rijndael.c rc = gc_cipher_encrypt_inline (ctx, 16, buf); ctx 158 maint/gnulib/tests/test-gc-rijndael.c gc_cipher_close (ctx); ctx 188 maint/gnulib/tests/test-hamt.c struct find_values_context *ctx = data; ctx 190 maint/gnulib/tests/test-hamt.c for (size_t i = 0; i < ctx->n; ++i) ctx 191 maint/gnulib/tests/test-hamt.c if (ctx->elts [i] == val && !ctx->found [i]) ctx 193 maint/gnulib/tests/test-hamt.c ctx->found [i] = true; ctx 203 maint/gnulib/tests/test-hamt.c struct find_values_context ctx = {n, elts, found}; ctx 204 maint/gnulib/tests/test-hamt.c bool res = hamt_do_while (hamt, find_values_processor, &ctx) == n;