code: purgatorio

ref: 606901dc5da9cb09acb5593c5cf74ce1b52ca6e2
dir: /libinterp/cryptmod.h/

View raw version
typedef struct{char *name; long sig; void (*fn)(void*); int size; int np; uchar map[16];} Runtab;
Runtab Cryptmodtab[]={
	"aescbc",0xac616ba,Crypt_aescbc,48,2,{0x0,0xc0,},
	"aessetup",0x44452583,Crypt_aessetup,40,2,{0x0,0xc0,},
	"blowfishcbc",0xac616ba,Crypt_blowfishcbc,48,2,{0x0,0xc0,},
	"blowfishsetup",0x44452583,Crypt_blowfishsetup,40,2,{0x0,0xc0,},
	"DigestState.copy",0x491fbd11,DigestState_copy,40,2,{0x0,0x80,},
	"descbc",0xac616ba,Crypt_descbc,48,2,{0x0,0xc0,},
	"desecb",0xac616ba,Crypt_desecb,48,2,{0x0,0xc0,},
	"dessetup",0x44452583,Crypt_dessetup,40,2,{0x0,0xc0,},
	"dhparams",0x6abb2418,Crypt_dhparams,40,0,{0},
	"dsagen",0xfca97ad3,Crypt_dsagen,40,2,{0x0,0x80,},
	"eggen",0x6e59448f,Crypt_eggen,40,0,{0},
	"genSK",0x5d82edbe,Crypt_genSK,40,2,{0x0,0x80,},
	"genSKfromPK",0x368c3183,Crypt_genSKfromPK,40,2,{0x0,0x80,},
	"hmac_md5",0xec9ac159,Crypt_hmac_md5,56,2,{0x0,0xb8,},
	"hmac_sha1",0xec9ac159,Crypt_hmac_sha1,56,2,{0x0,0xb8,},
	"ideacbc",0xac616ba,Crypt_ideacbc,48,2,{0x0,0xc0,},
	"ideaecb",0xac616ba,Crypt_ideaecb,48,2,{0x0,0xc0,},
	"ideasetup",0x44452583,Crypt_ideasetup,40,2,{0x0,0xc0,},
	"md4",0x7656377,Crypt_md4,48,2,{0x0,0xb0,},
	"md5",0x7656377,Crypt_md5,48,2,{0x0,0xb0,},
	"rc4",0xd051c505,Crypt_rc4,48,2,{0x0,0xc0,},
	"rc4back",0x3643caf7,Crypt_rc4back,40,2,{0x0,0x80,},
	"rc4setup",0x6fa90725,Crypt_rc4setup,40,2,{0x0,0x80,},
	"rc4skip",0x3643caf7,Crypt_rc4skip,40,2,{0x0,0x80,},
	"rsadecrypt",0x91e80677,Crypt_rsadecrypt,40,2,{0x0,0xc0,},
	"rsaencrypt",0x3cddeb19,Crypt_rsaencrypt,40,2,{0x0,0xc0,},
	"rsafill",0x621f5851,Crypt_rsafill,56,2,{0x0,0xf8,},
	"rsagen",0xa59005ba,Crypt_rsagen,48,0,{0},
	"sha1",0x7656377,Crypt_sha1,48,2,{0x0,0xb0,},
	"sha224",0x7656377,Crypt_sha224,48,2,{0x0,0xb0,},
	"sha256",0x7656377,Crypt_sha256,48,2,{0x0,0xb0,},
	"sha384",0x7656377,Crypt_sha384,48,2,{0x0,0xb0,},
	"sha512",0x7656377,Crypt_sha512,48,2,{0x0,0xb0,},
	"sign",0xe955b4f2,Crypt_sign,40,2,{0x0,0xc0,},
	"sktopk",0x132f856e,Crypt_sktopk,40,2,{0x0,0x80,},
	"verify",0xff419b7b,Crypt_verify,48,2,{0x0,0xe0,},
	0
};
#define Cryptmodlen	36