| /freebsd/crypto/krb5/src/lib/crypto/builtin/aes/ |
| H A D | aeskey.c | 47 #define MARK_AS_ENCRYPTION_CTX(cx) (cx)->inf.b[2] |= (uint8_t)0x01 argument 48 #define MARK_AS_DECRYPTION_CTX(cx) (cx)->inf.b[2] &= (uint8_t)0xfe argument 92 AES_RETURN aes_xi(encrypt_key128)(const unsigned char *key, aes_encrypt_ctx cx[1]) in aes_xi() 95 cx->ks[0] = ss[0] = word_in(key, 0); in aes_xi() 96 cx->ks[1] = ss[1] = word_in(key, 1); in aes_xi() 97 cx->ks[2] = ss[2] = word_in(key, 2); in aes_xi() 98 cx->ks[3] = ss[3] = word_in(key, 3); in aes_xi() 101 ke4(cx->ks, 0); ke4(cx->ks, 1); in aes_xi() 102 ke4(cx->ks, 2); ke4(cx->ks, 3); in aes_xi() 103 ke4(cx->ks, 4); ke4(cx->ks, 5); in aes_xi() [all …]
|
| H A D | aes.h | 97 #define IS_ENCRYPTION_CTX(cx) (((cx)->inf.b[2] & (uint8_t)0x01) == 1) argument 98 #define IS_DECRYPTION_CTX(cx) (((cx)->inf.b[2] & (uint8_t)0x01) == 0) argument 135 AES_RETURN aes_encrypt_key128(const unsigned char *key, aes_encrypt_ctx cx[1]); 139 AES_RETURN aes_encrypt_key192(const unsigned char *key, aes_encrypt_ctx cx[1]); 143 AES_RETURN aes_encrypt_key256(const unsigned char *key, aes_encrypt_ctx cx[1]); 147 AES_RETURN aes_encrypt_key(const unsigned char *key, int key_len, aes_encrypt_ctx cx[1]); 150 AES_RETURN aes_encrypt(const unsigned char *in, unsigned char *out, const aes_encrypt_ctx cx[1]); 157 AES_RETURN aes_decrypt_key128(const unsigned char *key, aes_decrypt_ctx cx[1]); 161 AES_RETURN aes_decrypt_key192(const unsigned char *key, aes_decrypt_ctx cx[1]); 165 AES_RETURN aes_decrypt_key256(const unsigned char *key, aes_decrypt_ctx cx[1]); [all …]
|
| H A D | aescrypt.c | 100 AES_RETURN aes_xi(encrypt)(const unsigned char *in, unsigned char *out, const aes_encrypt_ctx cx[1]) 107 …if(cx->inf.b[0] != 10 * AES_BLOCK_SIZE && cx->inf.b[0] != 12 * AES_BLOCK_SIZE && cx->inf.b[0] != 1… 110 kp = cx->ks; 115 switch(cx->inf.b[0]) 142 for(rnd = 0; rnd < (cx->inf.b[0] >> 5) - 1ul; ++rnd) 153 for(rnd = 0; rnd < (cx->inf.b[0] >> 4) - 1ul; ++rnd) 232 AES_RETURN aes_xi(decrypt)(const unsigned char *in, unsigned char *out, const aes_decrypt_ctx cx[1]) 239 …if(cx->inf.b[0] != 10 * AES_BLOCK_SIZE && cx->inf.b[0] != 12 * AES_BLOCK_SIZE && cx->inf.b[0] != 1… 242 kp = cx->ks + (key_ofs ? (cx->inf.b[0] >> 2) : 0); 247 kp = cx->ks + (key_ofs ? 0 : (cx->inf.b[0] >> 2)); [all …]
|
| /freebsd/usr.sbin/ppp/ |
| H A D | radius.c | 168 if (rad_request_authenticator(r->cx.rad, R, sizeof R) != AUTH_LEN) { in demangle() 178 S = rad_server_secret(r->cx.rad); /* We need the RADIUS secret */ in demangle() 265 r->cx.fd = -1; /* Stop select()ing */ in radius_Process() 266 stype = r->cx.auth ? "auth" : "acct"; in radius_Process() 272 if (!r->cx.auth) { in radius_Process() 273 rad_close(r->cx.rad); in radius_Process() 281 if (!r->cx.auth) { in radius_Process() 282 rad_close(r->cx.rad); in radius_Process() 291 if (r->cx.auth) in radius_Process() 292 auth_Failure(r->cx.auth); in radius_Process() [all …]
|
| H A D | deflate.c | 47 z_stream cx; member 62 deflateReset(&state->cx); in DeflateResetOutput() 104 state->cx.next_out = wp; in DeflateOutput() 105 state->cx.avail_out = DEFLATE_CHUNK_LEN - 2; in DeflateOutput() 106 state->cx.next_in = MBUF_CTOP(mi); in DeflateOutput() 107 state->cx.avail_in = mi->m_len; in DeflateOutput() 112 if ((res = deflate(&state->cx, flush)) != Z_OK) { in DeflateOutput() 116 res, state->cx.msg ? state->cx.msg : ""); in DeflateOutput() 123 if (flush == Z_SYNC_FLUSH && state->cx.avail_out != 0) in DeflateOutput() 126 if (state->cx.avail_in == 0 && mi->m_next != NULL) { in DeflateOutput() [all …]
|
| H A D | command.c | 215 const char *cx; in HelpCommand() local 248 cx = showcx(cmd); in HelpCommand() 253 cmd->name, cxlen, cxlen, cx, dmax, dmax, cmd->helpmes); in HelpCommand() 266 Concatinate(arg->cx->physical->link.lcp.cfg.ident, in IdentCommand() 267 sizeof arg->cx->physical->link.lcp.cfg.ident, in IdentCommand() 275 if (arg->cx->state < DATALINK_LCP) { in SendIdentification() 279 return lcp_SendIdentification(&arg->cx->physical->link.lcp) ? 0 : 1; in SendIdentification() 296 bundle_DatalinkClone(arg->bundle, arg->cx, name); in CloneCommand() 308 if (arg->cx->state != DATALINK_CLOSED) { in RemoveCommand() 313 bundle_DatalinkRemove(arg->bundle, arg->cx); in RemoveCommand() [all …]
|
| H A D | datalink.c | 1070 prompt_Printf(arg->prompt, "Name: %s\n", arg->cx->name); in datalink_Show() 1072 datalink_State(arg->cx)); in datalink_Show() 1074 if (*arg->cx->peer.authname) in datalink_Show() 1075 prompt_Printf(arg->prompt, "%s\n", arg->cx->peer.authname); in datalink_Show() 1076 else if (arg->cx->state == DATALINK_OPEN) in datalink_Show() 1081 mp_Enddisc(arg->cx->peer.enddisc.class, in datalink_Show() 1082 arg->cx->peer.enddisc.address, in datalink_Show() 1083 arg->cx->peer.enddisc.len)); in datalink_Show() 1087 arg->cx->cfg.phone.list); in datalink_Show() 1088 if (arg->cx->cfg.dial.max) in datalink_Show() [all …]
|
| /freebsd/sys/netgraph/ |
| H A D | ng_deflate.c | 66 z_stream cx; /* compression context */ member 241 deflateEnd(&priv->cx); in ng_deflate_rcvmsg() 243 inflateEnd(&priv->cx); in ng_deflate_rcvmsg() 251 priv->cx.next_in = NULL; in ng_deflate_rcvmsg() 254 if ((res = deflateInit2(&priv->cx, in ng_deflate_rcvmsg() 260 res, priv->cx.msg); in ng_deflate_rcvmsg() 265 if ((res = inflateInit2(&priv->cx, in ng_deflate_rcvmsg() 269 res, priv->cx.msg); in ng_deflate_rcvmsg() 375 deflateEnd(&priv->cx); in ng_deflate_shutdown() 377 inflateEnd(&priv->cx); in ng_deflate_shutdown() [all …]
|
| /freebsd/contrib/bearssl/T0/ |
| H A D | CodeElementUIntExpr.cs | 30 TPointerExpr cx; field in CodeElementUIntExpr 34 TPointerExpr cx, int off) : base() in CodeElementUIntExpr() argument 37 this.cx = cx; in CodeElementUIntExpr() 53 return len + (cx.GetMaxBitLength(off) + 6) / 7; in GetLength() 61 int len2 = (cx.GetMaxBitLength(off) + 6) / 7; in Encode() 63 len2, cx.ToCExpr(off))); in Encode()
|
| H A D | OpcodeConst.cs | 76 TPointerExpr cx = val.ptr as TPointerExpr; in ToCodeElement() 77 if (cx != null) { in ToCodeElement() 78 return new CodeElementUIntExpr(1, cx, val.x); in ToCodeElement()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/VE/ |
| H A D | VEInstrVec.td | 169 let cx = 1 in defm VLDLZX : VLDm<"vldl.zx", 0x83, V64>; 179 let cx = 1 in defm VLDL2DZX : VLDm<"vldl2d.zx", 0xc3, V64>; 208 let vc = 1, cx = 0 in defm "" : VSTtgm<opcStr, opc, RC>; 209 let vc = 0, cx = 0 in defm NC : VSTtgm<opcStr#".nc", opc, RC>; 210 let vc = 1, cx = 1 in defm OT : VSTtgm<opcStr#".ot", opc, RC>; 211 let vc = 0, cx = 1 in defm NCOT : VSTtgm<opcStr#".nc.ot", opc, RC>; 292 let cx = 1 in defm VGTLZX : VGTm<"vgtl.zx", 0xa3, V64>; 332 let vc = 1, cx = 0 in defm "" : VSCtgm<opcStr, opc, RC>; 333 let vc = 0, cx = 0 in defm NC : VSCtgm<opcStr#".nc", opc, RC>; 334 let vc = 1, cx = 1 in defm OT : VSCtgm<opcStr#".ot", opc, RC>; [all …]
|
| H A D | VEInstrFormats.td | 70 bits<1> cx = 0; 78 let Inst{55} = cx; 117 bits<1> cx = 0; 127 let Inst{55} = cx; 146 bits<1> cx = 0; 158 let Inst{55} = cx; 208 bits<1> cx = 0; 220 let Inst{55} = cx; 246 bits<1> cx = 0; 260 let Inst{55} = cx;
|
| /freebsd/stand/i386/gptboot/ |
| H A D | gptldr.S | 62 start: xor %cx,%cx # Zero 63 mov %cx,%es # Address 64 mov %cx,%ds # data 65 mov %cx,%ss # Set up 98 mov $COPY_BLK_SZ,%cx # Copy 32k 103 mov %cx,%ds # Reset %ds and %es 104 mov %cx,%es 106 mov 0xa(%bx),%cx # Get BTX length and set 109 add %cx,%si # MEM_BTX 110 add %cx,%di [all …]
|
| /freebsd/sys/contrib/dev/rtw89/ |
| H A D | coex.c | 882 struct rtw89_btc_cx *cx = &btc->cx; in _send_fw_cmd() local 883 struct rtw89_btc_wl_info *wl = &cx->wl; in _send_fw_cmd() 923 struct rtw89_btc_cx *cx = &btc->cx; in _reset_btc_var() local 924 struct rtw89_btc_wl_info *wl = &btc->cx.wl; in _reset_btc_var() 925 struct rtw89_btc_bt_info *bt = &btc->cx.bt; in _reset_btc_var() 933 memset(cx, 0, sizeof(*cx)); in _reset_btc_var() 1106 struct rtw89_btc_cx *cx in _chk_btc_err() local 3221 struct rtw89_btc_cx *cx = &btc->cx; _update_btc_state_map() local 4477 struct rtw89_btc_cx *cx = &btc->cx; _set_ant_v0() local 5358 struct rtw89_btc_cx *cx = &btc->cx; __rtw89_tx_time_iter() local 5428 struct rtw89_btc_cx *cx = &btc->cx; _set_wl_tx_limit() local 7326 struct rtw89_btc_cx *cx = &btc->cx; rtw89_coex_act1_work() local 7363 struct rtw89_btc_cx *cx = &btc->cx; rtw89_coex_rfk_chk_work() local 7385 struct rtw89_btc_cx *cx = &btc->cx; _update_bt_scbd() local 7470 struct rtw89_btc_cx *cx = &btc->cx; _chk_wl_rfk_request() local 7493 struct rtw89_btc_cx *cx = &btc->cx; _run_coex() local 7875 struct rtw89_btc_cx *cx = &btc->cx; rtw89_btc_ntfy_specific_packet() local 8031 struct rtw89_btc_cx *cx = &btc->cx; _update_bt_info() local 8368 struct rtw89_btc_cx *cx = &btc->cx; _ntfy_wl_rfk() local 8948 struct rtw89_btc_cx *cx = &btc->cx; _show_wl_info() local 9064 struct rtw89_btc_cx *cx = &btc->cx; _show_bt_info() local 10853 struct rtw89_btc_cx *cx = &btc->cx; _show_mreg_v1() local 10938 struct rtw89_btc_cx *cx = &btc->cx; _show_mreg_v2() local 11023 struct rtw89_btc_cx *cx = &btc->cx; _show_mreg_v7() local 11100 struct rtw89_btc_cx *cx = &btc->cx; _show_summary_v1() local 11209 struct rtw89_btc_cx *cx = &btc->cx; _show_summary_v4() local 11324 struct rtw89_btc_cx *cx = &btc->cx; _show_summary_v5() local 11445 struct rtw89_btc_cx *cx = &btc->cx; _show_summary_v105() local 11565 struct rtw89_btc_cx *cx = &rtwdev->btc.cx; _show_summary_v7() local 11678 struct rtw89_btc_cx *cx = &rtwdev->btc.cx; _show_summary_v8() local [all...] |
| /freebsd/crypto/krb5/src/lib/crypto/builtin/camellia/ |
| H A D | camellia.h | 109 cam_rval camellia_blk_len(unsigned int blen, camellia_ctx cx[1]); 111 camellia_ctx cx[1]); 114 const camellia_ctx cx[1]); 116 camellia_ctx cx[1]); 119 const camellia_ctx cx[1]);
|
| /freebsd/contrib/sendmail/libsm/ |
| H A D | t-rpool.c | 21 void *cx)); 24 rfree(cx) in rfree() argument 25 void *cx; in rfree() 28 (char *) cx);
|
| /freebsd/stand/i386/boot2/ |
| H A D | boot1.S | 97 push %cx # block 119 xor %cx,%cx # Zero 120 mov %cx,%es # Address 121 mov %cx,%ds # data 122 mov %cx,%ss # Set up 148 mov $0x1,%cx # Two passes 160 dec %cx # Do two 193 mov $MEM_BTX+(NSECT-1)*SIZ_SEC,%cx # Byte 194 sub %si,%cx # count 204 seta20.1: dec %cx # Timeout? [all …]
|
| /freebsd/crypto/openssh/openbsd-compat/ |
| H A D | port-linux.c | 189 char *oldctx, *newctx, *cx, *cx2; in ssh_selinux_change_context() local 199 if ((cx = strchr(oldctx, ':')) == NULL || in ssh_selinux_change_context() 200 (cx = strchr(cx + 1, ':')) == NULL || in ssh_selinux_change_context() 201 (cx - oldctx) >= INT_MAX) { in ssh_selinux_change_context() 210 if (strncmp(cx, SSH_SELINUX_UNCONFINED_TYPE, in ssh_selinux_change_context() 214 cx2 = strchr(cx + 1, ':'); in ssh_selinux_change_context() 215 xasprintf(&newctx, "%.*s%s%s", (int)(cx - oldctx + 1), oldctx, in ssh_selinux_change_context()
|
| /freebsd/contrib/less/ |
| H A D | lesskey_parse.c | 702 size_t cx = 0; in parse_lesskey_content() local 711 while (content[cx] != '\0') in parse_lesskey_content() 716 while (content[cx] != '\0' && content[cx] != '\n' && content[cx] != ';') in parse_lesskey_content() 719 if (content[cx] == '\\' && content[cx+1] == ';') in parse_lesskey_content() 720 ++cx; /* escaped semicolon: skip the backslash */ in parse_lesskey_content() 721 line[lx++] = content[cx++]; in parse_lesskey_content() 726 if (content[cx] != '\0') ++cx; /* skip newline or semicolon */ in parse_lesskey_content()
|
| /freebsd/contrib/ncurses/menu/ |
| H A D | m_post.c | 133 int cy = -1, cx = -1; in MENU_EXPORT() local 141 getyx(menu->win, cy, cx); in MENU_EXPORT() 159 assert(cx >= 0 && cy >= 0); in MENU_EXPORT() 175 (void)mvwaddch(menu->win, cy + j, cx - 1, menu->pad); in MENU_EXPORT() 237 int i, j, cy, cx; in _nc_Draw_Menu() local 240 getyx(menu->win, cy, cx); in _nc_Draw_Menu() 243 wmove(menu->win, cy + j, cx); in _nc_Draw_Menu() 249 wmove(menu->win, cy, cx + menu->spc_cols); in _nc_Draw_Menu()
|
| /freebsd/sys/contrib/device-tree/Bindings/clock/ |
| H A D | nspire-clock.txt | 5 "lsi,nspire-cx-ahb-divider" for the AHB divider in the CX model 7 "lsi,nspire-cx-clock" for the base clock in the CX model 21 compatible = "lsi,nspire-cx-clock";
|
| /freebsd/sys/contrib/device-tree/src/arm/nspire/ |
| H A D | nspire-cx.dts | 40 compatible = "lsi,nspire-cx-clock"; 44 compatible = "lsi,nspire-cx-ahb-divider"; 123 compatible = "ti,nspire-cx"; 160 compatible = "ti,nspire-cx-lcd-panel";
|
| /freebsd/bin/sh/tests/builtins/ |
| H A D | read4.0.stdout | 2 xaxb cx 4 xaxb:cx
|
| H A D | read3.0.stdout | 2 xaxb cx 4 xaxb:cx
|
| /freebsd/sys/dev/fb/ |
| H A D | vga.c | 444 int cx, int cy); 446 int cx, int cy); 448 int cx, int cy); 450 int cx, int cy); 452 int cx, int cy); 2582 planar_fill_rect(video_adapter_t *adp, int val, int x, int y, int cx, int cy) in planar_fill_rect() argument 2606 bx = (x + cx)/8 - x/8; in planar_fill_rect() 2630 if ((x + cx) % 8) { in planar_fill_rect() 2631 outw(GDCIDX, (~(0xff00 >> ((x + cx) % 8)) & 0xff00) | 0x08); in planar_fill_rect() 2651 packed_fill_rect(video_adapter_t *adp, int val, int x, int y, int cx, int cy) in packed_fill_rect() argument [all …]
|