OLD | NEW |
1 /* | 1 /* |
2 * mpi.c | 2 * mpi.c |
3 * | 3 * |
4 * Arbitrary precision integer arithmetic library | 4 * Arbitrary precision integer arithmetic library |
5 * | 5 * |
6 * This Source Code Form is subject to the terms of the Mozilla Public | 6 * This Source Code Form is subject to the terms of the Mozilla Public |
7 * License, v. 2.0. If a copy of the MPL was not distributed with this | 7 * License, v. 2.0. If a copy of the MPL was not distributed with this |
8 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 8 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
9 /* $Id$ */ | |
10 | 9 |
11 #include "mpi-priv.h" | 10 #include "mpi-priv.h" |
12 #if defined(OSF1) | 11 #if defined(OSF1) |
13 #include <c_asm.h> | 12 #include <c_asm.h> |
14 #endif | 13 #endif |
15 | 14 |
16 #if defined(__arm__) && \ | 15 #if defined(__arm__) && \ |
17 ((defined(__thumb__) && !defined(__thumb2__)) || defined(__ARM_ARCH_3__)) | 16 ((defined(__thumb__) && !defined(__thumb2__)) || defined(__ARM_ARCH_3__)) |
18 /* 16-bit thumb or ARM v3 doesn't work inlined assember version */ | 17 /* 16-bit thumb or ARM v3 doesn't work inlined assember version */ |
19 #undef MP_ASSEMBLY_MULTIPLY | 18 #undef MP_ASSEMBLY_MULTIPLY |
(...skipping 4792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4812 } | 4811 } |
4813 if (!pos) | 4812 if (!pos) |
4814 str[pos++] = 0; | 4813 str[pos++] = 0; |
4815 return MP_OKAY; | 4814 return MP_OKAY; |
4816 } /* end mp_to_fixlen_octets() */ | 4815 } /* end mp_to_fixlen_octets() */ |
4817 /* }}} */ | 4816 /* }}} */ |
4818 | 4817 |
4819 | 4818 |
4820 /*------------------------------------------------------------------------*/ | 4819 /*------------------------------------------------------------------------*/ |
4821 /* HERE THERE BE DRAGONS */ | 4820 /* HERE THERE BE DRAGONS */ |
OLD | NEW |