Philip Zimmermann c7e476402a Relicense bnlib under GPLv2/GPLv3 with exception for FreeSWITCH
Thanks to Travis Cross for much of the language here.

Signed-off-by: Philip Zimmermann <prz@mit.edu>
Signed-off-by: Travis Cross <tc@traviscross.com>
2012-03-31 22:56:22 +00:00

34 lines
846 B
C

/*
* Copyright (c) 1995 Colin Plumb. All rights reserved.
* For licensing and other legal details, see the file legal.c.
*
* lbnalpha.h - header file that declares the Alpha assembly-language
* subroutines. It is intended to be included via the BNINCLUDE
* mechanism.
*/
#define BN_LITTLE_ENDIAN 1
typedef unsigned long bnword64;
#define BNWORD64 bnword64
#ifdef __cplusplus
/* These assembly-language primitives use C names */
extern "C" {
#endif
void lbnMulN1_64(bnword64 *out, bnword64 const *in, unsigned len, bnword64 k);
#define lbnMulN1_64 lbnMulN1_64
bnword64
lbnMulAdd1_64(bnword64 *out, bnword64 const *in, unsigned len, bnword64 k);
#define lbnMulAdd1_64 lbnMulAdd1_64
bnword64
lbnMulSub1_64(bnword64 *out, bnword64 const *in, unsigned len, bnword64 k);
#define lbnMulSub1_64 lbnMulSub1_64
#ifdef __cplusplus
}
#endif