/freebsd-current/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ |
H A D | fe.h | 2 This file is adapted from ref10/fe.h: 12 typedef uint64_t fe[10]; typedef 15 fe means field element. 24 extern void fe_frombytes(fe, const unsigned char *);
|
H A D | ladder_base.h | 8 #include "fe.h" 11 extern void ladder_base(fe *, const unsigned char *);
|
H A D | ladder.h | 8 #include "fe.h" 11 extern void ladder(fe *, const unsigned char *);
|
H A D | curve25519_sandy2x.c | 5 (fe is first converted into fe51 after Mongomery ladder) 15 #include "fe.h" 29 fe var[3]; 75 fe var[3];
|
/freebsd-current/sys/powerpc/fpu/ |
H A D | fpu_emu.c | 186 struct fpemu fe; local 190 fe.fe_fpstate = fpf; 191 fe.fe_cx = 0; 213 switch (fpu_execute(frame, &fe, &insn)) { 252 * FBfcc or STF, for instance). On return, fe->fe_fs->fs_fsr will be 259 fpu_execute(struct trapframe *tf, struct fpemu *fe, union instr *insn) argument 271 fs = fe->fe_fpstate; 272 fe->fe_fpscr = ((int *)&fs->fpscr)[1]; 385 fpu_explode(fe, fp = &fe [all...] |
H A D | fpu_compare.c | 74 fpu_compare(struct fpemu *fe, int ordered) argument 79 a = &fe->fe_f1; 80 b = &fe->fe_f2; 81 r = &fe->fe_f3; 93 if (fe->fe_fpscr & FPSCR_VE || ISQNAN(a) || ISQNAN(b)) 149 fpu_sub(fe); 157 fe->fe_cx = cc;
|
H A D | fpu_implode.c | 76 round(struct fpemu *fe, struct fpn *fp) argument 98 fe->fe_cx |= FPSCR_XX|FPSCR_FI; /* inexact */ 101 switch ((fe->fe_fpscr) & FPSCR_RN) { 133 fe->fe_cx |= FPSCR_FR; 159 toinf(struct fpemu *fe, int sign) argument 164 switch ((fe->fe_fpscr) & FPSCR_RN) { 183 fe->fe_cx |= FPSCR_OX; 194 fpu_ftoi(struct fpemu *fe, struct fpn *fp) argument 219 fe->fe_cx |= FPSCR_UX; 229 fe 240 fpu_ftox(struct fpemu *fe, struct fpn *fp, u_int *res) argument 285 fpu_ftos(struct fpemu *fe, struct fpn *fp) argument 366 fpu_ftod(struct fpemu *fe, struct fpn *fp, u_int *res) argument 421 fpu_implode(struct fpemu *fe, struct fpn *fp, int type, u_int *space) argument [all...] |
H A D | fpu_div.c | 151 fpu_div(struct fpemu *fe) argument 153 struct fpn *x = &fe->fe_f1, *y = &fe->fe_f2; 180 fe->fe_cx |= FPSCR_VXSNAN; 190 fe->fe_cx |= FPSCR_VXIDI; 191 return (fpu_newnan(fe)); 197 fe->fe_cx |= FPSCR_ZX; 199 fe->fe_cx |= FPSCR_VXZDZ; 200 return (fpu_newnan(fe)); 214 fe [all...] |
H A D | fpu_mul.c | 100 fpu_mul(struct fpemu *fe) argument 102 struct fpn *x = &fe->fe_f1, *y = &fe->fe_f2; 131 fe->fe_cx |= FPSCR_VXSNAN; 137 fe->fe_cx |= FPSCR_VXIMZ; 138 return (fpu_newnan(fe));
|
H A D | fpu_add.c | 59 fpu_add(struct fpemu *fe) argument 61 struct fpn *x = &fe->fe_f1, *y = &fe->fe_f2, *r; 91 fe->fe_cx |= FPSCR_VXSNAN; 97 fe->fe_cx |= FPSCR_VXISI; 98 return (fpu_newnan(fe)); 103 rd = ((fe->fe_fpscr) & FPSCR_RN); 123 r = &fe->fe_f3;
|
H A D | fpu_emu.h | 154 #define fpu_sub(fe) ((fe)->fe_f2.fp_sign ^= 1, fpu_add(fe))
|
H A D | fpu_explode.c | 206 fpu_explode(struct fpemu *fe, struct fpn *fp, int type, int reg) argument 211 xspace = (u_int64_t *)&fe->fe_fpstate->fpr[reg].fpr; 213 space = (u_int *)&fe->fe_fpstate->fpr[reg].fpr; 248 fe->fe_cx = FPSCR_VXSNAN; /* assert invalid operand */
|
H A D | fpu_sqrt.c | 187 fpu_sqrt(struct fpemu *fe) argument 189 struct fpn *x = &fe->fe_f1; 212 fe->fe_cx |= FPSCR_VXSNAN; 217 fe->fe_cx |= FPSCR_ZX; 223 fe->fe_cx |= FPSCR_VXSQRT; 224 return (fpu_newnan(fe));
|
H A D | fpu_subr.c | 204 fpu_newnan(struct fpemu *fe) argument 208 fe->fe_cx |= FPSCR_VXSNAN; 209 fp = &fe->fe_f3;
|
/freebsd-current/lib/libc/gen/ |
H A D | pututxline.c | 72 struct futx fe; local 86 while (fread(&fe, sizeof(fe), 1, fp) == 1) { 87 switch (fe.fu_type) { 96 if (memcmp(fu->fu_id, fe.fu_id, sizeof(fe.fu_id)) == 98 ret = fseeko(fp, -(off_t)sizeof(fe), SEEK_CUR); 101 if (fe.fu_type != DEAD_PROCESS) 113 partial -= (off_t)sizeof(fe); 142 struct futx fe; local 200 struct futx fe; local [all...] |
/freebsd-current/sys/netgraph/netflow/ |
H A D | netflow_v9.c | 197 export9_send(priv_p priv, fib_export_p fe, item_p item, struct netflow_v9_packet_opt *t, int flags) argument 221 header->seq_num = htonl(atomic_fetchadd_32(&fe->flow9_seq, 1)); 223 header->source_id = htonl(fe->domain_id); 365 get_export9_dgram(priv_p priv, fib_export_p fe, struct netflow_v9_packet_opt **tt) argument 370 mtx_lock(&fe->export9_mtx); 371 if (fe->exp.item9 != NULL) { 372 item = fe->exp.item9; 373 fe->exp.item9 = NULL; 374 t = fe->exp.item9_opt; 375 fe 438 return_export9_dgram(priv_p priv, fib_export_p fe, item_p item, struct netflow_v9_packet_opt *t, int flags) argument [all...] |
H A D | netflow.c | 170 get_export_dgram(priv_p priv, fib_export_p fe) argument 174 mtx_lock(&fe->export_mtx); 175 if (fe->exp.item != NULL) { 176 item = fe->exp.item; 177 fe->exp.item = NULL; 179 mtx_unlock(&fe->export_mtx); 204 return_export_dgram(priv_p priv, fib_export_p fe, item_p item, int flags) argument 212 mtx_lock(&fe->export_mtx); 213 if (fe->exp.item == NULL) { 214 fe 227 expire_flow(priv_p priv, fib_export_p fe, struct flow_entry *fle, int flags) argument 535 fib_export_p fe = priv_to_fib(priv, fib); local 576 fib_export_p fe; local 653 ng_netflow_flow_add(priv_p priv, fib_export_p fe, struct ip *ip, caddr_t upper_ptr, uint8_t upper_proto, uint8_t flags, unsigned int src_if_index) argument 780 ng_netflow_flow6_add(priv_p priv, fib_export_p fe, struct ip6_hdr *ip6, caddr_t upper_ptr, uint8_t upper_proto, uint8_t flags, unsigned int src_if_index) argument 1012 export_send(priv_p priv, fib_export_p fe, item_p item, int flags) argument [all...] |
/freebsd-current/usr.sbin/ppp/ |
H A D | filter.c | 245 struct filterent fe; local 271 memset(&fe, '\0', sizeof fe); 292 fe.f_action = action; 298 fe.f_invert = 1; 303 ncprange_init(&fe.f_src); 304 ncprange_init(&fe.f_dst); 313 ncprange_aton(&fe.f_src, ncp, *argv)) { 314 family = ncprange_family(&fe.f_src); 315 if (!ncprange_getwidth(&fe [all...] |
/freebsd-current/contrib/xz/src/liblzma/common/ |
H A D | filter_encoder.c | 279 const lzma_filter_encoder *const fe local 281 if (fe == NULL) 284 if (fe->block_size != NULL) { 286 = fe->block_size(filters[i].options); 299 const lzma_filter_encoder *const fe = encoder_find(filter->id); local 300 if (fe == NULL) { 309 if (fe->props_size_get == NULL) { 311 *size = fe->props_size_fixed; 315 return fe->props_size_get(size, filter->options); 322 const lzma_filter_encoder *const fe local [all...] |
/freebsd-current/sys/cam/ctl/ |
H A D | ctl_frontend.c | 70 ctl_frontend_register(struct ctl_frontend *fe) argument 81 if (strcmp(fe_tmp->name, fe->name) == 0) { 87 STAILQ_INIT(&fe->port_list); 90 if (fe->init != NULL) { 91 if ((error = fe->init()) != 0) { 93 fe->name, error); 100 STAILQ_INSERT_TAIL(&softc->fe_list, fe, links); 106 ctl_frontend_deregister(struct ctl_frontend *fe) argument 112 if (fe->shutdown != NULL) { 113 if ((error = fe 131 struct ctl_frontend *fe; local [all...] |
H A D | ctl_frontend.h | 264 int ctl_frontend_register(struct ctl_frontend *fe); 270 int ctl_frontend_deregister(struct ctl_frontend *fe); 298 void ctl_port_online(struct ctl_port *fe); 303 void ctl_port_offline(struct ctl_port *fe);
|
/freebsd-current/contrib/wireguard-tools/ |
H A D | curve25519-fiat32.h | 13 /* fe means field element. Here the field is \Z/(2^255-19). An element t, 16 * fe limbs are bounded by 1.125*2^26,1.125*2^25,1.125*2^26,1.125*2^25,etc. 17 * Multiplication and carrying produce fe from fe_loose. 19 typedef struct fe { u32 v[10]; } fe; typedef in typeref:struct:fe 22 * Addition and subtraction produce fe_loose from (fe, fe). 49 static __always_inline void fe_frombytes(fe *h, const u8 *s) 160 static __always_inline void fe_tobytes(u8 s[32], const fe *f) 199 static __always_inline void fe_copy(fe * [all...] |
/freebsd-current/sys/net/ |
H A D | if_vxlan.c | 605 struct vxlan_ftable_entry *fe, *tfe; local 609 LIST_FOREACH_SAFE(fe, &sc->vxl_ftable[i], vxlfe_hash, tfe) { 610 if (all || VXLAN_FE_IS_DYNAMIC(fe)) 611 vxlan_ftable_entry_destroy(sc, fe); 619 struct vxlan_ftable_entry *fe, *tfe; local 625 LIST_FOREACH_SAFE(fe, &sc->vxl_ftable[i], vxlfe_hash, tfe) { 626 if (VXLAN_FE_IS_DYNAMIC(fe) && 627 time_uptime >= fe->vxlfe_expire) 628 vxlan_ftable_entry_destroy(sc, fe); 638 struct vxlan_ftable_entry *fe; local 725 struct vxlan_ftable_entry *fe; local 763 struct vxlan_ftable_entry *fe; local 771 vxlan_ftable_entry_free(struct vxlan_ftable_entry *fe) argument 778 vxlan_ftable_entry_init(struct vxlan_softc *sc, struct vxlan_ftable_entry *fe, const uint8_t *mac, const struct sockaddr *sa, uint32_t flags) argument 789 vxlan_ftable_entry_destroy(struct vxlan_softc *sc, struct vxlan_ftable_entry *fe) argument 799 vxlan_ftable_entry_insert(struct vxlan_softc *sc, struct vxlan_ftable_entry *fe) argument 838 struct vxlan_ftable_entry *fe; local 857 vxlan_ftable_entry_dump(struct vxlan_ftable_entry *fe, struct sbuf *sb) argument 2216 struct vxlan_ftable_entry *fe; local 2262 struct vxlan_ftable_entry *fe; local 2746 struct vxlan_ftable_entry *fe; local [all...] |
/freebsd-current/crypto/openssl/crypto/ec/ |
H A D | curve25519.c | 766 * fe means field element. Here the field is \Z/(2^255-19). An element t, 771 typedef int32_t fe[10]; typedef 800 static void fe_frombytes(fe h, const uint8_t *s) 872 static void fe_tobytes(uint8_t *s, const fe h) 955 static void fe_copy(fe h, const fe f) 961 static void fe_0(fe h) 967 static void fe_1(fe h) 985 static void fe_add(fe h, const fe [all...] |
/freebsd-current/contrib/libarchive/libarchive/ |
H A D | archive_read_disk_entry_from_file.c | 856 struct fiemap_extent *fe; local 887 count = (sizeof(buff) - sizeof(*fm))/sizeof(*fe); 912 fe = fm->fm_extents; 913 for (i = 0; i < (int)fm->fm_mapped_extents; i++, fe++) { 914 if (!(fe->fe_flags & FIEMAP_EXTENT_UNWRITTEN)) { 917 int64_t length = fe->fe_length; 918 if (fe->fe_logical + length > (uint64_t)size) 919 length -= fe->fe_logical + length - size; 920 if (fe->fe_logical == 0 && length == size) { 927 fe [all...] |