Home
last modified time | relevance | path

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

/external/openssh/
Dmd5crypt.c57 MD5_CTX ctx, ctx1; in md5_crypt() local
92 MD5_Init(&ctx1); in md5_crypt()
93 MD5_Update(&ctx1, pw, strlen(pw)); in md5_crypt()
94 MD5_Update(&ctx1, sp, sl); in md5_crypt()
95 MD5_Update(&ctx1, pw, strlen(pw)); in md5_crypt()
96 MD5_Final(final, &ctx1); in md5_crypt()
122 MD5_Init(&ctx1); in md5_crypt()
124 MD5_Update(&ctx1, pw, strlen(pw)); in md5_crypt()
126 MD5_Update(&ctx1, final, 16); in md5_crypt()
129 MD5_Update(&ctx1, sp, sl); in md5_crypt()
[all …]
/external/syslinux/com32/libutil/
Dcrypt-md5.c49 MD5_CTX ctx, ctx1; in crypt_md5() local
84 MD5Init(&ctx1); in crypt_md5()
85 MD5Update(&ctx1, pw, pwlen); in crypt_md5()
86 MD5Update(&ctx1, sp, sl); in crypt_md5()
87 MD5Update(&ctx1, pw, pwlen); in crypt_md5()
88 MD5Final(final, &ctx1); in crypt_md5()
121 MD5Init(&ctx1); in crypt_md5()
123 MD5Update(&ctx1, pw, pwlen); in crypt_md5()
125 MD5Update(&ctx1, final, MD5_SIZE); in crypt_md5()
128 MD5Update(&ctx1, sp, sl); in crypt_md5()
[all …]
/external/valgrind/memcheck/tests/linux/
Dstack_changes.c15 mycontext ctx1, ctx2, oldc; variable
57 int c1 = init_context(&ctx1); in main()
60 makecontext(&ctx1, (void (*)()) hello, 1, &ctx2); in main()
61 makecontext(&ctx2, (void (*)()) hello, 1, &ctx1); in main()
63 swapcontext(&oldc, &ctx1); in main()
/external/libchrome/crypto/
Dsecure_hash_unittest.cc53 std::unique_ptr<crypto::SecureHash> ctx1( in TEST() local
55 ctx1->Update(input1.data(), input1.size()); in TEST()
57 std::unique_ptr<crypto::SecureHash> ctx2(ctx1->Clone()); in TEST()
63 ctx1->Update(input2.data(), input2.size()); in TEST()
64 ctx1->Finish(output1, sizeof(output1)); in TEST()
/external/selinux/libsepol/src/
Dmls.c674 context_struct_t *ctx1 = NULL, *ctx2 = NULL; in sepol_mls_contains() local
675 ctx1 = malloc(sizeof(context_struct_t)); in sepol_mls_contains()
677 if (ctx1 == NULL || ctx2 == NULL) in sepol_mls_contains()
679 context_init(ctx1); in sepol_mls_contains()
682 if (mls_from_string(handle, &policydb->p, mls1, ctx1) < 0) in sepol_mls_contains()
688 *response = mls_range_contains(ctx1->range, ctx2->range); in sepol_mls_contains()
689 context_destroy(ctx1); in sepol_mls_contains()
691 free(ctx1); in sepol_mls_contains()
701 context_destroy(ctx1); in sepol_mls_contains()
703 free(ctx1); in sepol_mls_contains()
Dkernel_to_cil.c2676 char *name, *ctx1, *ctx2; in write_selinux_netif_rules_to_cil() local
2681 ctx1 = context_to_str(pdb, &netif->context[0]); in write_selinux_netif_rules_to_cil()
2682 if (!ctx1) { in write_selinux_netif_rules_to_cil()
2688 free(ctx1); in write_selinux_netif_rules_to_cil()
2693 sepol_printf(out, "(netifcon %s %s %s)\n", name, ctx1, ctx2); in write_selinux_netif_rules_to_cil()
2695 free(ctx1); in write_selinux_netif_rules_to_cil()
Dkernel_to_conf.c2536 char *name, *ctx1, *ctx2; in write_selinux_netif_rules_to_conf() local
2541 ctx1 = context_to_str(pdb, &netif->context[0]); in write_selinux_netif_rules_to_conf()
2542 if (!ctx1) { in write_selinux_netif_rules_to_conf()
2548 free(ctx1); in write_selinux_netif_rules_to_conf()
2553 sepol_printf(out, "netifcon %s %s %s\n", name, ctx1, ctx2); in write_selinux_netif_rules_to_conf()
2555 free(ctx1); in write_selinux_netif_rules_to_conf()
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_context.c95 struct stw_context *ctx1; in DrvShareLists() local
104 ctx1 = stw_lookup_context_locked( dhglrc1 ); in DrvShareLists()
107 if (ctx1 && ctx2 && ctx2->st->share) in DrvShareLists()
108 ret = ctx2->st->share(ctx2->st, ctx1->st); in DrvShareLists()
/external/libchrome/base/trace_event/
Dheap_profiler_allocation_context_tracker_unittest.cc251 AllocationContext ctx1 = in TEST_F() local
254 ASSERT_EQ(kContext1, ctx1.type_name); in TEST_F()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c328 const int ctx1 = vp9_get_pred_context_single_ref_p2(xd); in read_ref_frames() local
329 const int bit1 = vpx_read(r, fc->single_ref_prob[ctx1][1]); in read_ref_frames()
330 if (counts) ++counts->single_ref[ctx1][1][bit1]; in read_ref_frames()
/external/python/cpython2/Lib/test/
Dtest_ssl.py1638 ctx1 = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
1641 with closing(ctx1.wrap_socket(s)) as ss:
1643 self.assertIs(ss.context, ctx1)
1644 self.assertIs(ss._sslobj.context, ctx1)