/freebsd/lib/libcrypt/ |
H A D | crypt-md5.c | 47 MD5_CTX ctx,ctx1; in crypt_md5() local 78 MD5Init(&ctx1); in crypt_md5() 79 MD5Update(&ctx1, (const u_char *)pw, strlen(pw)); in crypt_md5() 80 MD5Update(&ctx1, (const u_char *)salt, (u_int)sl); in crypt_md5() 81 MD5Update(&ctx1, (const u_char *)pw, strlen(pw)); in crypt_md5() 82 MD5Final(final, &ctx1); in crypt_md5() 110 MD5Init(&ctx1); in crypt_md5() 112 MD5Update(&ctx1, (const u_char *)pw, strlen(pw)); in crypt_md5() 114 MD5Update(&ctx1, (const u_char *)final, MD5_SIZE); in crypt_md5() 117 MD5Update(&ctx1, (const u_char *)salt, (u_int)sl); in crypt_md5() [all …]
|
/freebsd/crypto/openssl/test/ |
H A D | sm3_internal_test.c | 59 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 D | keymgmt_internal_test.c | 31 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 D | EVP_PKEY_DSA_paramvalidate.c | 110 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 D | dmardump.c | 106 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 D | intel_ctx.c | 142 dmar_pte_store1(&ctxp->ctx1, DMAR_CTX1_T_PASS | DMAR_CTX1_P); in ctx_id_entry_init_one() 144 dmar_pte_store1(&ctxp->ctx1, DMAR_CTX1_T_UNTR | in ctx_id_entry_init_one() 161 KASSERT(move || (ctxp->ctx1 == 0 && ctxp->ctx2 == 0), in ctx_id_entry_init() 165 ctxp->ctx1, ctxp->ctx2)); in ctx_id_entry_init() 506 struct dmar_ctx *ctx, *ctx1; in dmar_get_ctx_for_dev1() local 555 ctx1 = dmar_ctx_alloc(domain1, rid); in dmar_get_ctx_for_dev1() 556 ctxp = dmar_map_ctx_entry(ctx1, &sf); in dmar_get_ctx_for_dev1() 566 ctx = ctx1; in dmar_get_ctx_for_dev1() 593 free(ctx1, M_DMAR_CTX); in dmar_get_ctx_for_dev1() 786 dmar_pte_clear(&ctxp->ctx1); in dmar_free_ctx_locked()
|
H A D | amd_ctx.c | 509 struct amdiommu_ctx *ctx, *ctx1; in amdiommu_get_ctx_for_dev() local 543 ctx1 = amdiommu_ctx_alloc(domain1, rid); in amdiommu_get_ctx_for_dev() 544 amdiommu_ctx_init_irte(ctx1); in amdiommu_get_ctx_for_dev() 554 ctx = ctx1; in amdiommu_get_ctx_for_dev() 573 free(ctx1, M_AMDIOMMU_CTX); in amdiommu_get_ctx_for_dev()
|
H A D | intel_reg.h | 45 uint64_t ctx1; member
|
/freebsd/sbin/ipf/libipf/ |
H A D | save_file.c | 61 file_match(void *ctx1, void *ctx2) in file_match() argument 63 file_opts_t *f1 = ctx1, *f2 = ctx2; in file_match()
|
H A D | save_v2trap.c | 53 snmpv2_match(void *ctx1, void *ctx2) in snmpv2_match() argument 55 snmpv2_opts_t *s1 = ctx1, *s2 = ctx2; in snmpv2_match()
|
H A D | save_v1trap.c | 49 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 D | wpa_auth.h | 614 void (*cb)(void *ctx1, void *ctx2), 615 void *ctx1, void *ctx2); 617 void (*cb)(void *ctx1, void *ctx2), 618 void *ctx1, void *ctx2); 620 void (*cb)(void *ctx1, void *ctx2), 621 void *ctx1, void *ctx2);
|
H A D | wpa_auth_i.h | 169 void (*eapol_status_cb)(void *ctx1, void *ctx2);
|
H A D | wpa_auth.c | 6845 void (*cb)(void *ctx1, void *ctx2), argument 6846 void *ctx1, void *ctx2) 6867 void (*cb)(void *ctx1, void *ctx2), argument 6868 void *ctx1, void *ctx2) 7047 void (*cb)(void *ctx1, void *ctx2), argument 7048 void *ctx1, void *ctx2) 7098 sm->eapol_status_cb_ctx1 = ctx1;
|
/freebsd/usr.bin/sort/ |
H A D | coll.c | 996 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 D | ctrl_iface.c | 2261 static void restore_tk(void *ctx1, void *ctx2) in restore_tk() argument 2263 struct hostapd_data *hapd = ctx1; in restore_tk()
|