Home
last modified time | relevance | path

Searched refs:ctx1 (Results 1 – 15 of 15) sorted by relevance

/netbsd-src/lib/libcrypt/
H A Dmd5crypt.c46 MD5_CTX ctx, ctx1; in __md5crypt() local
78 INIT(&ctx1); in __md5crypt()
79 UPDATE(&ctx1, (const unsigned char *)pw, pwl); in __md5crypt()
80 UPDATE(&ctx1, (const unsigned char *)sp, sl); in __md5crypt()
81 UPDATE(&ctx1, (const unsigned char *)pw, pwl); in __md5crypt()
82 FINAL(final, &ctx1); in __md5crypt()
112 INIT(&ctx1); in __md5crypt()
115 UPDATE(&ctx1, (const unsigned char *)pw, pwl); in __md5crypt()
117 UPDATE(&ctx1, final, 16); in __md5crypt()
120 UPDATE(&ctx1, (cons in __md5crypt()
[all...]
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/passwd/
H A Dapr1.c68 lutil_MD5_CTX ctx, ctx1; in do_phk_hash() local
77 lutil_MD5Init(&ctx1); in do_phk_hash()
78 lutil_MD5Update(&ctx1, (const unsigned char *) passwd->bv_val, passwd->bv_len); in do_phk_hash()
79 lutil_MD5Update(&ctx1, (const unsigned char *) salt->bv_val, salt->bv_len); in do_phk_hash()
80 lutil_MD5Update(&ctx1, (const unsigned char *) passwd->bv_val, passwd->bv_len); in do_phk_hash()
81 lutil_MD5Final(digest, &ctx1); in do_phk_hash()
99 lutil_MD5Init(&ctx1); in do_phk_hash()
101 lutil_MD5Update(&ctx1, in do_phk_hash()
104 lutil_MD5Update(&ctx1, digest, LUTIL_MD5_BYTES); in do_phk_hash()
107 lutil_MD5Update(&ctx1, in do_phk_hash()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Dsm3_internal_test.c59 SM3_CTX ctx1, ctx2; in test_sm3() local
62 if (!TEST_true(ossl_sm3_init(&ctx1)) in test_sm3()
63 || !TEST_true(ossl_sm3_update(&ctx1, input1, sizeof(input1))) in test_sm3()
64 || !TEST_true(ossl_sm3_final(md1, &ctx1)) in test_sm3()
H A Dkeymgmt_internal_test.c31 OSSL_LIB_CTX *ctx1; member
45 OSSL_LIB_CTX_free(fixture->ctx1); in tear_down()
56 || !TEST_ptr(fixture->ctx1 = OSSL_LIB_CTX_new()) in set_up()
57 || !TEST_ptr(fixture->prov1 = OSSL_PROVIDER_load(fixture->ctx1, in set_up()
221 if (!TEST_ptr(km1 = EVP_KEYMGMT_fetch(fixture->ctx1, "RSA", NULL)) in test_pass_rsa()
223 || !TEST_ptr(km3 = EVP_KEYMGMT_fetch(fixture->ctx1, "RSA-PSS", NULL)) in test_pass_rsa()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gvt/
H A Dexeclist.c199 struct execlist_ctx_descriptor_format *ctx1 = &running->ctx[1]; in emulate_execlist_ctx_schedule_out() local
215 if (valid_context(ctx1) && same_context(ctx0, ctx)) { in emulate_execlist_ctx_schedule_out()
218 execlist->running_context = ctx1; in emulate_execlist_ctx_schedule_out()
234 } else if ((!valid_context(ctx1) && same_context(ctx0, ctx)) in emulate_execlist_ctx_schedule_out()
235 || (valid_context(ctx1) && same_context(ctx1, ctx))) { in emulate_execlist_ctx_schedule_out()
292 struct execlist_ctx_descriptor_format *ctx0, *ctx1; in emulate_execlist_schedule_in() local
338 ctx1 = &running->ctx[1]; in emulate_execlist_schedule_in()
341 running->index, ctx0->context_id, ctx1->context_id); in emulate_execlist_schedule_in()
351 if ((valid_context(ctx1) && same_context(ctx1, &slot->ctx[0]) && in emulate_execlist_schedule_in()
354 (!valid_context(ctx1) && in emulate_execlist_schedule_in()
/netbsd-src/crypto/external/bsd/openssl/dist/demos/pkey/
H A DEVP_PKEY_DSA_paramvalidate.c110 EVP_PKEY_CTX *ctx1 = NULL; in main() local
166 ctx1 = create_merged_key(dsaparamskey, params, libctx, propq); in main()
167 if (ctx1 == NULL) in main()
170 if (EVP_PKEY_param_check(ctx1) > 0) { in main()
198 EVP_PKEY_CTX_free(ctx1); in main()
/netbsd-src/external/bsd/ipf/dist/lib/
H A Dsave_file.c64 file_match(ctx1, ctx2) in file_match() argument
65 void *ctx1, *ctx2; in file_match()
67 file_opts_t *f1 = ctx1, *f2 = ctx2;
H A Dsave_v2trap.c55 snmpv2_match(ctx1, ctx2) in snmpv2_match() argument
56 void *ctx1, *ctx2; in snmpv2_match()
58 snmpv2_opts_t *s1 = ctx1, *s2 = ctx2;
H A Dsave_v1trap.c51 snmpv1_match(ctx1, ctx2) in snmpv1_match() argument
52 void *ctx1, *ctx2; in snmpv1_match()
54 snmpv1_opts_t *s1 = ctx1, *s2 = ctx2;
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Domp-general.c1186 tree ctx1, tree ctx2) in omp_context_selector_props_compare() argument
1190 for (tree t1 = pass ? ctx2 : ctx1; t1; t1 = TREE_CHAIN (t1)) in omp_context_selector_props_compare()
1193 for (t2 = pass ? ctx1 : ctx2; t2; t2 = TREE_CHAIN (t2)) in omp_context_selector_props_compare()
1264 omp_context_selector_set_compare (const char *set, tree ctx1, tree ctx2) in omp_context_selector_set_compare() argument
1268 int len1 = list_length (ctx1); in omp_context_selector_set_compare()
1274 std::swap (ctx1, ctx2); in omp_context_selector_set_compare()
1284 for (t1 = ctx1; t1; t1 = TREE_CHAIN (t1)) in omp_context_selector_set_compare()
1318 for (tree t1 = ctx1; t1; t1 = TREE_CHAIN (t1)) in omp_context_selector_set_compare()
1356 omp_context_selector_compare (tree ctx1, tree ctx2) in omp_context_selector_compare() argument
1360 int len1 = list_length (ctx1); in omp_context_selector_compare()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Domp-general.cc1736 tree ctx1, tree ctx2) in omp_context_selector_props_compare() argument
1740 for (tree t1 = pass ? ctx2 : ctx1; t1; t1 = TREE_CHAIN (t1)) in omp_context_selector_props_compare()
1743 for (t2 = pass ? ctx1 : ctx2; t2; t2 = TREE_CHAIN (t2)) in omp_context_selector_props_compare()
1814 omp_context_selector_set_compare (const char *set, tree ctx1, tree ctx2) in omp_context_selector_set_compare() argument
1818 int len1 = list_length (ctx1); in omp_context_selector_set_compare()
1824 std::swap (ctx1, ctx2); in omp_context_selector_set_compare()
1834 for (t1 = ctx1; t1; t1 = TREE_CHAIN (t1)) in omp_context_selector_set_compare()
1868 for (tree t1 = ctx1; t1; t1 = TREE_CHAIN (t1)) in omp_context_selector_set_compare()
1906 omp_context_selector_compare (tree ctx1, tree ctx2) in omp_context_selector_compare() argument
1910 int len1 = list_length (ctx1); in omp_context_selector_compare()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/gr/
H A Dnouveau_nvkm_engine_gr_nv04.c468 u32 tmp, ctx1; in nv04_gr_set_ctx_val() local
470 ctx1 = nvkm_rd32(device, 0x700000 + inst); in nv04_gr_set_ctx_val()
471 class = ctx1 & 0xff; in nv04_gr_set_ctx_val()
472 op = (ctx1 >> 15) & 7; in nv04_gr_set_ctx_val()
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dclass.cc10429 common_enclosing_class (tree ctx1, tree ctx2) in common_enclosing_class() argument
10431 if (!TYPE_P (ctx1) || !TYPE_P (ctx2)) in common_enclosing_class()
10433 gcc_assert (ctx1 == TYPE_MAIN_VARIANT (ctx1) in common_enclosing_class()
10435 if (ctx1 == ctx2) in common_enclosing_class()
10436 return ctx1; in common_enclosing_class()
10437 for (tree t = ctx1; TYPE_P (t); t = TYPE_CONTEXT (t)) in common_enclosing_class()
10446 for (tree t = ctx1; TYPE_P (t); t = TYPE_CONTEXT (t)) in common_enclosing_class()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dclass.c10311 common_enclosing_class (tree ctx1, tree ctx2) in common_enclosing_class() argument
10313 if (!TYPE_P (ctx1) || !TYPE_P (ctx2)) in common_enclosing_class()
10315 gcc_assert (ctx1 == TYPE_MAIN_VARIANT (ctx1) in common_enclosing_class()
10317 if (ctx1 == ctx2) in common_enclosing_class()
10318 return ctx1; in common_enclosing_class()
10319 for (tree t = ctx1; TYPE_P (t); t = TYPE_CONTEXT (t)) in common_enclosing_class()
10328 for (tree t = ctx1; TYPE_P (t); t = TYPE_CONTEXT (t)) in common_enclosing_class()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dexpressionsem.d1926 Dsymbol ctx1 = s.toParentLocal(); in functionParameters() local
1929 if (ctx0 != ctx1) in functionParameters()
1930 return checkWild(ctx1); in functionParameters()