Home
last modified time | relevance | path

Searched refs:scratch (Results 1 – 25 of 194) sorted by relevance

12345678

/freebsd-14.2/crypto/openssl/crypto/modes/
H A Dxts128.c33 } tweak, scratch; in CRYPTO_xts128_encrypt() local
48 memcpy(scratch.c, inp, 16); in CRYPTO_xts128_encrypt()
49 scratch.u[0] ^= tweak.u[0]; in CRYPTO_xts128_encrypt()
50 scratch.u[1] ^= tweak.u[1]; in CRYPTO_xts128_encrypt()
55 (*ctx->block1) (scratch.c, scratch.c, ctx->key1); in CRYPTO_xts128_encrypt()
57 scratch.u[0] ^= tweak.u[0]; in CRYPTO_xts128_encrypt()
96 scratch.c[i] = c; in CRYPTO_xts128_encrypt()
100 (*ctx->block1) (scratch.c, scratch.c, ctx->key1); in CRYPTO_xts128_encrypt()
138 (*ctx->block1) (scratch.c, scratch.c, ctx->key1); in CRYPTO_xts128_encrypt()
145 scratch.c[i] = c; in CRYPTO_xts128_encrypt()
[all …]
H A Dccm128.c149 } scratch; in CRYPTO_ccm128_encrypt() local
188 temp.u[0] ^= scratch.u[0]; in CRYPTO_ccm128_encrypt()
189 temp.u[1] ^= scratch.u[1]; in CRYPTO_ccm128_encrypt()
213 ctx->cmac.u[0] ^= scratch.u[0]; in CRYPTO_ccm128_encrypt()
214 ctx->cmac.u[1] ^= scratch.u[1]; in CRYPTO_ccm128_encrypt()
233 } scratch; in CRYPTO_ccm128_decrypt() local
263 memcpy(out, scratch.c, 16); in CRYPTO_ccm128_decrypt()
288 ctx->cmac.u[0] ^= scratch.u[0]; in CRYPTO_ccm128_decrypt()
289 ctx->cmac.u[1] ^= scratch.u[1]; in CRYPTO_ccm128_decrypt()
322 } scratch; in CRYPTO_ccm128_encrypt_ccm64() local
[all …]
/freebsd-14.2/contrib/bsnmp/snmp_target/
H A Dtarget_snmp.c181 ctx->scratch->ptr1 = malloc(ctx->scratch->int1); in op_snmp_target_addrs()
185 ctx->scratch->int1); in op_snmp_target_addrs()
195 ctx->scratch->ptr1 = malloc(ctx->scratch->int1); in op_snmp_target_addrs()
199 ctx->scratch->int1); in op_snmp_target_addrs()
251 free(ctx->scratch->ptr1); in op_snmp_target_addrs()
274 free(ctx->scratch->ptr1); in op_snmp_target_addrs()
279 ctx->scratch->int1); in op_snmp_target_addrs()
285 ctx->scratch->int1); in op_snmp_target_addrs()
395 ctx->scratch->ptr1 = malloc(ctx->scratch->int1); in op_snmp_target_params()
399 ctx->scratch->int1); in op_snmp_target_params()
[all …]
/freebsd-14.2/sys/dev/irdma/
H A Dirdma_uda.h73 u32 op, u64 scratch);
76 u64 scratch);
84 struct irdma_ah_info *info, u64 scratch) in irdma_sc_create_ah() argument
87 scratch); in irdma_sc_create_ah()
94 scratch); in irdma_sc_destroy_ah()
99 u64 scratch) in irdma_sc_create_mcast_grp() argument
102 scratch); in irdma_sc_create_mcast_grp()
107 u64 scratch) in irdma_sc_modify_mcast_grp() argument
110 scratch); in irdma_sc_modify_mcast_grp()
115 u64 scratch) in irdma_sc_destroy_mcast_grp() argument
[all …]
H A Dirdma_type.h708 u64 scratch; member
1267 u64 scratch; member
1273 u64 scratch; member
1278 u64 scratch; member
1285 u64 scratch; member
1292 u64 scratch; member
1297 u64 scratch; member
1303 u64 scratch; member
1309 u64 scratch; member
1315 u64 scratch; member
[all …]
H A Dirdma_ctrl.c239 u64 scratch, bool post_sq) in irdma_sc_add_arp_cache_entry() argument
311 u64 scratch, bool post_sq) in irdma_sc_manage_apbvt_entry() argument
359 u64 scratch, bool post_sq) in irdma_sc_manage_qhash_table_entry() argument
510 u64 scratch, bool post_sq) in irdma_sc_qp_create() argument
563 u64 scratch, bool post_sq) in irdma_sc_qp_modify() argument
1130 u64 scratch, bool post_sq) in irdma_sc_alloc_stag() argument
2104 u64 scratch) in irdma_sc_gather_stats() argument
2148 bool alloc, u64 scratch) in irdma_sc_manage_stats_inst() argument
2428 u64 scratch, bool post_sq) in irdma_sc_manage_push_page() argument
2467 u64 scratch) in irdma_sc_suspend_qp() argument
[all …]
/freebsd-14.2/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_begemot.c83 ctx->scratch->int1 = storage_tbl_refresh; in op_begemot()
88 ctx->scratch->int1 = fs_tbl_refresh; in op_begemot()
93 ctx->scratch->int1 = disk_storage_tbl_refresh; in op_begemot()
98 ctx->scratch->int1 = network_tbl_refresh; in op_begemot()
103 ctx->scratch->int1 = swins_tbl_refresh; in op_begemot()
108 ctx->scratch->int1 = swrun_tbl_refresh; in op_begemot()
138 storage_tbl_refresh = ctx->scratch->int1; in op_begemot()
142 fs_tbl_refresh = ctx->scratch->int1; in op_begemot()
150 network_tbl_refresh = ctx->scratch->int1; in op_begemot()
154 swins_tbl_refresh = ctx->scratch->int1; in op_begemot()
[all …]
/freebsd-14.2/sys/dev/ow/
H A Dow_temp.c99 memcpy(scratch, cmd.xpt_read, len); in ow_temp_read_scratchpad()
133 uint8_t scratch[8 + 1]; in ow_temp_event_thread() local
155 rv = ow_temp_read_scratchpad(sc->dev, scratch, sizeof(scratch)); in ow_temp_event_thread()
157 crc = own_crc(sc->dev, scratch, sizeof(scratch) - 1); in ow_temp_event_thread()
158 if (crc == scratch[8]) { in ow_temp_event_thread()
160 if (scratch[7]) { in ow_temp_event_thread()
165 tmp = (int16_t)((scratch[0] & 0xfe) | in ow_temp_event_thread()
166 (scratch[1] << 8)) << 3; in ow_temp_event_thread()
167 tmp += 16 - scratch[6] - 4; /* count_per_c == 16 */ in ow_temp_event_thread()
169 tmp = (int16_t)(scratch[0] | (scratch[1] << 8)) << 3; in ow_temp_event_thread()
[all …]
/freebsd-14.2/sys/crypto/openssl/
H A Dossl_arm.h56 uint32_t iv32[4], scratch[4]; in AES_CBC_ENCRYPT() local
76 memcpy(scratch, in, AES_BLOCK_LEN); in AES_CBC_ENCRYPT()
79 scratch[0] ^= iv32[0]; in AES_CBC_ENCRYPT()
80 scratch[1] ^= iv32[1]; in AES_CBC_ENCRYPT()
81 scratch[2] ^= iv32[2]; in AES_CBC_ENCRYPT()
82 scratch[3] ^= iv32[3]; in AES_CBC_ENCRYPT()
84 AES_encrypt(scratch, out, key); in AES_CBC_ENCRYPT()
/freebsd-14.2/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_snmp.c154 if ((ctx->scratch->int1 = strlen(bridge_default)) >= IFNAMSIZ) in bridge_default_name_save()
157 if ((ctx->scratch->ptr1 = malloc(IFNAMSIZ)) == NULL) in bridge_default_name_save()
160 strncpy(ctx->scratch->ptr1, bridge_default, ctx->scratch->int1); in bridge_default_name_save()
208 ctx->scratch->int1 = bridge_data_maxage; in op_begemot_bridge_config()
216 ctx->scratch->int1 = val->v.integer; in op_begemot_bridge_config()
224 bridge_set_default_name(ctx->scratch->ptr1, in op_begemot_bridge_config()
225 ctx->scratch->int1); in op_begemot_bridge_config()
226 free(ctx->scratch->ptr1); in op_begemot_bridge_config()
229 bridge_data_maxage = ctx->scratch->int1; in op_begemot_bridge_config()
237 free(ctx->scratch->ptr1); in op_begemot_bridge_config()
[all …]
H A Dbridge_if.c765 ctx->scratch->int1 = bif->priority; in op_dot1d_stp()
805 ctx->scratch->int1 = bif->stp_version; in op_dot1d_stp()
902 ctx->scratch->int1 = bif->age_time; in op_dot1d_tp()
1009 ctx->scratch->int1 = bif->if_status; in bridge_set_if_status()
1027 ctx->scratch->int1 = bif->if_status; in bridge_set_if_status()
1048 ctx->scratch->int1 = RowStatus_destroy; in bridge_set_if_status()
1073 ctx->scratch->int1 = bif->if_status; in bridge_set_if_status()
1089 switch (ctx->scratch->int1) { in bridge_rollback_if_status()
1221 ctx->scratch->int1 = bif->priority; in op_begemot_stp()
1428 ctx->scratch->int1 = bif->age_time; in op_begemot_tp()
[all …]
H A Dbridge_port.c510 ctx->scratch->int1); in op_dot1d_stp_port()
514 ctx->scratch->int1); in op_dot1d_stp_port()
518 ctx->scratch->int1); in op_dot1d_stp_port()
666 ctx->scratch->int1); in op_dot1d_stp_ext_port()
670 ctx->scratch->int1); in op_dot1d_stp_ext_port()
674 ctx->scratch->int1); in op_dot1d_stp_ext_port()
1274 ctx->scratch->int1); in op_begemot_stp_port()
1278 ctx->scratch->int1); in op_begemot_stp_port()
1282 ctx->scratch->int1); in op_begemot_stp_port()
1412 ctx->scratch->int1); in op_begemot_stp_ext_port()
[all …]
/freebsd-14.2/contrib/bsnmp/snmp_usm/
H A Dusm_snmp.c233 if (ctx->scratch->ptr1 == NULL) in op_usm_users()
266 if (ctx->scratch->ptr1 == NULL) in op_usm_users()
278 ctx->scratch->ptr2 = in op_usm_users()
280 if (ctx->scratch->ptr2 == NULL) in op_usm_users()
330 free(ctx->scratch->ptr1); in op_usm_users()
333 if (ctx->scratch->ptr2 != NULL) in op_usm_users()
334 free(ctx->scratch->ptr2); in op_usm_users()
359 free(ctx->scratch->ptr1); in op_usm_users()
368 free(ctx->scratch->ptr1); in op_usm_users()
373 ctx->scratch->int2); in op_usm_users()
[all …]
/freebsd-14.2/contrib/bsnmp/snmpd/
H A Dexport.c63 ctx->scratch->ptr1 = *valp; in string_save()
66 *valp = ctx->scratch->ptr1; in string_save()
82 free(ctx->scratch->ptr1); in string_commit()
92 *valp = ctx->scratch->ptr1; in string_rollback()
101 free(ctx->scratch->ptr1); in string_free()
177 valp[0] = ctx->scratch->int1 >> 24; in ip_rollback()
178 valp[1] = ctx->scratch->int1 >> 16; in ip_rollback()
179 valp[2] = ctx->scratch->int1 >> 8; in ip_rollback()
180 valp[3] = ctx->scratch->int1; in ip_rollback()
226 free(ctx->scratch->ptr1); in oid_rollback()
[all …]
H A Daction.c394 ctx->scratch->int1 = snmp_trace; in op_debug()
415 snmp_trace = ctx->scratch->int1; in op_debug()
666 ctx->scratch->int1 = snmpd.txbuf; in op_snmpd_config()
674 ctx->scratch->int1 = snmpd.rxbuf; in op_snmpd_config()
712 snmpd.rxbuf = ctx->scratch->int1; in op_snmpd_config()
715 snmpd.txbuf = ctx->scratch->int1; in op_snmpd_config()
1032 ctx->scratch->ptr1 = mdep; in op_modules()
1123 if (ctx->scratch->ptr1 == NULL) in op_snmp_engine()
1150 free(ctx->scratch->ptr1); in op_snmp_engine()
1167 ctx->scratch->ptr1, ctx->scratch->int1); in op_snmp_engine()
[all …]
H A Dtrans_udp.c371 ctx->scratch->int1 = (p != NULL); in op_snmp_port()
378 ctx->scratch->int2 = TRUTH_GET(value->v.integer); in op_snmp_port()
380 if (ctx->scratch->int2) { in op_snmp_port()
398 if (ctx->scratch->int1 == 0) { in op_snmp_port()
400 if (ctx->scratch->int2 == 1) { in op_snmp_port()
411 if (ctx->scratch->int1 == 1) { in op_snmp_port()
413 if (ctx->scratch->int2 == 0) { in op_snmp_port()
/freebsd-14.2/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_snmp.c351 free(ctx->scratch->ptr1); in op_wlan_iface()
356 free(ctx->scratch->ptr1); in op_wlan_iface()
366 free(ctx->scratch->ptr1); in op_wlan_iface()
372 free(ctx->scratch->ptr1); in op_wlan_iface()
378 free(ctx->scratch->ptr1); in op_wlan_iface()
405 free(ctx->scratch->ptr1); in op_wlan_iface()
689 vlen = ctx->scratch->int1; in op_wlan_iface_config()
701 free(ctx->scratch->ptr1); in op_wlan_iface_config()
862 free(ctx->scratch->ptr1); in op_wlan_iface_config()
2192 free(ctx->scratch->ptr1); in op_wlan_mesh_iface()
[all …]
/freebsd-14.2/contrib/bsnmp/snmp_mibII/
H A DmibII_begemot.c59 ctx->scratch->int1 = mibif_force_hc_update_interval; in op_begemot_mibII()
64 ctx->scratch->int1 = mibII_poll_ticks; in op_begemot_mibII()
74 mibif_force_hc_update_interval = ctx->scratch->int1; in op_begemot_mibII()
78 mibII_poll_ticks = ctx->scratch->int1; in op_begemot_mibII()
87 mibif_force_hc_update_interval = ctx->scratch->int1; in op_begemot_mibII()
H A DmibII_ip.c184 ctx->scratch->int1 = ip_forwarding ? 1 : 2; in op_ip()
185 ctx->scratch->int2 = value->v.integer; in op_ip()
189 ctx->scratch->int1 = old ? 1 : 2; in op_ip()
193 ctx->scratch->int1 = old; in op_ip()
199 ctx->scratch->int1 = ip_defttl; in op_ip()
200 ctx->scratch->int2 = value->v.integer; in op_ip()
206 ctx->scratch->int1 = old; in op_ip()
215 if (ctx->scratch->int1 == 1) { in op_ip()
216 if (ctx->scratch->int2 == 2) in op_ip()
219 if (ctx->scratch->int2 == 1) in op_ip()
[all …]
/freebsd-14.2/contrib/bsnmp/snmp_vacm/
H A Dvacm_snmp.c198 ctx->scratch->int1 = user->status; in op_vacm_security_to_group()
228 ctx->scratch->int1)); in op_vacm_security_to_group()
233 user->status = ctx->scratch->int1; in op_vacm_security_to_group()
291 ctx->scratch->int1 = acl->ctx_match; in op_vacm_access()
301 ctx->scratch->ptr1 = acl->read_view; in op_vacm_access()
349 ctx->scratch->int1 = acl->status; in op_vacm_access()
494 if (ctx->scratch->ptr1 == NULL) in op_vacm_view()
505 ctx->scratch->int1 = view->exclude; in op_vacm_view()
533 ctx->scratch->int1 = view->status; in op_vacm_view()
542 free(ctx->scratch->ptr1); in op_vacm_view()
[all …]
/freebsd-14.2/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_data_sprom.c899 scratch._repr[1] <<= shift; \ in bhnd_nvram_sprom_write_offset()
901 scratch._repr[1] >>= -shift; \ in bhnd_nvram_sprom_write_offset()
902 scratch._repr[1] &= mask; \ in bhnd_nvram_sprom_write_offset()
905 scratch._repr[1] = _swap(scratch._repr[1]); \ in bhnd_nvram_sprom_write_offset()
909 &scratch._repr[0], sizeof(scratch._repr[0])); \ in bhnd_nvram_sprom_write_offset()
922 scratch._repr[0] |= scratch._repr[1]; \ in bhnd_nvram_sprom_write_offset()
926 &scratch._repr[0], sizeof(scratch._repr[0])); \ in bhnd_nvram_sprom_write_offset()
991 &scratch._repr[0], sizeof(scratch._repr[0])); \ in bhnd_nvram_sprom_read_offset()
999 scratch._repr[0] = _swap(scratch._repr[0]); \ in bhnd_nvram_sprom_read_offset()
1002 scratch._repr[0] &= mask; \ in bhnd_nvram_sprom_read_offset()
[all …]
/freebsd-14.2/contrib/pam_modules/pam_passwdqc/
H A Dpasswdqc_check.c198 char *scratch; in is_based() local
213 scratch = NULL; in is_based()
222 if (!scratch) { in is_based()
223 if (!(scratch = malloc(length + 1))) in is_based()
226 memcpy(scratch, original, i); in is_based()
227 memcpy(&scratch[i], &original[i + j], in is_based()
229 if (is_simple(params, scratch)) { in is_based()
230 clean(scratch); in is_based()
237 clean(scratch); in is_based()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxxUnorderedMap.cpp72 auto scratch = name; in consumeInlineNamespace() local
73 if (scratch.consume_front("__") && std::isalnum(scratch[0])) { in consumeInlineNamespace()
74 scratch = scratch.drop_while([](char c) { return std::isalnum(c); }); in consumeInlineNamespace()
75 if (scratch.consume_front("::")) { in consumeInlineNamespace()
77 name = scratch; in consumeInlineNamespace()
/freebsd-14.2/sys/cddl/contrib/opensolaris/uts/intel/dtrace/
H A Dfasttrap_isa.c1592 scratch[i++] = FASTTRAP_REX(1, 0, 0, 1); in fasttrap_pid_probe()
1597 scratch[i++] = FASTTRAP_MOV_EAX; in fasttrap_pid_probe()
1599 scratch[i++] = FASTTRAP_MOV_ECX; in fasttrap_pid_probe()
1621 *(uint64_t *)&scratch[i] = *reg; in fasttrap_pid_probe()
1637 scratch[i++] = FASTTRAP_GROUP5_OP; in fasttrap_pid_probe()
1638 scratch[i++] = FASTTRAP_MODRM(0, 4, 5); in fasttrap_pid_probe()
1640 *(uint32_t *)&scratch[i] = 0; in fasttrap_pid_probe()
1651 scratch[i++] = FASTTRAP_JMP32; in fasttrap_pid_probe()
1662 scratch[i++] = FASTTRAP_INT; in fasttrap_pid_probe()
1663 scratch[i++] = T_DTRACE_RET; in fasttrap_pid_probe()
[all …]
/freebsd-14.2/usr.sbin/bsnmpd/modules/snmp_netgraph/
H A Dsnmp_netgraph.c1036 ctx->scratch->int1 = resbufsiz; in op_ng_config()
1044 ctx->scratch->int1 = timeout; in op_ng_config()
1070 resbufsiz = ctx->scratch->int1; in op_ng_config()
1074 timeout = ctx->scratch->int1; in op_ng_config()
1265 ctx->scratch->ptr2 = name; in op_ng_type()
1266 ctx->scratch->int2 = namelen; in op_ng_type()
1270 if (ctx->scratch->int1 & 1) { in op_ng_type()
1294 if (!(ctx->scratch->int1 & 2)) { in op_ng_type()
1296 if (ctx->scratch->int1 & 1) { in op_ng_type()
1311 free(ctx->scratch->ptr2); in op_ng_type()
[all …]

12345678