Sozobon library of AES and VDI bindings 1. header files Use gemfast.h as header file for this extended gemlib version. 2. xvdifast.a It is based on vdifast library. optimized (Holger Weets) and bugs fixed (he and me) version number added: extern int _xvdifast lowbyte is revision, highbyte is version number. 2 functions added: int vq_gdos() returns TRUE if any GDOS is present (this was in gemlib.a) void c_vdi(int *pb[5]) interface for your own vdi functions (because they are not in this standard binding, etc.) all touched registers but D0 are saved by this function; it is not called vdi() cause it has an argument; usage: cause all vdi arrays are some dynamic binding (on stack) you have to create your own arrays when using this function: int contrl[12]; int intin[1]; /* see what you need */ int intout[1]; /* see what you need */ int ptsin[1]; /* see what you need */ int ptsout[1]; /* see what you need */ int *PB[5]; /* where: */ PB[0] = contrl; PB[1] = intin; PB[2] = ptsin; PB[3] = intout; PB[4] = ptsout; /* fill in the values from parameters */ contrl[0] = opcode contrl[1] = #ptsin /* (number of values in ptsin) */ contrl[2] = 0 contrl[3] = #intin /* (number of values in intin) */ contrl[4] = 0 contrl[5] = sub_opcode contrl[6] = vdi_handle /* contrl[7] = ... maybe some more values */ c_vdi(PB); /* maybe some code for getting values */ /* the function tells you : */ /* in contrl[2] #ptsout */ /* in contrl[4] #intout */ return(intout[0]); /* this is default */ 3. xaesfast.a It is based on aesfast library. optimized (Holger Weets) and bugs fixed (he and me) version number added: extern int _xaesfast lowbyte is revision, highbyte is version number. new AES functions added (MultiTOS) Sorry, this is still in test state, parts are still to write, first release is to expect in next months. Jerry Geiger, Berlin, Mon Mar 7 17:28:40 1994