/third_party/node/deps/openssl/openssl/crypto/bn/ |
H A D | bn_sparc.c | 16 int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, in bn_mul_mont() 17 const BN_ULONG *np, const BN_ULONG *n0, int num) in bn_mul_mont() 19 int bn_mul_mont_vis3(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, in bn_mul_mont() 20 const BN_ULONG *np, const BN_ULONG *n in bn_mul_mont() [all...] |
H A D | rsaz_exp.h | 28 void RSAZ_1024_mod_exp_avx2(BN_ULONG result[16], 29 const BN_ULONG base_norm[16], 30 const BN_ULONG exponent[16], 31 const BN_ULONG m_norm[16], const BN_ULONG RR[16], 32 BN_ULONG k0); 35 void RSAZ_512_mod_exp(BN_ULONG result[8], 36 const BN_ULONG base_norm[8], const BN_ULONG exponent[8], 37 const BN_ULONG m_nor [all...] |
H A D | bn_local.h | 190 BN_ULONG *_not_const; \ 235 BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, 236 BN_ULONG w); 237 BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w); 238 void bn_sqr_words(BN_ULONG *r [all...] |
H A D | bn_ppc.c | 15 int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, in bn_mul_mont() 16 const BN_ULONG *np, const BN_ULONG *n0, int num) in bn_mul_mont() 18 int bn_mul_mont_int(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, in bn_mul_mont() 19 const BN_ULONG *np, const BN_ULONG *n in bn_mul_mont() [all...] |
H A D | bn_asm.c | 17 BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, in bn_mul_add_words() 18 BN_ULONG w) in bn_mul_add_words() 20 BN_ULONG c1 = 0; in bn_mul_add_words() 47 BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w) in bn_mul_words() 49 BN_ULONG c in bn_mul_words() [all...] |
H A D | bn_word.c | 13 BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w) in BN_mod_word() 16 BN_ULONG ret = 0; in BN_mod_word() 23 return (BN_ULONG)-1; in BN_mod_word() 30 if (w > ((BN_ULONG)1 << BN_BITS4)) { in BN_mod_word() 33 return (BN_ULONG)-1; in BN_mod_word() 47 * We can assume here that | w <= ((BN_ULONG)1 << BN_BITS4) | and so in BN_mod_word() 48 * | ret < ((BN_ULONG)1 << BN_BITS4) | and therefore the shifts here are in BN_mod_word() 58 return (BN_ULONG)ret; in BN_mod_word() 61 BN_ULONG BN_div_wor [all...] |
H A D | bn_nist.c | 21 static const BN_ULONG _nist_p_192[][BN_NIST_192_TOP] = { 27 static const BN_ULONG _nist_p_192_sqr[] = { 32 static const BN_ULONG _nist_p_224[][BN_NIST_224_TOP] = { 40 static const BN_ULONG _nist_p_224_sqr[] = { 47 static const BN_ULONG _nist_p_256[][BN_NIST_256_TOP] = { 60 static const BN_ULONG _nist_p_256_sqr[] = { 67 static const BN_ULONG _nist_p_384[][BN_NIST_384_TOP] = { 80 static const BN_ULONG _nist_p_384_sqr[] = { 87 static const BN_ULONG _nist_p_521[] = 95 static const BN_ULONG _nist_p_521_sq [all...] |
H A D | bn_mul.c | 27 BN_ULONG bn_sub_part_words(BN_ULONG *r, in bn_sub_part_words() 28 const BN_ULONG *a, const BN_ULONG *b, in bn_sub_part_words() 31 BN_ULONG c, t; in bn_sub_part_words() 175 void bn_mul_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2, in bn_mul_recursive() 176 int dna, int dnb, BN_ULONG *t) in bn_mul_recursive() 181 BN_ULONG l in bn_mul_recursive() [all...] |
H A D | bn_exp.c | 148 BN_ULONG A = a->d[0]; in BN_mod_exp() 401 if (m->d[j - 1] & (((BN_ULONG)1) << (BN_BITS2 - 1))) { in BN_mod_exp_mont() 489 static BN_ULONG bn_get_bits(const BIGNUM *a, int bitpos) in bn_get_bits() 491 BN_ULONG ret = 0; in bn_get_bits() 521 BN_ULONG *table = (BN_ULONG *)buf; in MOD_EXP_CTIME_COPY_TO_PREBUF() 547 volatile BN_ULONG *table = (volatile BN_ULONG *)buf; in MOD_EXP_CTIME_COPY_FROM_PREBUF() 554 BN_ULONG acc = 0; in MOD_EXP_CTIME_COPY_FROM_PREBUF() 558 ((BN_ULONG) in MOD_EXP_CTIME_COPY_FROM_PREBUF() [all...] |
H A D | bn_sqr.c | 54 BN_ULONG t[8]; in bn_sqr_fixed_top() 61 BN_ULONG t[16]; in bn_sqr_fixed_top() 69 BN_ULONG t[BN_SQR_RECURSIVE_SIZE_NORMAL * 2]; in bn_sqr_fixed_top() 74 j = BN_num_bits_word((BN_ULONG)al); in bn_sqr_fixed_top() 109 void bn_sqr_normal(BN_ULONG *r, const BN_ULONG *a, int n, BN_ULONG *tmp) in bn_sqr_normal() 112 const BN_ULONG *ap; in bn_sqr_normal() 113 BN_ULONG *rp; in bn_sqr_normal() 156 void bn_sqr_recursive(BN_ULONG * [all...] |
H A D | bn_div.c | 91 BN_ULONG bn_div_3_words(const BN_ULONG *m, BN_ULONG d1, BN_ULONG d0); 115 static BN_ULONG bn_div_3_words(const BN_ULONG *m, BN_ULONG d1, BN_ULONG d0) in bn_div_3_words() 119 BN_ULONG Q = 0, mask; in bn_div_3_words() 143 BN_ULONG * in bn_left_align() [all...] |
/third_party/openssl/crypto/bn/ |
H A D | bn_sparc.c | 16 int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, in bn_mul_mont() 17 const BN_ULONG *np, const BN_ULONG *n0, int num) in bn_mul_mont() 19 int bn_mul_mont_vis3(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, in bn_mul_mont() 20 const BN_ULONG *np, const BN_ULONG *n in bn_mul_mont() [all...] |
H A D | rsaz_exp.h | 28 void RSAZ_1024_mod_exp_avx2(BN_ULONG result[16], 29 const BN_ULONG base_norm[16], 30 const BN_ULONG exponent[16], 31 const BN_ULONG m_norm[16], const BN_ULONG RR[16], 32 BN_ULONG k0); 35 void RSAZ_512_mod_exp(BN_ULONG result[8], 36 const BN_ULONG base_norm[8], const BN_ULONG exponent[8], 37 const BN_ULONG m_nor [all...] |
H A D | bn_local.h | 190 BN_ULONG *_not_const; \ 235 BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, 236 BN_ULONG w); 237 BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w); 238 void bn_sqr_words(BN_ULONG *r [all...] |
H A D | bn_ppc.c | 15 int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, in bn_mul_mont() 16 const BN_ULONG *np, const BN_ULONG *n0, int num) in bn_mul_mont() 18 int bn_mul_mont_int(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, in bn_mul_mont() 19 const BN_ULONG *np, const BN_ULONG *n in bn_mul_mont() [all...] |
H A D | bn_asm.c | 17 BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, in bn_mul_add_words() 18 BN_ULONG w) in bn_mul_add_words() 20 BN_ULONG c1 = 0; in bn_mul_add_words() 47 BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w) in bn_mul_words() 49 BN_ULONG c in bn_mul_words() [all...] |
H A D | bn_word.c | 13 BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w) in BN_mod_word() 16 BN_ULONG ret = 0; in BN_mod_word() 23 return (BN_ULONG)-1; in BN_mod_word() 30 if (w > ((BN_ULONG)1 << BN_BITS4)) { in BN_mod_word() 33 return (BN_ULONG)-1; in BN_mod_word() 47 * We can assume here that | w <= ((BN_ULONG)1 << BN_BITS4) | and so in BN_mod_word() 48 * | ret < ((BN_ULONG)1 << BN_BITS4) | and therefore the shifts here are in BN_mod_word() 58 return (BN_ULONG)ret; in BN_mod_word() 61 BN_ULONG BN_div_wor [all...] |
H A D | bn_nist.c | 21 static const BN_ULONG _nist_p_192[][BN_NIST_192_TOP] = { 27 static const BN_ULONG _nist_p_192_sqr[] = { 32 static const BN_ULONG _nist_p_224[][BN_NIST_224_TOP] = { 40 static const BN_ULONG _nist_p_224_sqr[] = { 47 static const BN_ULONG _nist_p_256[][BN_NIST_256_TOP] = { 60 static const BN_ULONG _nist_p_256_sqr[] = { 67 static const BN_ULONG _nist_p_384[][BN_NIST_384_TOP] = { 80 static const BN_ULONG _nist_p_384_sqr[] = { 87 static const BN_ULONG _nist_p_521[] = 95 static const BN_ULONG _nist_p_521_sq [all...] |
H A D | bn_mul.c | 27 BN_ULONG bn_sub_part_words(BN_ULONG *r, in bn_sub_part_words() 28 const BN_ULONG *a, const BN_ULONG *b, in bn_sub_part_words() 31 BN_ULONG c, t; in bn_sub_part_words() 175 void bn_mul_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2, in bn_mul_recursive() 176 int dna, int dnb, BN_ULONG *t) in bn_mul_recursive() 181 BN_ULONG l in bn_mul_recursive() [all...] |
H A D | bn_exp.c | 148 BN_ULONG A = a->d[0]; in BN_mod_exp() 393 if (m->d[j - 1] & (((BN_ULONG)1) << (BN_BITS2 - 1))) { in BN_mod_exp_mont() 481 static BN_ULONG bn_get_bits(const BIGNUM *a, int bitpos) in bn_get_bits() 483 BN_ULONG ret = 0; in bn_get_bits() 513 BN_ULONG *table = (BN_ULONG *)buf; in MOD_EXP_CTIME_COPY_TO_PREBUF() 539 volatile BN_ULONG *table = (volatile BN_ULONG *)buf; in MOD_EXP_CTIME_COPY_FROM_PREBUF() 546 BN_ULONG acc = 0; in MOD_EXP_CTIME_COPY_FROM_PREBUF() 550 ((BN_ULONG) in MOD_EXP_CTIME_COPY_FROM_PREBUF() [all...] |
H A D | bn_sqr.c | 54 BN_ULONG t[8]; in bn_sqr_fixed_top() 61 BN_ULONG t[16]; in bn_sqr_fixed_top() 69 BN_ULONG t[BN_SQR_RECURSIVE_SIZE_NORMAL * 2]; in bn_sqr_fixed_top() 74 j = BN_num_bits_word((BN_ULONG)al); in bn_sqr_fixed_top() 109 void bn_sqr_normal(BN_ULONG *r, const BN_ULONG *a, int n, BN_ULONG *tmp) in bn_sqr_normal() 112 const BN_ULONG *ap; in bn_sqr_normal() 113 BN_ULONG *rp; in bn_sqr_normal() 156 void bn_sqr_recursive(BN_ULONG * [all...] |
/third_party/node/deps/openssl/openssl/crypto/bn/asm/ |
H A D | x86_64-gcc.c | 75 register BN_ULONG high,low; \ 92 register BN_ULONG high,low; \ 110 BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, in bn_mul_add_words() 111 BN_ULONG w) in bn_mul_add_words() 113 BN_ULONG c1 = 0; in bn_mul_add_words() 141 BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *a [all...] |
/third_party/openssl/crypto/bn/asm/ |
H A D | x86_64-gcc.c | 75 register BN_ULONG high,low; \ 92 register BN_ULONG high,low; \ 110 BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, in bn_mul_add_words() 111 BN_ULONG w) in bn_mul_add_words() 113 BN_ULONG c1 = 0; in bn_mul_add_words() 141 BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *a [all...] |
/third_party/node/deps/openssl/openssl/crypto/ec/ |
H A D | ecp_nistz256.c | 37 # define TOBN(hi,lo) ((BN_ULONG)hi<<32|lo) 54 BN_ULONG X[P256_LIMBS]; 55 BN_ULONG Y[P256_LIMBS]; 56 BN_ULONG Z[P256_LIMBS]; 60 BN_ULONG X[P256_LIMBS]; 61 BN_ULONG Y[P256_LIMBS]; 99 void ecp_nistz256_add(BN_ULONG res[P256_LIMBS], 100 const BN_ULONG a[P256_LIMBS], 101 const BN_ULONG b[P256_LIMBS]); 103 void ecp_nistz256_mul_by_2(BN_ULONG re [all...] |
/third_party/openssl/crypto/ec/ |
H A D | ecp_nistz256.c | 37 # define TOBN(hi,lo) ((BN_ULONG)hi<<32|lo) 54 BN_ULONG X[P256_LIMBS]; 55 BN_ULONG Y[P256_LIMBS]; 56 BN_ULONG Z[P256_LIMBS]; 60 BN_ULONG X[P256_LIMBS]; 61 BN_ULONG Y[P256_LIMBS]; 99 void ecp_nistz256_add(BN_ULONG res[P256_LIMBS], 100 const BN_ULONG a[P256_LIMBS], 101 const BN_ULONG b[P256_LIMBS]); 103 void ecp_nistz256_mul_by_2(BN_ULONG re [all...] |