shithub: purgatorio

ref: 3efb5bbb4061056e523858b134c555949591efe2
dir: /libinterp/ipintsmod.h/

View raw version
typedef struct{char *name; long sig; void (*fn)(void*); int size; int np; uchar map[16];} Runtab;
Runtab IPintsmodtab[]={
	"DSAprimes",0x40d03bb6,IPints_DSAprimes,32,0,{0},
	"IPint.add",0xa47c1b24,IPint_add,40,2,{0x0,0xc0,},
	"IPint.and",0xa47c1b24,IPint_and,40,2,{0x0,0xc0,},
	"IPint.b64toip",0xa803ee03,IPint_b64toip,40,2,{0x0,0x80,},
	"IPint.bebytestoip",0x6fa90725,IPint_bebytestoip,40,2,{0x0,0x80,},
	"IPint.bits",0xeb4c9bad,IPint_bits,40,2,{0x0,0x80,},
	"IPint.bytestoip",0x6fa90725,IPint_bytestoip,40,2,{0x0,0x80,},
	"IPint.cmp",0x79774f9e,IPint_cmp,40,2,{0x0,0xc0,},
	"IPint.copy",0x491fbd11,IPint_copy,40,2,{0x0,0x80,},
	"IPint.div",0x4672bf61,IPint_div,40,2,{0x0,0xc0,},
	"IPint.eq",0x79774f9e,IPint_eq,40,2,{0x0,0xc0,},
	"IPint.expmod",0xe6105024,IPint_expmod,48,2,{0x0,0xe0,},
	"genprime",0x70bcd6f1,IPints_genprime,40,0,{0},
	"gensafeprime",0x9a3f0392,IPints_gensafeprime,40,0,{0},
	"genstrongprime",0x70bcd6f1,IPints_genstrongprime,40,0,{0},
	"IPint.inttoip",0x95dc8b6d,IPint_inttoip,40,0,{0},
	"IPint.invert",0xa47c1b24,IPint_invert,40,2,{0x0,0xc0,},
	"IPint.iptob64",0xfab4eb8a,IPint_iptob64,40,2,{0x0,0x80,},
	"IPint.iptob64z",0xfab4eb8a,IPint_iptob64z,40,2,{0x0,0x80,},
	"IPint.iptobebytes",0xc8e5162d,IPint_iptobebytes,40,2,{0x0,0x80,},
	"IPint.iptobytes",0xc8e5162d,IPint_iptobytes,40,2,{0x0,0x80,},
	"IPint.iptoint",0xeb4c9bad,IPint_iptoint,40,2,{0x0,0x80,},
	"IPint.iptostr",0xf9fdc03d,IPint_iptostr,40,2,{0x0,0x80,},
	"IPint.mod",0xa47c1b24,IPint_mod,40,2,{0x0,0xc0,},
	"IPint.mul",0xa47c1b24,IPint_mul,40,2,{0x0,0xc0,},
	"IPint.neg",0x491fbd11,IPint_neg,40,2,{0x0,0x80,},
	"IPint.not",0x491fbd11,IPint_not,40,2,{0x0,0x80,},
	"IPint.ori",0xa47c1b24,IPint_ori,40,2,{0x0,0xc0,},
	"probably_prime",0xd67dfdfa,IPints_probably_prime,40,2,{0x0,0x80,},
	"IPint.random",0x95dc8b6d,IPint_random,40,0,{0},
	"IPint.shl",0xc7b0bc01,IPint_shl,40,2,{0x0,0x80,},
	"IPint.shr",0xc7b0bc01,IPint_shr,40,2,{0x0,0x80,},
	"IPint.strtoip",0x12d7a943,IPint_strtoip,40,2,{0x0,0x80,},
	"IPint.sub",0xa47c1b24,IPint_sub,40,2,{0x0,0xc0,},
	"IPint.xor",0xa47c1b24,IPint_xor,40,2,{0x0,0xc0,},
	0
};
#define IPintsmodlen	35