1/* $NetBSD$ */ 2 3/* Type definitions generated by 'types.pl' */ 4typedef char mp_sign; 5typedef unsigned short mp_digit; /* 2 byte type */ 6typedef unsigned int mp_word; /* 4 byte type */ 7typedef unsigned int mp_size; 8typedef int mp_err; 9 10#define MP_DIGIT_BIT (CHAR_BIT*sizeof(mp_digit)) 11#define MP_DIGIT_MAX USHRT_MAX 12#define MP_WORD_BIT (CHAR_BIT*sizeof(mp_word)) 13#define MP_WORD_MAX UINT_MAX 14 15#define MP_DIGIT_SIZE 2 16#define DIGIT_FMT "%04X" 17#define RADIX (MP_DIGIT_MAX+1) 18 19 20/* Source: /cvs/libtom/libtommath/mtest/mpi-types.h,v */ 21/* Revision: 1.2 */ 22/* Date: 2005/05/05 14:38:47 */ 23