diff options
author | Werner Koch <wk@gnupg.org> | 1998-01-24 16:32:26 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1998-01-24 16:32:26 +0000 |
commit | 677c6d8547f4071335a92fd2964bcbac9d2da39b (patch) | |
tree | 17e4b0a73a2525374b0c87a2f345fdc23ba23a9d /mpi/mpi-bit.c | |
parent | 4e60a56970d7991a3bd0a593b729148a3680cdc9 (diff) | |
download | libgcrypt-677c6d8547f4071335a92fd2964bcbac9d2da39b.tar.gz |
Trust stuff works partly.
Diffstat (limited to 'mpi/mpi-bit.c')
-rw-r--r-- | mpi/mpi-bit.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/mpi/mpi-bit.c b/mpi/mpi-bit.c index 864dc023..d1f440a9 100644 --- a/mpi/mpi-bit.c +++ b/mpi/mpi-bit.c @@ -26,6 +26,28 @@ #include "longlong.h" +#ifdef MPI_INTERNAL_NEED_CLZ_TAB +unsigned char +__clz_tab[] = +{ + 0,1,2,2,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5, + 6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6, + 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, + 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, + 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, + 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, + 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, + 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, +}; +#endif + + + + + + + + /**************** * Return the number of bits in A. */ |