mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-05 10:34:54 +00:00
Thanks to Phil Zimmermann for the code and for the license exception we needed to include it. There remains some build system integration work to be done before this code will build properly in the FreeSWITCH tree.
34 lines
846 B
C
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
|