HomeSort by relevance Sort by last modified time
    Searched refs:BN_ULONG (Results 1 - 25 of 54) sorted by null

1 2 3

  /external/chromium_org/third_party/boringssl/src/crypto/bn/
rsaz_exp.h 36 void RSAZ_1024_mod_exp_avx2(BN_ULONG result[16],
37 const BN_ULONG base_norm[16], const BN_ULONG exponent[16],
38 const BN_ULONG m_norm[16], const BN_ULONG RR[16], BN_ULONG k0);
41 void RSAZ_512_mod_exp(BN_ULONG result[8],
42 const BN_ULONG base_norm[8], const BN_ULONG exponent[8],
43 const BN_ULONG m_norm[8], BN_ULONG k0, const BN_ULONG RR[8])
    [all...]
internal.h 188 BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w);
189 BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w);
190 void bn_sqr_words(BN_ULONG *rp, const BN_ULONG *ap, int num)
    [all...]
cmp.c 64 BN_ULONG t1, t2, *ap, *bp;
87 BN_ULONG t1, t2;
133 int bn_cmp_words(const BN_ULONG *a, const BN_ULONG *b, int n) {
135 BN_ULONG aa, bb;
153 int bn_cmp_part_words(const BN_ULONG *a, const BN_ULONG *b, int cl, int dl) {
175 int BN_abs_is_word(const BIGNUM *bn, BN_ULONG w) {
194 int BN_is_word(const BIGNUM *bn, BN_ULONG w) {
rsaz_exp.c 55 void rsaz_1024_mul_avx2(void *ret,const void *a,const void *b,const void *n,BN_ULONG k);
56 void rsaz_1024_sqr_avx2(void *ret,const void *a,const void *n,BN_ULONG k,int cnt);
72 ALIGN64 static const BN_ULONG one[40] =
74 ALIGN64 static const BN_ULONG two80[40] =
77 void RSAZ_1024_mod_exp_avx2(BN_ULONG result_norm[16],
78 const BN_ULONG base_norm[16], const BN_ULONG exponent[16],
79 const BN_ULONG m_norm[16], const BN_ULONG RR[16], BN_ULONG k0
    [all...]
generic.c 101 BN_ULONG high, low, ret, tmp = (a); \
114 BN_ULONG high, low, ret, ta = (a); \
124 BN_ULONG tmp = (a); \
131 BN_ULONG high, low, ret, tmp = (a); \
145 BN_ULONG high, low, ret, ta = (a); \
156 BN_ULONG tmp = (a); \
176 BN_ULONG m, m1, lt, ht; \
186 ht += L2HBITS((BN_ULONG)1); \
198 BN_ULONG l, h, m; \
217 BN_ULONG l, h;
    [all...]
mul.c 64 void bn_mul_normal(BN_ULONG *r, BN_ULONG *a, int na, BN_ULONG *b, int nb) {
65 BN_ULONG *rr;
69 BN_ULONG *ltmp;
109 void bn_mul_low_normal(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n) {
145 static BN_ULONG bn_sub_part_words(BN_ULONG *r, const BN_ULONG *a
    [all...]
convert.c 70 BN_ULONG word = 0;
115 BN_ULONG l;
127 static BN_ULONG constant_time_select_ulong(int v, BN_ULONG x, BN_ULONG y) {
128 BN_ULONG mask = v;
145 static BN_ULONG read_word_padded(const BIGNUM *in, size_t i) {
147 BN_ULONG l = in->d[constant_time_select_ulong(
156 BN_ULONG l;
232 BN_ULONG l=0
    [all...]
div.c 119 BN_ULONG *resp, *wnump;
120 BN_ULONG d0, d1;
252 BN_ULONG q, l0;
254 * calculate a BN_ULONG q such that | wnum - sdiv * q | < sdiv */
255 BN_ULONG n0, n1, rem = 0;
267 q = (BN_ULONG)(((((BN_ULLONG)n0) << BN_BITS2) | n1) / d0);
290 BN_ULONG t2l, t2h;
309 BN_ULONG ql, qh;
336 * BN_ULONG arrays with bn_sub_words */
559 BN_ULONG BN_div_word(BIGNUM *a, BN_ULONG w)
    [all...]
bn.c 167 static const BN_ULONG data_one = 1;
168 static const BIGNUM const_one = {(BN_ULONG *)&data_one, 1, 1, 0,
182 unsigned BN_num_bits_word(BN_ULONG l) {
250 int BN_set_word(BIGNUM *bn, BN_ULONG value) {
279 BN_ULONG *a;
295 a = (BN_ULONG *)OPENSSL_malloc(sizeof(BN_ULONG) * words);
301 memcpy(a, bn->d, sizeof(BN_ULONG) * bn->top);
317 BN_ULONG *ftl;
  /external/openssl/crypto/bn/
bn_lcl.h 240 # define BN_UMULT_HIGH(a,b) (BN_ULONG)asm("umulh %a0,%a1,%v0",(a),(b))
243 register BN_ULONG ret; \
252 register BN_ULONG ret; \
262 register BN_ULONG ret,discard; \
292 register BN_ULONG ret; \
309 #define Lw(t) (((BN_ULONG)(t))&BN_MASK2)
310 #define Hw(t) (((BN_ULONG)((t)>>BN_BITS2))&BN_MASK2)
316 BN_ULONG *ftl = &(a)->d[(a)->top-1]; \
348 BN_ULONG high,low,ret,tmp=(a); \
360 BN_ULONG high,low,ret,ta=(a);
    [all...]
bn_asm.c 71 BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w)
73 BN_ULONG c1=0;
97 BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w)
99 BN_ULONG c1=0
    [all...]
bn_word.c 63 BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w)
66 BN_ULONG ret=0;
73 return (BN_ULONG)-1;
87 return((BN_ULONG)ret);
90 BN_ULONG BN_div_word(BIGNUM *a, BN_ULONG w)
92 BN_ULONG ret = 0;
100 return (BN_ULONG)-1;
108 return (BN_ULONG)-1
    [all...]
bn_sqr.c 95 BN_ULONG t[8];
104 BN_ULONG t[16];
115 BN_ULONG t[BN_SQR_RECURSIVE_SIZE_NORMAL*2];
122 j=BN_num_bits_word((BN_ULONG)al);
159 void bn_sqr_normal(BN_ULONG *r, const BN_ULONG *a, int n, BN_ULONG *tmp)
162 const BN_ULONG *ap;
163 BN_ULONG *rp;
207 void bn_sqr_recursive(BN_ULONG *r, const BN_ULONG *a, int n2, BN_ULONG *t
    [all...]
bn_lib.c 136 static const BN_ULONG data_one=1L;
137 static const BIGNUM const_one={(BN_ULONG *)&data_one,1,1,0,BN_FLG_STATIC_DATA};
142 int BN_num_bits_word(BN_ULONG l)
299 static BN_ULONG *bn_expand_internal(const BIGNUM *b, int words)
301 BN_ULONG *A,*a = NULL;
302 const BN_ULONG *B;
317 a=A=(BN_ULONG *)OPENSSL_malloc(sizeof(BN_ULONG)*words);
329 memset(a, 0, sizeof(BN_ULONG)*words);
348 BN_ULONG a0,a1,a2,a3
    [all...]
bn_nist.c 71 static const BN_ULONG _nist_p_192[][BN_NIST_192_TOP] = {
76 static const BN_ULONG _nist_p_192_sqr[] = {
80 static const BN_ULONG _nist_p_224[][BN_NIST_224_TOP] = {
86 static const BN_ULONG _nist_p_224_sqr[] = {
92 static const BN_ULONG _nist_p_256[][BN_NIST_256_TOP] = {
104 static const BN_ULONG _nist_p_256_sqr[] = {
110 static const BN_ULONG _nist_p_384[][BN_NIST_384_TOP] = {
122 static const BN_ULONG _nist_p_384_sqr[] = {
128 static const BN_ULONG _nist_p_521[] =
134 static const BN_ULONG _nist_p_521_sqr[] =
    [all...]
bn_mul.c 80 BN_ULONG bn_sub_part_words(BN_ULONG *r,
81 const BN_ULONG *a, const BN_ULONG *b,
84 BN_ULONG c, t;
207 BN_ULONG bn_add_part_words(BN_ULONG *r,
208 const BN_ULONG *a, const BN_ULONG *b,
211 BN_ULONG c, l, t
    [all...]
bn.h 180 #define BN_ULONG unsigned long
208 #define BN_ULONG unsigned long long
237 #define BN_ULONG unsigned int
320 BN_ULONG *d; /* Pointer to an array of 'BN_BITS2' bit chunks. */
336 BN_ULONG n0[2];/* least significant word(s) of Ni;
337 (type changed with 0.9.9, was "BN_ULONG n0;" before) */
405 #define BN_abs_is_word(a,w) ((((a)->top == 1) && ((a)->d[0] == (BN_ULONG)(w))) || \
440 int BN_num_bits_word(BN_ULONG);
483 BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w)
    [all...]
bn_shift.c 65 register BN_ULONG *ap,*rp,t,c;
101 BN_ULONG *ap,*rp,t,c;
138 BN_ULONG *t,*f;
139 BN_ULONG l;
174 BN_ULONG *t,*f;
175 BN_ULONG l,tmp;
bn_div.c 186 BN_ULONG *resp,*wnump;
187 BN_ULONG d0,d1;
317 BN_ULONG q,l0;
319 * snum and sdiv to calculate a BN_ULONG q such that
322 BN_ULONG bn_div_3_words(BN_ULONG*,BN_ULONG,BN_ULONG);
325 BN_ULONG n0,n1,rem=0;
337 q=(BN_ULONG)(((((BN_ULLONG)n0)<<BN_BITS2)|n1)/d0)
    [all...]
  /external/chromium_org/third_party/boringssl/src/crypto/dh/
params.c 61 static const BN_ULONG dh1024_160_p[] = {
68 static const BN_ULONG dh1024_160_g[] = {
75 static const BN_ULONG dh1024_160_q[] = {
78 static const BN_ULONG dh2048_224_p[] = {
90 static const BN_ULONG dh2048_224_g[] = {
102 static const BN_ULONG dh2048_224_q[] = {
106 static const BN_ULONG dh2048_256_p[] = {
118 static const BN_ULONG dh2048_256_g[] = {
130 static const BN_ULONG dh2048_256_q[] = {
136 static const BN_ULONG dh1024_160_p[] =
    [all...]
  /external/openssl/crypto/
sparcv9cap.c 17 int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np,const BN_ULONG *n0, int num)
19 int bn_mul_mont_fpu(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np,const BN_ULONG *n0, int num)
    [all...]
  /external/openssl/crypto/bn/asm/
x86_64-gcc.c 59 #define BN_ULONG unsigned long long
61 #define BN_ULONG unsigned long
74 register BN_ULONG high,low; \
91 register BN_ULONG high,low; \
109 BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w)
111 BN_ULONG c1=0;
133 BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w
    [all...]
  /external/chromium_org/third_party/boringssl/src/crypto/bn/asm/
x86_64-gcc.c 71 register BN_ULONG high, low; \
86 register BN_ULONG high, low; \
97 BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num,
98 BN_ULONG w) {
99 BN_ULONG c1 = 0;
127 BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w)
    [all...]
  /external/openssl/include/openssl/
bn.h 180 #define BN_ULONG unsigned long
208 #define BN_ULONG unsigned long long
237 #define BN_ULONG unsigned int
320 BN_ULONG *d; /* Pointer to an array of 'BN_BITS2' bit chunks. */
336 BN_ULONG n0[2];/* least significant word(s) of Ni;
337 (type changed with 0.9.9, was "BN_ULONG n0;" before) */
405 #define BN_abs_is_word(a,w) ((((a)->top == 1) && ((a)->d[0] == (BN_ULONG)(w))) || \
440 int BN_num_bits_word(BN_ULONG);
483 BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w)
    [all...]
  /external/chromium_org/third_party/boringssl/src/include/openssl/
bn.h 140 /* BN_ULONG is the native word size when working with big integers. */
142 #define BN_ULONG uint64_t
145 #define BN_ULONG uint32_t
208 OPENSSL_EXPORT int BN_set_word(BIGNUM *bn, BN_ULONG value);
284 OPENSSL_EXPORT BN_ULONG BN_get_word(const BIGNUM *bn);
352 OPENSSL_EXPORT int BN_add_word(BIGNUM *a, BN_ULONG w);
365 OPENSSL_EXPORT int BN_sub_word(BIGNUM *a, BN_ULONG w);
374 OPENSSL_EXPORT int BN_mul_word(BIGNUM *bn, BN_ULONG w);
391 * remainder or (BN_ULONG)-1 on error. */
392 OPENSSL_EXPORT BN_ULONG BN_div_word(BIGNUM *numerator, BN_ULONG divisor)
    [all...]

Completed in 158 milliseconds

1 2 3