Home
last modified time | relevance | path

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

/freebsd/lib/libcrypt/
H A Dcrypt-md5.c46 MD5_CTX ctx,ctx1; in crypt_md5() local
77 MD5Init(&ctx1); in crypt_md5()
78 MD5Update(&ctx1, (const u_char *)pw, strlen(pw)); in crypt_md5()
79 MD5Update(&ctx1, (const u_char *)salt, (u_int)sl); in crypt_md5()
80 MD5Update(&ctx1, (const u_char *)pw, strlen(pw)); in crypt_md5()
81 MD5Final(final, &ctx1); in crypt_md5()
109 MD5Init(&ctx1); in crypt_md5()
111 MD5Update(&ctx1, (const u_char *)pw, strlen(pw)); in crypt_md5()
119 MD5Update(&ctx1, (const u_char *)pw, strlen(pw)); in crypt_md5()
124 MD5Update(&ctx1, (const u_char *)pw, strlen(pw)); in crypt_md5()
[all …]
/freebsd/crypto/openssl/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()
/freebsd/crypto/openssl/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()
/freebsd/tools/tools/dmardump/
H A Ddmardump.c106 if (!(ctx[idx].ctx1 & DMAR_CTX1_P)) in dump_context_table()
126 if (ctx[idx].ctx1 & DMAR_CTX1_FPD) in dump_context_table()
128 switch (ctx[idx].ctx1 & 0xc) { in dump_context_table()
142 printf(" SLPT %#jx", (uintmax_t)(ctx[idx].ctx1 & in dump_context_table()
/freebsd/sys/x86/iommu/
H A Dintel_ctx.c159 dmar_pte_store1(&ctxp->ctx1, DMAR_CTX1_T_PASS | DMAR_CTX1_P); in ctx_id_entry_init_one()
161 dmar_pte_store1(&ctxp->ctx1, DMAR_CTX1_T_UNTR | in ctx_id_entry_init_one()
178 KASSERT(move || (ctxp->ctx1 == 0 && ctxp->ctx2 == 0), in ctx_id_entry_init()
182 ctxp->ctx1, ctxp->ctx2)); in ctx_id_entry_init()
523 struct dmar_ctx *ctx, *ctx1; in dmar_get_ctx_for_dev1() local
572 ctx1 = dmar_ctx_alloc(domain1, rid); in dmar_get_ctx_for_dev1()
573 ctxp = dmar_map_ctx_entry(ctx1, &sf); in dmar_get_ctx_for_dev1()
583 ctx = ctx1; in dmar_get_ctx_for_dev1()
610 free(ctx1, M_DMAR_CTX); in dmar_get_ctx_for_dev1()
803 dmar_pte_clear(&ctxp->ctx1); in dmar_free_ctx_locked()
H A Dintel_reg.h45 uint64_t ctx1; member
/freebsd/sbin/ipf/libipf/
H A Dsave_file.c61 file_match(void *ctx1, void *ctx2) in file_match() argument
63 file_opts_t *f1 = ctx1, *f2 = ctx2; in file_match()
H A Dsave_v2trap.c53 snmpv2_match(void *ctx1, void *ctx2) in snmpv2_match() argument
55 snmpv2_opts_t *s1 = ctx1, *s2 = ctx2; in snmpv2_match()
H A Dsave_v1trap.c49 snmpv1_match(void *ctx1, void *ctx2) in snmpv1_match() argument
51 snmpv1_opts_t *s1 = ctx1, *s2 = ctx2; in snmpv1_match()
/freebsd/contrib/wpa/src/ap/
H A Dwpa_auth.h548 void (*cb)(void *ctx1, void *ctx2),
549 void *ctx1, void *ctx2);
551 void (*cb)(void *ctx1, void *ctx2),
552 void *ctx1, void *ctx2);
554 void (*cb)(void *ctx1, void *ctx2),
555 void *ctx1, void *ctx2);
H A Dwpa_auth_i.h166 void (*eapol_status_cb)(void *ctx1, void *ctx2);
H A Dwpa_auth.c5370 void (*cb)(void *ctx1, void *ctx2), in wpa_auth_resend_m1() argument
5371 void *ctx1, void *ctx2) in wpa_auth_resend_m1()
5392 void (*cb)(void *ctx1, void *ctx2), in wpa_auth_resend_m3() argument
5393 void *ctx1, void *ctx2) in wpa_auth_resend_m3()
5572 void (*cb)(void *ctx1, void *ctx2), in wpa_auth_resend_group_m1() argument
5573 void *ctx1, void *ctx2) in wpa_auth_resend_group_m1()
5623 sm->eapol_status_cb_ctx1 = ctx1; in wpa_auth_resend_group_m1()
/freebsd/usr.bin/sort/
H A Dcoll.c996 MD5_CTX ctx1, ctx2; in randomcoll() local
1019 memcpy(&ctx1, &md5_ctx, sizeof(MD5_CTX)); in randomcoll()
1022 MD5Update(&ctx1, bwsrawdata(s1), bwsrawlen(s1)); in randomcoll()
1025 MD5Final(hash1, &ctx1); in randomcoll()
/freebsd/contrib/wpa/hostapd/
H A Dctrl_iface.c2471 static void restore_tk(void *ctx1, void *ctx2) in restore_tk() argument
2473 struct hostapd_data *hapd = ctx1; in restore_tk()