HomeSort by relevance Sort by last modified time
    Searched full:bigint (Results 1 - 25 of 137) sorted by null

1 2 3 4 5 6

  /external/syslinux/gpxe/src/crypto/axtls/
bigint.h 38 void bi_permanent(bigint *bi);
39 void bi_depermanent(bigint *bi);
40 void bi_free(BI_CTX *ctx, bigint *bi);
41 bigint *bi_copy(bigint *bi);
42 bigint *bi_clone(BI_CTX *ctx, const bigint *bi);
43 void bi_export(BI_CTX *ctx, bigint *bi, uint8_t *data, int size);
44 bigint *bi_import(BI_CTX *ctx, const uint8_t *data, int len);
45 bigint *int_to_bi(BI_CTX *ctx, comp i)
    [all...]
bigint.c 21 * @brief The bigint implementation as used by the axTLS project.
23 * The bigint library is for RSA encryption/decryption as well as signing.
25 * cache. A bigint context may maintain state by being made "permanent".
44 * <http://cs.marlboro.edu/term/cs-fall02/algorithms/crypto/RSA/bigint>
56 #include "bigint.h"
59 static bigint *bi_int_multiply(BI_CTX *ctx, bigint *bi, comp i);
60 static bigint *bi_int_divide(BI_CTX *ctx, bigint *biR, comp denom);
61 static bigint __malloc *alloc(BI_CTX *ctx, int size)
    [all...]
bigint_impl.h 54 struct _bigint* next; /**< The next bigint in the cache. */
55 short size; /**< The number of components in this bigint. */
56 short max_comps; /**< The heapsize allocated for this bigint */
61 typedef struct _bigint bigint; /**< An alias for _bigint */ typedef in typeref:struct:_bigint
69 bigint *active_list; /**< Bigints currently used. */
70 bigint *free_list; /**< Bigints not used. */
71 bigint *bi_radix; /**< The radix used. */
72 bigint *bi_mod[BIGINT_NUM_MODS]; /**< modulus */
75 bigint *bi_RR_mod_m[BIGINT_NUM_MODS]; /**< R^2 mod m */
76 bigint *bi_R_mod_m[BIGINT_NUM_MODS]; /**< R mod m *
    [all...]
crypto.h 30 #include "bigint.h"
142 bigint *m; /* modulus */
143 bigint *e; /* public exponent */
144 bigint *d; /* private exponent */
146 bigint *p; /* p as in m = pq */
147 bigint *q; /* q as in m = pq */
148 bigint *dP; /* d mod (p-1) */
149 bigint *dQ; /* d mod (q-1) */
150 bigint *qInv; /* q^-1 mod p */
153 bigint *sig_m; /* signature modulus *
    [all...]
rsa.c 20 * Implements the RSA public encryption algorithm. Uses the bigint library to
31 static bigint *bi_crt(const RSA_CTX *rsa, bigint *bi);
135 bigint *decrypted_bi, *dat_bi;
180 bigint *RSA_private(const RSA_CTX *c, bigint *bi_msg)
194 * This should really be in bigint.c (and was at one stage), but needs
197 static bigint *bi_crt(const RSA_CTX *rsa, bigint *bi)
200 bigint *m1, *m2, *h
    [all...]
  /external/pdfium/xfa/
DEPS 5 '+third_party/bigint'
  /external/autotest/frontend/migrations/
109_change_tko_test_attributes_id_data_type.py 2 ALTER TABLE tko_test_attributes MODIFY id bigint(20) AUTO_INCREMENT;
  /external/pdfium/third_party/
pdfiumbigint.mk 15 bigint/BigInteger.cc \
16 bigint/BigIntegerUtils.cc \
17 bigint/BigUnsigned.cc \
18 bigint/BigUnsignedInABase.cc
  /libcore/luni/src/main/java/java/math/
BigInt.java 24 * Moreover BigInt objects are mutable and offer efficient in-place-operations.
26 final class BigInt {
29 BigInt.class.getClassLoader(), NativeBN.getNativeFinalizer(), NativeBN.size());
50 private static BigInt newBigInt() {
51 BigInt bi = new BigInt();
58 static int cmp(BigInt a, BigInt b) {
63 void putCopy(BigInt from) {
68 BigInt copy()
    [all...]
BigInteger.java 47 private transient BigInt bigInt;
94 BigInteger(BigInt bigInt) {
95 if (bigInt == null || bigInt.getNativeBIGNUM() == 0) {
98 setBigInt(bigInt);
102 BigInt bigInt = new BigInt();
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
SimpleBigDecimal.java 22 private final BigInteger bigInt;
41 * constructed <code>SimpleBigDecimal</code> equals <code>bigInt /
43 * @param bigInt The <code>bigInt</code> value parameter.
46 public SimpleBigDecimal(BigInteger bigInt, int scale)
53 this.bigInt = bigInt;
78 return new SimpleBigDecimal(bigInt.shiftLeft(newScale - scale),
85 return new SimpleBigDecimal(bigInt.add(b.bigInt), scale)
    [all...]
  /external/llvm/test/CodeGen/ARM/
jump-table-islands.ll 3 %BigInt = type i5500
5 define %BigInt @test_moved_jumptable(i1 %tst, i32 %sw, %BigInt %l) {
29 ret %BigInt 0
36 %val = phi %BigInt [ %l, %complex ], [ -1, %simple ]
37 ret %BigInt %val
  /bionic/libc/upstream-openbsd/lib/libc/gdtoa/
gdtoaimp.h 474 Bigint {
475 struct Bigint *next;
480 typedef struct Bigint Bigint;
574 extern Bigint *Balloc ANSI((int));
575 extern void Bfree ANSI((Bigint*));
582 extern ULong any_on ANSI((Bigint*, int));
583 extern double b2d ANSI((Bigint*, int*));
584 extern int cmp ANSI((Bigint*, Bigint*));
    [all...]
misc.c 34 static Bigint *freelist[Kmax+1];
43 Bigint *
52 Bigint *rv;
66 rv = (Bigint *)MALLOC(sizeof(Bigint) + (x-1)*sizeof(ULong));
70 len = (sizeof(Bigint) + (x-1)*sizeof(ULong) + sizeof(double) - 1)
73 rv = (Bigint*)pmem_next;
77 rv = (Bigint*)MALLOC(len*sizeof(double));
93 (v) Bigint *v;
95 (Bigint *v
    [all...]
sum.c 34 Bigint *
36 sum(a, b) Bigint *a; Bigint *b;
38 sum(Bigint *a, Bigint *b)
41 Bigint *c;
gmisc.c 36 rshift(b, k) Bigint *b; int k;
38 rshift(Bigint *b, int k)
69 trailz(b) Bigint *b;
71 trailz(Bigint *b)
smisc.c 34 Bigint *
42 Bigint *b;
85 (a, b) Bigint *a, *b;
87 (Bigint *a, Bigint *b)
145 copybits(c, n, b) ULong *c; int n; Bigint *b;
147 copybits(ULong *c, int n, Bigint *b)
175 any_on(b, k) Bigint *b; int k;
177 any_on(Bigint *b, int k)
dmisc.c 49 sizeof(Bigint) - sizeof(ULong) - sizeof(int) + j <= i;
99 Bigint *b = (Bigint *)((int *)s - 1);
111 (b, S) Bigint *b, *S;
113 (Bigint *b, Bigint *S)
  /device/linaro/bootloader/edk2/StdLib/LibC/gdtoa/
gdtoaimp.h 476 Bigint {
477 struct Bigint *next;
482 typedef struct Bigint Bigint;
547 extern Bigint *Balloc (int);
548 extern void Bfree (Bigint*);
555 extern ULong any_on (Bigint*, int);
556 extern double b2d (Bigint*, int*);
557 extern int cmp (Bigint*, Bigint*);
    [all...]
misc.c 42 static Bigint *freelist[Kmax+1];
51 Bigint *
60 Bigint *rv;
72 rv = (Bigint *)MALLOC(sizeof(Bigint) + (x-1)*sizeof(ULong));
74 len = (sizeof(Bigint) + (x-1)*sizeof(ULong) + sizeof(double) - 1)
77 rv = (Bigint*)(void *)pmem_next;
81 rv = (Bigint*)MALLOC(len*sizeof(double));
96 (v) Bigint *v;
98 (Bigint *v)
    [all...]
sum.c 37 Bigint *
39 sum(a, b) Bigint *a; Bigint *b;
41 sum(Bigint *a, Bigint *b)
44 Bigint *c;
smisc.c 42 Bigint *
50 Bigint *b;
93 (a, b) Bigint *a, *b;
95 (Bigint *a, Bigint *b)
153 copybits(c, n, b) ULong *c; int n; Bigint *b;
155 copybits(ULong *c, int n, Bigint *b)
183 any_on(b, k) Bigint *b; int k;
185 any_on(Bigint *b, int k)
dmisc.c 53 sizeof(Bigint) - sizeof(ULong) - sizeof(int) + j <= i;
99 Bigint *b = (Bigint *)(void *)((int *)(void *)s - 1);
111 (b, S) Bigint *b, *S;
113 (Bigint *b, Bigint *S)
  /cts/tests/tests/keystore/src/android/keystore/cts/
Asn1Utils.java 147 private static int bigIntegerToInt(BigInteger bigInt) throws CertificateParsingException {
148 if (bigInt.compareTo(BigInteger.valueOf(Integer.MAX_VALUE)) > 0
149 || bigInt.compareTo(BigInteger.ZERO) < 0) {
152 return bigInt.intValue();
155 private static long bigIntegerToLong(BigInteger bigInt) throws CertificateParsingException {
156 if (bigInt.compareTo(BigInteger.valueOf(Long.MAX_VALUE)) > 0
157 || bigInt.compareTo(BigInteger.ZERO) < 0) {
160 return bigInt.longValue();
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/util/
H2Map.java 37 // Map 'integer' (sqlite) to 'bigint(19)' (h2).
38 scrubbedSQL = scrubbedSQL.replaceAll("(?i:integer)", "bigint(19)");

Completed in 996 milliseconds

1 2 3 4 5 6