/openssl/providers/implementations/digests/ |
H A D | blake2_impl.h | 26 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 D | bn_word.c | 22 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 D | bn_prime.c | 261 return bn_is_prime_int(w, checks, ctx, 1, cb); in ossl_bn_check_generated_prime() 288 if (BN_cmp(w, BN_value_one()) <= 0) in bn_is_prime_int() 292 if (BN_is_odd(w)) { in bn_is_prime_int() 294 if (BN_is_word(w, 3)) in bn_is_prime_int() 298 return BN_is_word(w, 2); in bn_is_prime_int() 310 return BN_is_word(w, primes[i]); in bn_is_prime_int() 355 if (!BN_is_odd(w)) in ossl_bn_miller_rabin_is_prime() 369 && BN_copy(w1, w) in ossl_bn_miller_rabin_is_prime() 372 && BN_copy(w3, w) in ossl_bn_miller_rabin_is_prime() 405 if (!BN_gcd(g, b, w, ctx)) in ossl_bn_miller_rabin_is_prime() [all …]
|
H A D | bn_gf2m.c | 26 # define SQR_nibble(w) ((((w) & 8) << 3) \ argument 35 SQR_nibble((w) >> 60) << 56 | SQR_nibble((w) >> 56) << 48 | \ 36 SQR_nibble((w) >> 52) << 40 | SQR_nibble((w) >> 48) << 32 | \ 37 SQR_nibble((w) >> 44) << 24 | SQR_nibble((w) >> 40) << 16 | \ 38 SQR_nibble((w) >> 36) << 8 | SQR_nibble((w) >> 32) 40 SQR_nibble((w) >> 28) << 56 | SQR_nibble((w) >> 24) << 48 | \ 41 SQR_nibble((w) >> 20) << 40 | SQR_nibble((w) >> 16) << 32 | \ 43 SQR_nibble((w) >> 4) << 8 | SQR_nibble((w) ) 48 SQR_nibble((w) >> 20) << 8 | SQR_nibble((w) >> 16) 51 SQR_nibble((w) >> 4) << 8 | SQR_nibble((w) ) [all …]
|
H A D | bn_intern.c | 22 signed char *bn_compute_wNAF(const BIGNUM *scalar, int w, size_t *ret_len) in bn_compute_wNAF() argument 39 if (w <= 0 || w > 7) { /* 'signed char' can represent integers with in bn_compute_wNAF() 44 bit = 1 << w; /* at most 128 */ in bn_compute_wNAF() 67 while ((window_val != 0) || (j + w + 1 < len)) { /* if j+w+1 >= len, in bn_compute_wNAF() 81 if (j + w + 1 >= len) { in bn_compute_wNAF() 117 window_val += bit * BN_is_bit_set(scalar, j + w); in bn_compute_wNAF()
|
H A D | bn_local.h | 236 BN_ULONG w); 483 # define mul_add(r,a,w,c) { \ argument 485 t=(BN_ULLONG)w * (a) + (r) + (c); \ 490 # define mul(r,a,w,c) { \ argument 492 t=(BN_ULLONG)w * (a) + (c); \ 508 BN_UMULT_LOHI(low,high,w,tmp); \ 519 BN_UMULT_LOHI(low,high,w,ta); \ 535 high= BN_UMULT_HIGH(w,tmp); \ 537 low = (w) * tmp; \ 547 low = (w) * ta; \ [all …]
|
H A D | bn_lib.c | 417 int BN_set_word(BIGNUM *a, BN_ULONG w) in BN_set_word() argument 423 a->d[0] = w; in BN_set_word() 424 a->top = (w ? 1 : 0); in BN_set_word() 848 int b, w; in ossl_bn_mask_bits_fixed_top() local 853 w = n / BN_BITS2; in ossl_bn_mask_bits_fixed_top() 855 if (w >= a->top) in ossl_bn_mask_bits_fixed_top() 858 a->top = w; in ossl_bn_mask_bits_fixed_top() 860 a->top = w + 1; in ossl_bn_mask_bits_fixed_top() 861 a->d[w] &= ~(BN_MASK2 << b); in ossl_bn_mask_bits_fixed_top() 1033 return ((a->top == 1) && (a->d[0] == w)) || ((w == 0) && (a->top == 0)); in BN_abs_is_word() [all …]
|
/openssl/doc/man3/ |
H A D | BN_add_word.pod | 12 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 D | BN_cmp.pod | 17 int BN_is_word(const BIGNUM *a, const BN_ULONG w); 18 int BN_abs_is_word(const BIGNUM *a, const BN_ULONG w); 29 I<a> equals 0, 1, I<w>, or E<verbar>I<w>E<verbar> respectively.
|
/openssl/crypto/bn/asm/ |
H A D | ppc64-mont-fixed.pl | 391 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 D | x86_64-gcc.c | 111 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 D | a_bitstr.c | 145 int w, v, iv; in ASN1_BIT_STRING_set_bit() local 151 w = n / 8; in ASN1_BIT_STRING_set_bit() 162 if ((a->length < (w + 1)) || (a->data == NULL)) { in ASN1_BIT_STRING_set_bit() 165 c = OPENSSL_clear_realloc(a->data, a->length, w + 1); in ASN1_BIT_STRING_set_bit() 168 if (w + 1 - a->length > 0) in ASN1_BIT_STRING_set_bit() 169 memset(c + a->length, 0, w + 1 - a->length); in ASN1_BIT_STRING_set_bit() 171 a->length = w + 1; in ASN1_BIT_STRING_set_bit() 173 a->data[w] = ((a->data[w]) & iv) | v; in ASN1_BIT_STRING_set_bit() 181 int w, v; in ASN1_BIT_STRING_get_bit() local 186 w = n / 8; in ASN1_BIT_STRING_get_bit() [all …]
|
/openssl/test/recipes/04-test_pem_reading_data/ |
H A D | cert-onecolumn.pem | 39 w 177 w 199 w 200 w 244 w 321 w 333 w 335 w 417 w 419 w [all …]
|
H A D | dsa-onecolumn.pem | 133 w 144 w 178 w 234 w 334 w 473 w 489 w 503 w 558 w 599 w [all …]
|
/openssl/crypto/ripemd/ |
H A D | rmd_local.h | 64 #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/ |
H A D | bioprinttest.c | 173 const char *w; member 228 r = TEST_true(dofptest(i, t++, 0.0, pwp->w, pwp->p)) in test_fp() 229 && TEST_true(dofptest(i, t++, 0.67, pwp->w, pwp->p)) in test_fp() 230 && TEST_true(dofptest(i, t++, frac, pwp->w, pwp->p)) in test_fp() 231 && TEST_true(dofptest(i, t++, frac / 1000, pwp->w, pwp->p)) in test_fp() 232 && TEST_true(dofptest(i, t++, frac / 10000, pwp->w, pwp->p)) in test_fp() 233 && TEST_true(dofptest(i, t++, 6.0 + frac, pwp->w, pwp->p)) in test_fp() 234 && TEST_true(dofptest(i, t++, 66.0 + frac, pwp->w, pwp->p)) in test_fp() 235 && TEST_true(dofptest(i, t++, 666.0 + frac, pwp->w, pwp->p)) in test_fp() 236 && TEST_true(dofptest(i, t++, 6666.0 + frac, pwp->w, pwp->p)) in test_fp() [all …]
|
H A D | smcont.bin | 5 …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� whˡ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/crypto/cast/ |
H A D | cast_local.h | 104 CAST_LONG u,v,w; \ 105 w=(key[n*2] OP1 R)&0xffffffffL; \ 107 w=ROTL(w,i); \ 108 u=w>>C_2; \ 109 v=w<<C_3; \ 113 u=w>>C_0; \ 115 v=w>>C_1; \
|
/openssl/providers/implementations/macs/ |
H A D | kmac_prov.c | 148 size_t w); 152 size_t w); 266 int w = EVP_MD_get_block_size(digest); in kmac_setkey() local 291 if (w <= 0) { in kmac_setkey() 296 key, keylen, (size_t)w)) in kmac_setkey() 604 int sz = w; in bytepad() 612 *out_len = (sz + w - 1) / w * w; in bytepad() 616 if (!ossl_assert(w <= 255)) in bytepad() 621 *p++ = (unsigned char)w; in bytepad() 632 sz = (len + w - 1) / w * w; in bytepad() [all …]
|
/openssl/crypto/ec/ |
H A D | ec_mult.c | 42 size_t w; /* window size */ member 63 ret->w = 4; /* default */ in ec_pre_comp_new() 279 #define EC_POINT_CSWAP(c, a, b, w, t) do { \ in ossl_ec_scalar_mul_ladder() argument 562 wsize[num] = pre_comp->w; in ossl_ec_wNAF_mul() 782 signed char **w; in ossl_ec_wNAF_mul() local 784 for (w = wNAF; *w != NULL; w++) in ossl_ec_wNAF_mul() 785 OPENSSL_free(*w); in ossl_ec_wNAF_mul() 870 w = 4; in ossl_ec_wNAF_precompute_mult() 873 w = EC_window_bits_for_scalar_size(bits); in ossl_ec_wNAF_precompute_mult() 880 pre_points_per_block = (size_t)1 << (w - 1); in ossl_ec_wNAF_precompute_mult() [all …]
|
/openssl/crypto/ |
H A D | punycode.c | 151 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/providers/implementations/ciphers/ |
H A D | cipher_aes_gcm_hw_s390x.inc | 51 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 D | aes_core.c | 65 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/util/ |
H A D | check-format-test-negatives.c | 378 w = 0 enumerator 382 w = 0 enumerator 385 w = 0 enumerator 390 w = 0 enumerator 396 w = 0 enumerator 399 w = 0 enumerator
|
/openssl/test/smime-certs/ |
H A D | smdsa1.pem | 7 8EP8eXSDD+1Sni2Jk38etU+laS0pVV9lh6sV3zV28YXVZl01CHUfwH+3w/XJAh0A 27 aS0pVV9lh6sV3zV28YXVZl01CHUfwH+3w/XJAh0AmkjrU1XrCahV9d78Rklpd4fK 46 FMIOyEdUUtKowWT6eXwrITup3T6pspPTicbK61ZCPuxMvP2JBFGZsqat+F5g+w==
|