home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / crypl200.zip / BNLIB / LBN960JX.H < prev    next >
C/C++ Source or Header  |  1996-05-18  |  883b  |  35 lines

  1. /*
  2.  * lbn960jx.h - This file defines the interfaces to assembly primitives
  3.  * for the the Intel i960Jx series of processors.  In fact, these thould
  4.  * work on any i960 series processor, but haven't been tested.
  5.  * It is intended to be included in "lbn.h"
  6.  * via the "#include BNINCLUDE" mechanism.
  7.  */
  8.  
  9. #define BN_LITTLE_ENDIAN 1
  10.  
  11. typedef unsigned long bnword32;
  12. #define BNWORD32 bnword32;
  13.  
  14.  
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18.  
  19. /* Function prototypes for the asm routines */
  20. void
  21. lbnMulN1_32(BNWORD32 *out, BNWORD32 const *in, unsigned len, BNWORD32 k);
  22. #define lbnMulN1_32 lbnMulN1_32
  23.             
  24. BNWORD32
  25. lbnMulAdd1_32(BNWORD32 *out, BNWORD32 const *in, unsigned len, BNWORD32 k);
  26. #define lbnMulAdd1_32 lbnMulAdd1_32
  27.        
  28. BNWORD32
  29. lbnMulSub1_32(BNWORD32 *out, BNWORD32 const *in, unsigned len, BNWORD32 k);
  30. #define lbnMulSub1_32 lbnMulSub1_32
  31.  
  32. #ifdef __cplusplus
  33. }
  34. #endif
  35.