Searched refs:scratch (Results 1 - 25 of 118) sorted by relevance

12345

/freebsd-current/crypto/openssl/crypto/modes/
H A Dxts128.c33 } tweak, scratch; local
48 memcpy(scratch.c, inp, 16);
49 scratch.u[0] ^= tweak.u[0];
50 scratch.u[1] ^= tweak.u[1];
52 scratch.u[0] = ((u64_a1 *)inp)[0] ^ tweak.u[0];
53 scratch.u[1] = ((u64_a1 *)inp)[1] ^ tweak.u[1];
55 (*ctx->block1) (scratch.c, scratch.c, ctx->key1);
57 scratch.u[0] ^= tweak.u[0];
58 scratch
[all...]
H A Dccm128.c149 } scratch; local
185 (*block) (ctx->nonce.c, scratch.c, key);
188 temp.u[0] ^= scratch.u[0];
189 temp.u[1] ^= scratch.u[1];
192 ((u64_a1 *)out)[0] = scratch.u[0] ^ ((u64_a1 *)inp)[0];
193 ((u64_a1 *)out)[1] = scratch.u[1] ^ ((u64_a1 *)inp)[1];
204 (*block) (ctx->nonce.c, scratch.c, key);
206 out[i] = scratch.c[i] ^ inp[i];
212 (*block) (ctx->nonce.c, scratch.c, key);
213 ctx->cmac.u[0] ^= scratch
233 } scratch; local
322 } scratch; local
386 } scratch; local
[all...]
/freebsd-current/sys/dev/irdma/
H A Dirdma_uda.h73 u32 op, u64 scratch);
76 u64 scratch);
84 struct irdma_ah_info *info, u64 scratch)
87 scratch);
91 struct irdma_ah_info *info, u64 scratch)
94 scratch);
99 u64 scratch)
102 scratch);
107 u64 scratch)
110 scratch);
83 irdma_sc_create_ah(struct irdma_sc_cqp *cqp, struct irdma_ah_info *info, u64 scratch) argument
90 irdma_sc_destroy_ah(struct irdma_sc_cqp *cqp, struct irdma_ah_info *info, u64 scratch) argument
97 irdma_sc_create_mcast_grp(struct irdma_sc_cqp *cqp, struct irdma_mcast_grp_info *info, u64 scratch) argument
105 irdma_sc_modify_mcast_grp(struct irdma_sc_cqp *cqp, struct irdma_mcast_grp_info *info, u64 scratch) argument
113 irdma_sc_destroy_mcast_grp(struct irdma_sc_cqp *cqp, struct irdma_mcast_grp_info *info, u64 scratch) argument
[all...]
H A Dirdma_type.h708 u64 scratch; member in struct:irdma_ccq_cqe_info
1199 int irdma_sc_ccq_create(struct irdma_sc_cq *ccq, u64 scratch,
1201 int irdma_sc_ccq_destroy(struct irdma_sc_cq *ccq, u64 scratch, bool post_sq);
1207 int irdma_sc_cceq_create(struct irdma_sc_ceq *ceq, u64 scratch);
1210 int irdma_sc_ceq_destroy(struct irdma_sc_ceq *ceq, u64 scratch, bool post_sq);
1235 struct irdma_create_qp_info *info, u64 scratch,
1237 int irdma_sc_qp_destroy(struct irdma_sc_qp *qp, u64 scratch,
1240 struct irdma_qp_flush_info *info, u64 scratch,
1244 struct irdma_modify_qp_info *info, u64 scratch,
1253 int irdma_sc_cq_destroy(struct irdma_sc_cq *cq, u64 scratch, boo
1267 u64 scratch; member in struct:cqp_info::__anon48::__anon49
1273 u64 scratch; member in struct:cqp_info::__anon48::__anon50
1278 u64 scratch; member in struct:cqp_info::__anon48::__anon51
1285 u64 scratch; member in struct:cqp_info::__anon48::__anon52
1292 u64 scratch; member in struct:cqp_info::__anon48::__anon53
1297 u64 scratch; member in struct:cqp_info::__anon48::__anon54
1303 u64 scratch; member in struct:cqp_info::__anon48::__anon55
1309 u64 scratch; member in struct:cqp_info::__anon48::__anon56
1315 u64 scratch; member in struct:cqp_info::__anon48::__anon57
1321 u64 scratch; member in struct:cqp_info::__anon48::__anon58
1327 u64 scratch; member in struct:cqp_info::__anon48::__anon59
1332 u64 scratch; member in struct:cqp_info::__anon48::__anon60
1339 u64 scratch; member in struct:cqp_info::__anon48::__anon61
1344 u64 scratch; member in struct:cqp_info::__anon48::__anon62
1351 u64 scratch; member in struct:cqp_info::__anon48::__anon63
1357 u64 scratch; member in struct:cqp_info::__anon48::__anon64
1363 u64 scratch; member in struct:cqp_info::__anon48::__anon65
1369 u64 scratch; member in struct:cqp_info::__anon48::__anon66
1374 u64 scratch; member in struct:cqp_info::__anon48::__anon67
1379 u64 scratch; member in struct:cqp_info::__anon48::__anon68
1384 u64 scratch; member in struct:cqp_info::__anon48::__anon69
1389 u64 scratch; member in struct:cqp_info::__anon48::__anon70
1395 u64 scratch; member in struct:cqp_info::__anon48::__anon71
1401 u64 scratch; member in struct:cqp_info::__anon48::__anon72
1409 u64 scratch; member in struct:cqp_info::__anon48::__anon73
1417 u64 scratch; member in struct:cqp_info::__anon48::__anon74
1423 u64 scratch; member in struct:cqp_info::__anon48::__anon75
1429 u64 scratch; member in struct:cqp_info::__anon48::__anon76
1435 u64 scratch; member in struct:cqp_info::__anon48::__anon77
1441 u64 scratch; member in struct:cqp_info::__anon48::__anon78
1447 u64 scratch; member in struct:cqp_info::__anon48::__anon79
1453 u64 scratch; member in struct:cqp_info::__anon48::__anon80
1459 u64 scratch; member in struct:cqp_info::__anon48::__anon81
1465 u64 scratch; member in struct:cqp_info::__anon48::__anon82
1471 u64 scratch; member in struct:cqp_info::__anon48::__anon83
1477 u64 scratch; member in struct:cqp_info::__anon48::__anon84
1483 u64 scratch; member in struct:cqp_info::__anon48::__anon85
1489 u64 scratch; member in struct:cqp_info::__anon48::__anon86
1495 u64 scratch; member in struct:cqp_info::__anon48::__anon87
1501 u64 scratch; member in struct:cqp_info::__anon48::__anon88
1521 irdma_sc_cqp_get_next_send_wqe(struct irdma_sc_cqp *cqp, u64 scratch) argument
[all...]
/freebsd-current/sys/crypto/openssl/
H A Dossl_arm.h56 uint32_t iv32[4], scratch[4]; local
60 * The key buffer, that normally holds round keys is used as a scratch
76 memcpy(scratch, in, AES_BLOCK_LEN);
79 scratch[0] ^= iv32[0];
80 scratch[1] ^= iv32[1];
81 scratch[2] ^= iv32[2];
82 scratch[3] ^= iv32[3];
84 AES_encrypt(scratch, out, key);
/freebsd-current/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_begemot.c83 ctx->scratch->int1 = storage_tbl_refresh;
88 ctx->scratch->int1 = fs_tbl_refresh;
93 ctx->scratch->int1 = disk_storage_tbl_refresh;
98 ctx->scratch->int1 = network_tbl_refresh;
103 ctx->scratch->int1 = swins_tbl_refresh;
108 ctx->scratch->int1 = swrun_tbl_refresh;
138 storage_tbl_refresh = ctx->scratch->int1;
142 fs_tbl_refresh = ctx->scratch->int1;
146 disk_storage_tbl_refresh = ctx->scratch->int1;
150 network_tbl_refresh = ctx->scratch
[all...]
/freebsd-current/contrib/bsnmp/snmp_mibII/
H A DmibII_begemot.c59 ctx->scratch->int1 = mibif_force_hc_update_interval;
64 ctx->scratch->int1 = mibII_poll_ticks;
74 mibif_force_hc_update_interval = ctx->scratch->int1;
78 mibII_poll_ticks = ctx->scratch->int1;
87 mibif_force_hc_update_interval = ctx->scratch->int1;
H A DmibII_ip.c184 ctx->scratch->int1 = ip_forwarding ? 1 : 2;
185 ctx->scratch->int2 = value->v.integer;
189 ctx->scratch->int1 = old ? 1 : 2;
193 ctx->scratch->int1 = old;
199 ctx->scratch->int1 = ip_defttl;
200 ctx->scratch->int2 = value->v.integer;
206 ctx->scratch->int1 = old;
215 if (ctx->scratch->int1 == 1) {
216 if (ctx->scratch->int2 == 2)
219 if (ctx->scratch
[all...]
/freebsd-current/sys/dev/ow/
H A Dow_temp.c91 ow_temp_read_scratchpad(device_t dev, uint8_t *scratch, int len) argument
98 memcpy(scratch, cmd.xpt_read, len);
132 uint8_t scratch[8 + 1]; local
154 rv = ow_temp_read_scratchpad(sc->dev, scratch, sizeof(scratch));
156 crc = own_crc(sc->dev, scratch, sizeof(scratch) - 1);
157 if (crc == scratch[8]) {
159 if (scratch[7]) {
164 tmp = (int16_t)((scratch[
[all...]
/freebsd-current/contrib/bsnmp/snmp_target/
H A Dtarget_snmp.c168 ctx->scratch->ptr1 = malloc(SNMP_UDP_ADDR_SIZ);
169 if (ctx->scratch->ptr1 == NULL)
171 memcpy(ctx->scratch->ptr1, addrs->address,
180 ctx->scratch->int1 = strlen(addrs->taglist) + 1;
181 ctx->scratch->ptr1 = malloc(ctx->scratch->int1);
182 if (ctx->scratch->ptr1 == NULL)
184 strlcpy(ctx->scratch->ptr1, addrs->taglist,
185 ctx->scratch->int1);
194 ctx->scratch
[all...]
/freebsd-current/tools/regression/nfsmmap/test1/
H A DMakefile5 CLEANFILES= test1.zeros test1.good test1.data test1.scratch
14 cmp -s ${.OBJDIR}/test1.scratch ${.OBJDIR}/test1.good ; then \
/freebsd-current/tools/regression/nfsmmap/test2/
H A DMakefile5 CLEANFILES= test2.zeros test2.good test2.data test2.scratch
14 cmp -s ${.OBJDIR}/test2.scratch ${.OBJDIR}/test2.good ; then \
/freebsd-current/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_snmp.c154 if ((ctx->scratch->int1 = strlen(bridge_default)) >= IFNAMSIZ)
157 if ((ctx->scratch->ptr1 = malloc(IFNAMSIZ)) == NULL)
160 strncpy(ctx->scratch->ptr1, bridge_default, ctx->scratch->int1);
208 ctx->scratch->int1 = bridge_data_maxage;
216 ctx->scratch->int1 = val->v.integer;
224 bridge_set_default_name(ctx->scratch->ptr1,
225 ctx->scratch->int1);
226 free(ctx->scratch->ptr1);
229 bridge_data_maxage = ctx->scratch
[all...]
H A Dbridge_pf.c87 op, &(ctx->scratch->int1));
94 ctx->scratch->int1 =
H A Dbridge_if.c765 ctx->scratch->int1 = bif->priority;
775 ctx->scratch->int1 = bif->bridge_max_age;
785 ctx->scratch->int1 = bif->bridge_hello_time;
795 ctx->scratch->int1 = bif->bridge_fwd_delay;
805 ctx->scratch->int1 = bif->stp_version;
815 ctx->scratch->int1 = bif->tx_hold_count;
837 bridge_set_priority(bif, ctx->scratch->int1);
840 bridge_set_maxage(bif, ctx->scratch->int1);
843 bridge_set_hello_time(bif, ctx->scratch->int1);
846 bridge_set_forward_delay(bif, ctx->scratch
[all...]
H A Dbridge_port.c464 ctx->scratch->int1 = bp->priority;
475 ctx->scratch->int1 = bp->enable;
486 ctx->scratch->int1 = bp->path_cost;
510 ctx->scratch->int1);
514 ctx->scratch->int1);
518 ctx->scratch->int1);
623 ctx->scratch->int1 = bp->admin_edge;
634 ctx->scratch->int1 = bp->admin_ptp;
645 ctx->scratch->int1 = bp->admin_path_cost;
666 ctx->scratch
[all...]
/freebsd-current/contrib/bsnmp/snmpd/
H A Dexport.c53 * in scratch->ptr1 and the new value is allocated and copied.
63 ctx->scratch->ptr1 = *valp;
66 *valp = ctx->scratch->ptr1;
82 free(ctx->scratch->ptr1);
92 *valp = ctx->scratch->ptr1;
101 free(ctx->scratch->ptr1);
155 * Save the old IP address in scratch->int1 and set the new one.
160 ctx->scratch->int1 = (valp[0] << 24) | (valp[1] << 16) | (valp[2] << 8)
177 valp[0] = ctx->scratch->int1 >> 24;
178 valp[1] = ctx->scratch
[all...]
H A Daction.c389 ctx->scratch->int1 = debug.dump_pdus;
394 ctx->scratch->int1 = snmp_trace;
401 ctx->scratch->int1 = debug.logpri;
411 debug.dump_pdus = ctx->scratch->int1;
415 snmp_trace = ctx->scratch->int1;
419 debug.logpri = ctx->scratch->int1;
559 ctx->scratch->int1 = value->v.integer;
568 snmpd.auth_traps = ctx->scratch->int1;
666 ctx->scratch->int1 = snmpd.txbuf;
674 ctx->scratch
[all...]
/freebsd-current/contrib/bsnmp/snmp_usm/
H A Dusm_snmp.c205 ctx->scratch->int1 = RowStatus_createAndWait;
209 ctx->scratch->int1 = uuser->suser.auth_proto;
232 ctx->scratch->ptr1 = malloc(SNMP_AUTH_KEY_SIZ);
233 if (ctx->scratch->ptr1 == NULL)
235 memcpy(ctx->scratch->ptr1, uuser->suser.auth_key,
242 ctx->scratch->int1 = uuser->suser.priv_proto;
265 ctx->scratch->ptr1 = malloc(SNMP_PRIV_KEY_SIZ);
266 if (ctx->scratch->ptr1 == NULL)
268 memcpy(ctx->scratch->ptr1, uuser->suser.priv_key,
278 ctx->scratch
[all...]
/freebsd-current/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_snmp.c260 if ((ctx->scratch->ptr1 = malloc(IFNAMSIZ)) == NULL)
262 strlcpy(ctx->scratch->ptr1, wif->wname, IFNAMSIZ);
271 if ((ctx->scratch->ptr1 = malloc(IFNAMSIZ)) == NULL)
273 strlcpy(ctx->scratch->ptr1, wif->pname, IFNAMSIZ);
280 ctx->scratch->int1 = wif->mode;
287 ctx->scratch->ptr1 = malloc(sizeof(wif->flags));
288 if (ctx->scratch->ptr1 == NULL)
290 memcpy(ctx->scratch->ptr1, (uint8_t *)&wif->flags,
299 ctx->scratch->ptr1 = malloc(IEEE80211_ADDR_LEN);
300 if (ctx->scratch
[all...]
/freebsd-current/contrib/bsnmp/snmp_vacm/
H A Dvacm_snmp.c173 ctx->scratch->ptr1 = user->group->groupname;
174 ctx->scratch->int1 = strlen(user->group->groupname);
198 ctx->scratch->int1 = user->status;
227 return (vacm_user_set_group(user, ctx->scratch->ptr1,
228 ctx->scratch->int1));
231 if (ctx->scratch->int1 == RowStatus_destroy)
233 user->status = ctx->scratch->int1;
291 ctx->scratch->int1 = acl->ctx_match;
301 ctx->scratch->ptr1 = acl->read_view;
304 acl->read_view = ctx->scratch
[all...]
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxxUnorderedMap.cpp72 auto scratch = name; local
73 if (scratch.consume_front("__") && std::isalnum(scratch[0])) {
74 scratch = scratch.drop_while([](char c) { return std::isalnum(c); });
75 if (scratch.consume_front("::")) {
77 name = scratch;
/freebsd-current/contrib/pam_modules/pam_passwdqc/
H A Dpasswdqc_check.c198 char *scratch; local
213 scratch = NULL;
222 if (!scratch) {
223 if (!(scratch = malloc(length + 1)))
226 memcpy(scratch, original, i);
227 memcpy(&scratch[i], &original[i + j],
229 if (is_simple(params, scratch)) {
230 clean(scratch);
237 clean(scratch);
/freebsd-current/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_data_sprom.c438 /* The native representation must fit within our scratch array */
890 union bhnd_nvram_sprom_storage scratch; local
895 scratch._repr[1] = (_widen)value; \
899 scratch._repr[1] <<= shift; \
901 scratch._repr[1] >>= -shift; \
902 scratch._repr[1] &= mask; \
905 scratch._repr[1] = _swap(scratch._repr[1]); \
909 &scratch._repr[0], sizeof(scratch
985 union bhnd_nvram_sprom_storage scratch; local
[all...]
/freebsd-current/tools/tools/nanobsd/pcengines/
H A Dcommon.conf66 mkdir -pv z/scratch
70 echo "/dev/ad1s1a /z/scratch ufs rw,noauto,noatime 0 0" >> etc/fstab

Completed in 174 milliseconds

12345