Home
last modified time | relevance | path

Searched refs:w (Results 1 – 25 of 102) sorted by relevance

12345

/openssl/providers/implementations/digests/
H A Dblake2_impl.h26 memcpy(&w, src, sizeof(w)); in load32()
27 return w; in load32()
33 return w; in load32()
43 memcpy(&w, src, sizeof(w)); in load64()
44 return w; in load64()
54 return w; in load64()
63 memcpy(dst, &w, sizeof(w)); in store32()
78 memcpy(dst, &w, sizeof(w)); in store64()
96 return w; in load48()
112 return (w >> c) | (w << (32 - c)); in rotr32()
[all …]
/openssl/crypto/bn/
H A Dbn_word.c22 if (w == 0) in BN_mod_word()
43 w &= BN_MASK2; in BN_mod_word()
67 w &= BN_MASK2; in BN_div_word()
69 if (!w) in BN_div_word()
77 w <<= j; in BN_div_word()
104 w &= BN_MASK2; in BN_add_word()
107 if (!w) in BN_add_word()
122 w = (w > l) ? 1 : 0; in BN_add_word()
139 w &= BN_MASK2; in BN_sub_word()
142 if (!w) in BN_sub_word()
[all …]
H A Dbn_prime.c279 if (BN_cmp(w, BN_value_one()) <= 0) in bn_is_prime_int()
283 if (BN_is_odd(w)) { in bn_is_prime_int()
285 if (BN_is_word(w, 3)) in bn_is_prime_int()
289 return BN_is_word(w, 2); in bn_is_prime_int()
297 BN_ULONG mod = BN_mod_word(w, primes[i]); in bn_is_prime_int()
301 return BN_is_word(w, primes[i]); in bn_is_prime_int()
345 if (!BN_is_odd(w)) in ossl_bn_miller_rabin_is_prime()
359 && BN_copy(w1, w) in ossl_bn_miller_rabin_is_prime()
362 && BN_copy(w3, w) in ossl_bn_miller_rabin_is_prime()
395 if (!BN_gcd(g, b, w, ctx)) in ossl_bn_miller_rabin_is_prime()
[all …]
H A Dbn_gf2m.c25 # define SQR_nibble(w) ((((w) & 8) << 3) \ argument
34 SQR_nibble((w) >> 60) << 56 | SQR_nibble((w) >> 56) << 48 | \
35 SQR_nibble((w) >> 52) << 40 | SQR_nibble((w) >> 48) << 32 | \
36 SQR_nibble((w) >> 44) << 24 | SQR_nibble((w) >> 40) << 16 | \
37 SQR_nibble((w) >> 36) << 8 | SQR_nibble((w) >> 32)
39 SQR_nibble((w) >> 28) << 56 | SQR_nibble((w) >> 24) << 48 | \
40 SQR_nibble((w) >> 20) << 40 | SQR_nibble((w) >> 16) << 32 | \
42 SQR_nibble((w) >> 4) << 8 | SQR_nibble((w) )
47 SQR_nibble((w) >> 20) << 8 | SQR_nibble((w) >> 16)
50 SQR_nibble((w) >> 4) << 8 | SQR_nibble((w) )
[all …]
H A Dbn_intern.c22 signed char *bn_compute_wNAF(const BIGNUM *scalar, int w, size_t *ret_len) in bn_compute_wNAF() argument
41 if (w <= 0 || w > 7) { /* 'signed char' can represent integers with in bn_compute_wNAF()
46 bit = 1 << w; /* at most 128 */ in bn_compute_wNAF()
71 while ((window_val != 0) || (j + w + 1 < len)) { /* if j+w+1 >= len, in bn_compute_wNAF()
85 if (j + w + 1 >= len) { in bn_compute_wNAF()
121 window_val += bit * BN_is_bit_set(scalar, j + w); in bn_compute_wNAF()
H A Dbn_local.h216 BN_ULONG w);
481 # define mul_add(r,a,w,c) { \ argument
483 t=(BN_ULLONG)w * (a) + (r) + (c); \
488 # define mul(r,a,w,c) { \ argument
490 t=(BN_ULLONG)w * (a) + (c); \
506 BN_UMULT_LOHI(low,high,w,tmp); \
517 BN_UMULT_LOHI(low,high,w,ta); \
533 high= BN_UMULT_HIGH(w,tmp); \
535 low = (w) * tmp; \
545 low = (w) * ta; \
[all …]
H A Dbn_lib.c420 int BN_set_word(BIGNUM *a, BN_ULONG w) in BN_set_word() argument
426 a->d[0] = w; in BN_set_word()
427 a->top = (w ? 1 : 0); in BN_set_word()
823 int b, w; in BN_mask_bits() local
829 w = n / BN_BITS2; in BN_mask_bits()
831 if (w >= a->top) in BN_mask_bits()
834 a->top = w; in BN_mask_bits()
836 a->top = w + 1; in BN_mask_bits()
837 a->d[w] &= ~(BN_MASK2 << b); in BN_mask_bits()
998 return ((a->top == 1) && (a->d[0] == w)) || ((w == 0) && (a->top == 0)); in BN_abs_is_word()
[all …]
/openssl/doc/man3/
H A DBN_add_word.pod12 int BN_add_word(BIGNUM *a, BN_ULONG w);
14 int BN_sub_word(BIGNUM *a, BN_ULONG w);
16 int BN_mul_word(BIGNUM *a, BN_ULONG w);
18 BN_ULONG BN_div_word(BIGNUM *a, BN_ULONG w);
20 BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w);
28 BN_add_word() adds B<w> to B<a> (C<a+=w>).
30 BN_sub_word() subtracts B<w> from B<a> (C<a-=w>).
32 BN_mul_word() multiplies B<a> and B<w> (C<a*=w>).
34 BN_div_word() divides B<a> by B<w> (C<a/=w>) and returns the remainder.
36 BN_mod_word() returns the remainder of B<a> divided by B<w> (C<a%w>).
[all …]
H A DBN_cmp.pod16 int BN_is_word(const BIGNUM *a, const BN_ULONG w);
17 int BN_abs_is_word(const BIGNUM *a, const BN_ULONG w);
26 I<a> equals 0, 1, I<w>, or E<verbar>I<w>E<verbar> respectively.
/openssl/crypto/bn/asm/
H A Dppc64-mont-fixed.pl391 mulld $lo,$a,$w
393 mulhdu $c,$a,$w
406 mulld $r,$a,$w
407 mulhdu $c,$a,$w
419 mulld $lo,$a,$w
421 mulhdu $c,$a,$w
433 mulld $lo,$a,$w
435 mulhdu $c,$a,$w
450 mulld $lo,$a,$w
452 mulhdu $c,$a,$w
[all …]
H A Dx86_64-gcc.c111 BN_ULONG w) in bn_mul_add_words() argument
119 mul_add(rp[0], ap[0], w, c1); in bn_mul_add_words()
120 mul_add(rp[1], ap[1], w, c1); in bn_mul_add_words()
121 mul_add(rp[2], ap[2], w, c1); in bn_mul_add_words()
149 mul(rp[0], ap[0], w, c1); in bn_mul_words()
150 mul(rp[1], ap[1], w, c1); in bn_mul_words()
151 mul(rp[2], ap[2], w, c1); in bn_mul_words()
152 mul(rp[3], ap[3], w, c1); in bn_mul_words()
158 mul(rp[0], ap[0], w, c1); in bn_mul_words()
161 mul(rp[1], ap[1], w, c1); in bn_mul_words()
[all …]
/openssl/crypto/asn1/
H A Da_bitstr.c145 int w, v, iv; in ASN1_BIT_STRING_set_bit() local
148 w = n / 8; in ASN1_BIT_STRING_set_bit()
159 if ((a->length < (w + 1)) || (a->data == NULL)) { in ASN1_BIT_STRING_set_bit()
162 c = OPENSSL_clear_realloc(a->data, a->length, w + 1); in ASN1_BIT_STRING_set_bit()
167 if (w + 1 - a->length > 0) in ASN1_BIT_STRING_set_bit()
168 memset(c + a->length, 0, w + 1 - a->length); in ASN1_BIT_STRING_set_bit()
170 a->length = w + 1; in ASN1_BIT_STRING_set_bit()
172 a->data[w] = ((a->data[w]) & iv) | v; in ASN1_BIT_STRING_set_bit()
180 int w, v; in ASN1_BIT_STRING_get_bit() local
182 w = n / 8; in ASN1_BIT_STRING_get_bit()
[all …]
/openssl/crypto/ripemd/
H A Drmd_local.h64 #define RIP1(a,b,c,d,e,w,s) { \ argument
65 a+=F1(b,c,d)+X(w); \
69 #define RIP2(a,b,c,d,e,w,s,K) { \ argument
70 a+=F2(b,c,d)+X(w)+K; \
74 #define RIP3(a,b,c,d,e,w,s,K) { \ argument
75 a+=F3(b,c,d)+X(w)+K; \
79 #define RIP4(a,b,c,d,e,w,s,K) { \ argument
80 a+=F4(b,c,d)+X(w)+K; \
84 #define RIP5(a,b,c,d,e,w,s,K) { \ argument
85 a+=F5(b,c,d)+X(w)+K; \
/openssl/test/recipes/04-test_pem_reading_data/
H A Dcert-onecolumn.pem39 w
177 w
199 w
200 w
244 w
321 w
333 w
335 w
417 w
419 w
[all …]
H A Ddsa-onecolumn.pem133 w
144 w
178 w
234 w
334 w
473 w
489 w
503 w
558 w
599 w
[all …]
/openssl/test/
H A Dbioprinttest.c174 const char *w; member
229 r = TEST_true(dofptest(i, t++, 0.0, pwp->w, pwp->p)) in test_fp()
230 && TEST_true(dofptest(i, t++, 0.67, pwp->w, pwp->p)) in test_fp()
231 && TEST_true(dofptest(i, t++, frac, pwp->w, pwp->p)) in test_fp()
232 && TEST_true(dofptest(i, t++, frac / 1000, pwp->w, pwp->p)) in test_fp()
233 && TEST_true(dofptest(i, t++, frac / 10000, pwp->w, pwp->p)) in test_fp()
234 && TEST_true(dofptest(i, t++, 6.0 + frac, pwp->w, pwp->p)) in test_fp()
235 && TEST_true(dofptest(i, t++, 66.0 + frac, pwp->w, pwp->p)) in test_fp()
236 && TEST_true(dofptest(i, t++, 666.0 + frac, pwp->w, pwp->p)) in test_fp()
237 && TEST_true(dofptest(i, t++, 6666.0 + frac, pwp->w, pwp->p)) in test_fp()
[all …]
H A Dsmcont.bin5 …���������������������������������������������������������������������������������������u*��`w��9C�
10 ��ֻ۟Q!���,� 52�3e�$-�oW i���aQ���S.����2b�O��#�{=cɥ�2��7N_�FT�;+JV�'�R�oz�̐8��N�>w֬�1q�?�ɲ3pb…
19 -�I������16X�S�E�u5O�}*]���^�$g�,�,xHb�������͢)O���Dt�2 ������ܞ+c�#6�*L�2}�N�^���i{� 5�…
20 O�^7]�4�a �zC����1E�g��PJ��音�#L��5�Hܮ���'ͺ$�3�?�}P�&.��xp�k�
21 �@��A���m��9oA�|�:���\Q��7�"�����A�t~r��H�>�l������A� w�hˡAgP�}�U{#�4M}�����I��x3C�h�e�…
22 ��_�ƵYKnl �$��s������s����9w�a �#L._�R�����C 6����̸��W����m�߻��D�����gL��J��DGs����I��c…
26 …����N�|�7��D��r�����ݚ=7��_��8�Mo�χ�����~��C �x/�����g�ġ�|i�8��� 4w�'��ːY���)��W��<��…
32 …;T${[��c~V���3�C3��'�zc�مE��o�gh`K�$#�9F��Hx#O��WAM<?�8w�)2��6��H;?+��r脌׺�crG[V`��i�B�w�c�)�…
33 …�dK�y�P<�OϤ�y��dw�W,�)��C����2�r��nj ��M�7 �q���d��1� #��(~X<c��i�w��Is����Y������c�]…
34 ʯ���kV��0��g�͂��{noc�Q(�� 1��B~aL��*�/^M�� h�|e����ך�ۃ/��C(�+K_s�,���6��1���Ø�6w>��(�`���T�@�…
/openssl/providers/implementations/macs/
H A Dkmac_prov.c138 size_t w);
142 size_t w);
246 int w = EVP_MD_get_block_size(digest); in kmac_setkey() local
252 if (w < 0) { in kmac_setkey()
257 key, keylen, (size_t)w)) in kmac_setkey()
542 int sz = w; in bytepad()
550 *out_len = (sz + w - 1) / w * w; in bytepad()
554 if (!ossl_assert(w <= 255)) in bytepad()
559 *p++ = (unsigned char)w; in bytepad()
570 sz = (len + w - 1) / w * w; in bytepad()
[all …]
/openssl/crypto/cast/
H A Dcast_local.h149 CAST_LONG u,v,w; \
150 w=(key[n*2] OP1 R)&0xffffffffL; \
152 w=ROTL(w,i); \
153 u=w>>C_2; \
154 v=w<<C_3; \
158 u=w>>C_0; \
160 v=w>>C_1; \
/openssl/crypto/ec/
H A Dec_mult.c42 size_t w; /* window size */ member
66 ret->w = 4; /* default */ in ec_pre_comp_new()
285 #define EC_POINT_CSWAP(c, a, b, w, t) do { \ in ossl_ec_scalar_mul_ladder() argument
570 wsize[num] = pre_comp->w; in ossl_ec_wNAF_mul()
793 signed char **w; in ossl_ec_wNAF_mul() local
795 for (w = wNAF; *w != NULL; w++) in ossl_ec_wNAF_mul()
796 OPENSSL_free(*w); in ossl_ec_wNAF_mul()
881 w = 4; in ossl_ec_wNAF_precompute_mult()
884 w = EC_window_bits_for_scalar_size(bits); in ossl_ec_wNAF_precompute_mult()
891 pre_points_per_block = (size_t)1 << (w - 1); in ossl_ec_wNAF_precompute_mult()
[all …]
/openssl/crypto/
H A Dpunycode.c151 unsigned int w = 1; in ossl_punycode_decode() local
164 if ((unsigned int)digit > (maxint - i) / w) in ossl_punycode_decode()
167 i = i + digit * w; in ossl_punycode_decode()
173 if (w > maxint / (base - t)) in ossl_punycode_decode()
175 w = w * (base - t); in ossl_punycode_decode()
/openssl/util/
H A Dcheck-format-test-negatives.c316 w = 0 enumerator
320 w = 0 enumerator
323 w = 0 enumerator
328 w = 0 enumerator
334 w = 0 enumerator
337 w = 0 enumerator
/openssl/providers/implementations/ciphers/
H A Dcipher_aes_gcm_hw_s390x.inc51 kma->j0.w[3] = 1;
52 kma->cv.w = 1;
79 kma->cv.w = kma->j0.w[3];
215 unsigned int w[4];
278 buf.w[0] = kma->j0.w[0];
279 buf.w[1] = kma->j0.w[1];
280 buf.w[2] = kma->j0.w[2];
281 buf.w[3] = kma->cv.w + 1;
/openssl/crypto/aes/
H A Daes_core.c65 u32 w[2]; member
77 a = *w; in XtimeWord()
83 *w = b; in XtimeWord()
90 a = *w; in XtimeLong()
96 *w = b; in XtimeLong()
149 x = *w; in SubWord()
233 *w = x; in SubWord()
240 x = *w; in SubLong()
324 *w = x; in SubLong()
334 x = *w; in InvSubLong()
[all …]
/openssl/test/smime-certs/
H A Dsmdsa1.pem7 8EP8eXSDD+1Sni2Jk38etU+laS0pVV9lh6sV3zV28YXVZl01CHUfwH+3w/XJAh0A
27 aS0pVV9lh6sV3zV28YXVZl01CHUfwH+3w/XJAh0AmkjrU1XrCahV9d78Rklpd4fK
46 FMIOyEdUUtKowWT6eXwrITup3T6pspPTicbK61ZCPuxMvP2JBFGZsqat+F5g+w==

Completed in 106 milliseconds

12345