Home
last modified time | relevance | path

Searched refs:a (Results 1 – 25 of 1959) sorted by relevance

12345678910>>...79

/openssl/test/
H A Dtestutil.h511 # define TEST_ptr(a) test_ptr(__FILE__, __LINE__, #a, a) argument
512 # define TEST_ptr_null(a) test_ptr_null(__FILE__, __LINE__, #a, a) argument
533 # define TEST_BN_eq_zero(a) test_BN_eq_zero(__FILE__, __LINE__, #a, a) argument
534 # define TEST_BN_ne_zero(a) test_BN_ne_zero(__FILE__, __LINE__, #a, a) argument
535 # define TEST_BN_lt_zero(a) test_BN_lt_zero(__FILE__, __LINE__, #a, a) argument
536 # define TEST_BN_gt_zero(a) test_BN_gt_zero(__FILE__, __LINE__, #a, a) argument
537 # define TEST_BN_le_zero(a) test_BN_le_zero(__FILE__, __LINE__, #a, a) argument
538 # define TEST_BN_ge_zero(a) test_BN_ge_zero(__FILE__, __LINE__, #a, a) argument
539 # define TEST_BN_eq_one(a) test_BN_eq_one(__FILE__, __LINE__, #a, a) argument
542 # define TEST_BN_odd(a) test_BN_odd(__FILE__, __LINE__, #a, a) argument
[all …]
H A Dconstant_time_test.c264 a, b, a < b) in test_binops()
266 b, a, b < a) in test_binops()
268 a, b, a >= b) in test_binops()
270 b, a, b >= a) in test_binops()
272 a, b, a == b) in test_binops()
274 b, a, b == a)) in test_binops()
290 a, b, a < b) in test_binops_8()
292 b, a, b < a) in test_binops_8()
294 a, b, a >= b) in test_binops_8()
318 a, b, a < b) in test_binops_s()
[all …]
H A Dsafe_math_test.c29 int a, b; member
58 const int a = test_ints[n].a, b = test_ints[n].b; in test_int_ops() local
114 || (!err && !TEST_int_eq(r, a < 0 ? -a : a))) in test_int_ops()
147 const unsigned int a = test_uints[n].a, b = test_uints[n].b; in test_uint_ops() local
182 || (!err && !TEST_uint_eq(r, a / b + (a % b != 0)))) in test_uint_ops()
211 size_t a, b; member
230 const size_t a = test_size_ts[n].a, b = test_size_ts[n].b; in test_size_t_ops() local
265 || (!err && !TEST_size_t_eq(r, a / b + (a % b != 0)))) in test_size_t_ops()
294 int a, b, c; member
317 const int a = test_muldiv_ints[n].a; in test_int_muldiv() local
[all …]
H A Dbuild.info349 DEPEND[quic_wire_test]=../libcrypto.a ../libssl.a libtestutil.a
357 DEPEND[quic_fc_test]=../libcrypto.a ../libssl.a libtestutil.a
365 DEPEND[quic_cfq_test]=../libcrypto.a ../libssl.a libtestutil.a
373 DEPEND[quic_srtm_test]=../libcrypto.a ../libssl.a libtestutil.a
385 DEPEND[quic_fifd_test]=../libcrypto.a ../libssl.a libtestutil.a
389 DEPEND[quic_txp_test]=../libcrypto.a ../libssl.a libtestutil.a
576 DEPEND[sslapitest]=../libcrypto.a ../libssl.a libtestutil.a
904 DEPEND[wpackettest]=../libcrypto.a ../libssl.a libtestutil.a
943 DEPEND[json_test]=../libcrypto.a ../libssl.a libtestutil.a
1063 DEPEND[ssl_old_test]=../libcrypto.a ../libssl.a libtestutil.a
[all …]
/openssl/include/internal/
H A Dconstant_time.h105 return 0 - (a >> (sizeof(a) * 8 - 1)); in constant_time_msb()
121 return 0 - (a >> (sizeof(a) * 8 - 1)); in constant_time_msb_s()
127 return constant_time_msb(a ^ ((a ^ b) | ((a - b) ^ b))); in constant_time_lt()
132 return constant_time_msb_s(a ^ ((a ^ b) | ((a - b) ^ b))); in constant_time_lt_s()
143 return constant_time_msb_32(a ^ ((a ^ b) | ((a - b) ^ b))); in constant_time_lt_32()
148 return constant_time_msb_64(a ^ ((a ^ b) | ((a - b) ^ b))); in constant_time_lt_64()
165 return 0 - (a >> (sizeof(a) * 8 - 1)); in constant_time_msb_bn()
170 return constant_time_msb_bn(a ^ ((a ^ b) | ((a - b) ^ b))); in constant_time_lt_bn()
175 return constant_time_msb_bn(~a & (a - 1)); in constant_time_is_zero_bn()
216 return constant_time_msb(~a & (a - 1)); in constant_time_is_zero()
[all …]
H A Dsafe_math.h35 static ossl_inline ossl_unused type safe_add_ ## type_name(type a, \
41 if (!__builtin_add_overflow(a, b, &r)) \
44 return a < 0 ? min : max; \
48 static ossl_inline ossl_unused type safe_add_ ## type_name(type a, \
54 if (!__builtin_add_overflow(a, b, &r)) \
62 static ossl_inline ossl_unused type safe_add_ ## type_name(type a, \
67 || (a > 0 && b <= max - a) \
68 || (a < 0 && b >= min - a) \
173 const type x = a < 0 ? -a : a; \
285 return a < 0 ? -a : a; \
[all …]
/openssl/crypto/ts/
H A Dts_rsp_utils.c43 a->token = p7; in TS_RESP_set_tst_info()
50 return a->token; in TS_RESP_get_token()
55 return a->tst_info; in TS_RESP_get_tst_info()
128 return a->serial; in TS_TST_INFO_get_serial()
149 return a->time; in TS_TST_INFO_get_time()
214 return a->millis; in TS_ACCURACY_get_millis()
237 return a->micros; in TS_ACCURACY_get_micros()
269 return a->nonce; in TS_TST_INFO_get_nonce()
290 return a->tsa; in TS_TST_INFO_get_tsa()
300 if (!a) in TS_TST_INFO_ext_free()
[all …]
H A Dts_req_utils.c45 return a->msg_imprint; in TS_REQ_get_msg_imprint()
60 a->hash_algo = new_alg; in TS_MSG_IMPRINT_set_algo()
66 return a->hash_algo; in TS_MSG_IMPRINT_get_algo()
76 return a->hashed_msg; in TS_MSG_IMPRINT_get_msg()
97 return a->policy_id; in TS_REQ_get_policy_id()
104 if (a->nonce == nonce) in TS_REQ_set_nonce()
112 a->nonce = new_nonce; in TS_REQ_set_nonce()
118 return a->nonce; in TS_REQ_get_nonce()
134 return a->extensions; in STACK_OF()
139 if (!a) in TS_REQ_ext_free()
[all …]
H A Dts_rsp_print.c34 if (a->tst_info != NULL) in TS_RESP_print_bio()
93 if (a->failure_info != NULL) in TS_STATUS_INFO_print_bio()
107 for (; a->bit >= 0; ++a) { in ts_status_map_print()
122 if (a == NULL) in TS_TST_INFO_print_bio()
134 if (a->serial == NULL) in TS_TST_INFO_print_bio()
145 if (a->accuracy == NULL) in TS_TST_INFO_print_bio()
154 if (a->nonce == NULL) in TS_TST_INFO_print_bio()
161 if (a->tsa == NULL) in TS_TST_INFO_print_bio()
178 if (a->seconds != NULL) in ts_ACCURACY_print_bio()
183 if (a->millis != NULL) in ts_ACCURACY_print_bio()
[all …]
/openssl/crypto/bn/
H A Dbn_word.c78 if (!BN_lshift(a, a, j)) in BN_div_word()
89 if ((a->top > 0) && (a->d[a->top - 1] == 0)) in BN_div_word()
117 a->neg = !(a->neg); in BN_add_word()
121 a->d[i] = l = (a->d[i] + w) & BN_MASK2; in BN_add_word()
125 if (bn_wexpand(a, a->top + 1) == NULL) in BN_add_word()
159 if ((a->top == 1) && (a->d[0] < w)) { in BN_sub_word()
160 a->d[0] = w - a->d[0]; in BN_sub_word()
170 a->d[i] = (a->d[i] - w) & BN_MASK2; in BN_sub_word()
175 if ((a->d[i] == 0) && (i == (a->top - 1))) in BN_sub_word()
191 ll = bn_mul_words(a->d, a->d, a->top, w); in BN_mul_word()
[all …]
H A Dbn_lib.c206 OPENSSL_secure_clear_free(a->d, a->dmax * sizeof(a->d[0])); in bn_free_d()
208 OPENSSL_clear_free(a->d, a->dmax * sizeof(a->d[0])); in bn_free_d()
221 OPENSSL_cleanse(a, sizeof(*a)); in BN_clear_free()
281 a = OPENSSL_zalloc(words * sizeof(*a)); in bn_expand_internal()
287 memcpy(a, b->d, sizeof(*a) * b->top); in bn_expand_internal()
402 OPENSSL_cleanse(a->d, sizeof(*a->d) * a->dmax); in BN_clear()
1034 return ((a->top == 1) && (a->d[0] == w)) || ((w == 0) && (a->top == 0)); in BN_abs_is_word()
1044 return BN_abs_is_word(a, 1) && !a->neg; in BN_is_one()
1057 if (a->neg || a->top == 0) in ossl_bn_is_word_fixed_top()
1070 return (a->top > 0) && (a->d[0] & 1); in BN_is_odd()
[all …]
H A Dbn_asm.c94 a++; in bn_sqr_words()
187 a++; in bn_sqr_words()
305 a++; in bn_add_words()
362 a++; in bn_add_words()
472 BN_ULLONG t = (BN_ULLONG)a[i]*a[i]; \
480 mul_add_c2((a)[i],(a)[j],c0,c1,c2)
514 mul_add_c2((a)[i],(a)[j],c0,c1,c2)
548 mul_add_c2((a)[i],(a)[j],c0,c1,c2)
556 BN_ULONG lo = LBITS(a), hi = HBITS(a); \
565 BN_ULONG lo = LBITS(a), hi = HBITS(a); \
[all …]
H A Dbn_local.h212 # define bn_fix_top(a) bn_check_top(a) argument
229 # define bn_fix_top(a) bn_correct_top(a) argument
436 # define BN_UMULT_HIGH(a,b) __umulh((a),(b)) argument
467 int ind = (a)->dmax - (a)->top; \
468 BN_ULONG *ftl = &(a)->d[(a)->top-1]; \
499 t=(BN_ULLONG)(a)*(a); \
566 # define LBITS(a) ((a)&BN_MASK2l) argument
567 # define HBITS(a) (((a)>>BN_BITS4)&BN_MASK2l) argument
568 # define L2HBITS(a) (((a)<<BN_BITS4)&BN_MASK2) argument
570 # define LLBITS(a) ((a)&BN_MASKl) argument
[all …]
/openssl/crypto/bn/asm/
H A Dx86_64-gcc.c175 sqr(r[0], r[1], a[0]); in bn_sqr_words()
176 sqr(r[2], r[3], a[1]); in bn_sqr_words()
177 sqr(r[4], r[5], a[2]); in bn_sqr_words()
178 sqr(r[6], r[7], a[3]); in bn_sqr_words()
179 a += 4; in bn_sqr_words()
269 t1 = a[0]; in bn_sub_words()
277 t1 = a[1]; in bn_sub_words()
285 t1 = a[2]; in bn_sub_words()
293 t1 = a[3]; in bn_sub_words()
301 a += 4; in bn_sub_words()
[all …]
/openssl/crypto/asn1/
H A Da_bitstr.c26 if (a == NULL) in ossl_i2c_ASN1_BIT_STRING()
74 d = a->data; in ossl_i2c_ASN1_BIT_STRING()
102 if ((a == NULL) || ((*a) == NULL)) { in ossl_c2i_ASN1_BIT_STRING()
140 if ((a == NULL) || (*a != ret)) in ossl_c2i_ASN1_BIT_STRING()
167 if ((a->length < (w + 1)) || (a->data == NULL)) { in ASN1_BIT_STRING_set_bit()
170 c = OPENSSL_clear_realloc(a->data, a->length, w + 1); in ASN1_BIT_STRING_set_bit()
174 memset(c + a->length, 0, w + 1 - a->length); in ASN1_BIT_STRING_set_bit()
178 a->data[w] = ((a->data[w]) & iv) | v; in ASN1_BIT_STRING_set_bit()
179 while ((a->length > 0) && (a->data[a->length - 1] == 0)) in ASN1_BIT_STRING_set_bit()
193 if ((a == NULL) || (a->length < (w + 1)) || (a->data == NULL)) in ASN1_BIT_STRING_get_bit()
[all …]
/openssl/test/recipes/15-test_ml_kem_codecs_data/
H A Dprv-512-seed.txt11 6b:e0:3f:3c:4a:48:0f:75:b7:48:6a:ad:31:d3:a0:
13 ae:00:62:c3:67:b7:4a:71:ba:f1:0a:ad:0e:8a:29:
19 8a:9a:44:83:a9:9e:5a:5c:b2:c3:1c:9a:66:17:99:
25 32:9c:5c:dd:a5:5c:84:92:8e:3a:a8:06:3e:5a:a9:
58 30:17:43:6d:2a:29:00:e9:93:eb:5a:0a:06:74:00:
80 7f:f6:b5:3a:e0:5a:a3:1a:7d:64:6b:7a:fa:6c:45:
88 7a:d1:25:22:94:73:6e:8b:01:86:1a:4b:5a:74:51:
96 73:ca:8a:7d:d2:67:5a:f4:1f:7a:17:b6:14:33:cd:
139 3a:e0:5a:a3:1a:7d:64:6b:7a:fa:6c:45:93:25:26:
154 f3:5a:58:0a:c8:7e:b3:e3:0f:af:d6:69:73:ca:8a:
[all …]
H A Dprv-512-priv.txt5 6b:e0:3f:3c:4a:48:0f:75:b7:48:6a:ad:31:d3:a0:
7 ae:00:62:c3:67:b7:4a:71:ba:f1:0a:ad:0e:8a:29:
13 8a:9a:44:83:a9:9e:5a:5c:b2:c3:1c:9a:66:17:99:
19 32:9c:5c:dd:a5:5c:84:92:8e:3a:a8:06:3e:5a:a9:
52 30:17:43:6d:2a:29:00:e9:93:eb:5a:0a:06:74:00:
74 7f:f6:b5:3a:e0:5a:a3:1a:7d:64:6b:7a:fa:6c:45:
82 7a:d1:25:22:94:73:6e:8b:01:86:1a:4b:5a:74:51:
90 73:ca:8a:7d:d2:67:5a:f4:1f:7a:17:b6:14:33:cd:
133 3a:e0:5a:a3:1a:7d:64:6b:7a:fa:6c:45:93:25:26:
148 f3:5a:58:0a:c8:7e:b3:e3:0f:af:d6:69:73:ca:8a:
[all …]
H A Dprv-1024-seed.txt12 c8:31:1c:55:96:3f:50:0a:3c:7b:1b:8f:2a:58:55:
59 d8:e9:04:9d:b6:9a:3a:12:61:d0:a2:85:9a:9b:4d:
68 2a:9a:7a:cd:15:24:4d:06:90:c8:81:94:09:7a:9b:
71 69:6a:6f:fc:c1:01:8a:e4:13:a0:8a:8d:0f:fa:a8:
155 6a:58:41:a3:fb:8a:47:35:68:fa:9b:1a:26:72:15:
171 a9:5a:4e:4b:46:6e:64:1a:b3:bc:c7:6a:df:11:39:
176 a6:e7:5d:4a:23:45:01:e9:66:dd:3a:54:0a:f5:c8:
201 25:34:10:0a:b2:4d:4e:9a:bb:d0:b1:7c:6a:95:bd:
245 98:d2:0a:f7:b5:34:07:3a:50:9a:95:9b:7a:75:64:
265 a7:ac:2b:64:0a:60:cc:03:37:6a:58:41:a3:fb:8a:
[all …]
H A Dprv-1024-priv.txt6 c8:31:1c:55:96:3f:50:0a:3c:7b:1b:8f:2a:58:55:
53 d8:e9:04:9d:b6:9a:3a:12:61:d0:a2:85:9a:9b:4d:
62 2a:9a:7a:cd:15:24:4d:06:90:c8:81:94:09:7a:9b:
65 69:6a:6f:fc:c1:01:8a:e4:13:a0:8a:8d:0f:fa:a8:
149 6a:58:41:a3:fb:8a:47:35:68:fa:9b:1a:26:72:15:
165 a9:5a:4e:4b:46:6e:64:1a:b3:bc:c7:6a:df:11:39:
170 a6:e7:5d:4a:23:45:01:e9:66:dd:3a:54:0a:f5:c8:
195 25:34:10:0a:b2:4d:4e:9a:bb:d0:b1:7c:6a:95:bd:
239 98:d2:0a:f7:b5:34:07:3a:50:9a:95:9b:7a:75:64:
259 a7:ac:2b:64:0a:60:cc:03:37:6a:58:41:a3:fb:8a:
[all …]
/openssl/crypto/rc5/
H A Drc5_local.h72 # define ROTATE_l32(a,n) _lrotl(a,n) argument
73 # define ROTATE_r32(a,n) _lrotr(a,n) argument
75 # define ROTATE_l32(a,n) _rotl(a,n) argument
76 # define ROTATE_r32(a,n) _rotr(a,n) argument
96 # define ROTATE_l32(a,n) (((a)<<(n&0x1f))|(((a)&0xffffffff)>>((32-n)&0x1f))) argument
99 # define ROTATE_r32(a,n) (((a)<<((32-n)&0x1f))|(((a)&0xffffffff)>>(n&0x1f))) argument
108 a^=b; \
109 a=ROTATE_l32(a,b); \
112 b^=a; \
124 a=ROTATE_r32(a,b); \
[all …]
H A Drc5_enc.c98 RC5_32_INT a, b, *s; in RC5_32_encrypt() local
102 a = d[0] + s[0]; in RC5_32_encrypt()
104 E_RC5_32(a, b, s, 2); in RC5_32_encrypt()
105 E_RC5_32(a, b, s, 4); in RC5_32_encrypt()
106 E_RC5_32(a, b, s, 6); in RC5_32_encrypt()
107 E_RC5_32(a, b, s, 8); in RC5_32_encrypt()
128 d[0] = a; in RC5_32_encrypt()
134 RC5_32_INT a, b, *s; in RC5_32_decrypt() local
138 a = d[0]; in RC5_32_decrypt()
160 D_RC5_32(a, b, s, 8); in RC5_32_decrypt()
[all …]
/openssl/include/openssl/
H A Dts.h75 TS_REQ *d2i_TS_REQ_fp(FILE *fp, TS_REQ **a);
76 int i2d_TS_REQ_fp(FILE *fp, const TS_REQ *a);
78 TS_REQ *d2i_TS_REQ_bio(BIO *fp, TS_REQ **a);
79 int i2d_TS_REQ_bio(BIO *fp, const TS_REQ *a);
124 long TS_REQ_get_version(const TS_REQ *a);
151 int TS_REQ_get_cert_req(const TS_REQ *a);
154 void TS_REQ_ext_free(TS_REQ *a);
155 int TS_REQ_get_ext_count(TS_REQ *a);
166 int TS_REQ_print_bio(BIO *bio, TS_REQ *a);
175 PKCS7 *TS_RESP_get_token(TS_RESP *a);
[all …]
/openssl/crypto/ec/curve448/arch_64/
H A Df_impl64.c34 aa[i] = a[i] + a[i + 4];
113 aa[i] = a[i] + a[i + 4];
115 accum2 = widemul(a[0], a[3]);
117 accum1 = widemul(a[4], a[7]);
119 accum2 += widemul(a[1], a[2]);
121 accum1 += widemul(a[5], a[6]);
138 accum1 += widemul(a[6], a[6]);
140 accum2 = widemul(a[0], a[0]);
144 accum0 -= widemul(a[2], a[2]);
146 accum0 += widemul(a[4], a[4]);
[all …]
/openssl/test/recipes/15-test_ml_dsa_codecs_data/
H A Dprv-87-seed.txt28 b0:8c:e4:46:42:9a:20:8c:01:21:25:13:41:05:5a:
158 be:6a:50:1a:4e:13:45:be:e4:e5:a5:b5:3a:f2:e5:
241 f8:1a:ea:94:8a:ed:cf:21:7a:a8:fc:cd:7a:07:71:
254 60:b5:04:dd:e3:8a:2e:11:4f:7a:e9:bf:17:6d:4a:
300 1a:ac:52:3a:93:f2:74:8a:9c:38:ff:bc:29:ce:d4:
358 64:fa:6e:be:5a:34:9d:8a:ec:ad:1a:16:29:9c:cf:
428 0a:5e:c0:57:97:e6:20:7c:5a:b6:c8:8f:1a:68:84:
496 85:5a:2a:f4:7a:bc:e2:a6:32:04:8e:af:89:e5:cb:
497 4a:88:de:bc:53:a5:95:10:3a:cc:e4:f1:cf:f1:8a:
498 cf:f0:7a:fe:1e:b5:71:6a:a1:e4:0b:63:13:4c:3a:
[all …]
H A Dprv-87-priv.txt24 b0:8c:e4:46:42:9a:20:8c:01:21:25:13:41:05:5a:
154 be:6a:50:1a:4e:13:45:be:e4:e5:a5:b5:3a:f2:e5:
237 f8:1a:ea:94:8a:ed:cf:21:7a:a8:fc:cd:7a:07:71:
250 60:b5:04:dd:e3:8a:2e:11:4f:7a:e9:bf:17:6d:4a:
296 1a:ac:52:3a:93:f2:74:8a:9c:38:ff:bc:29:ce:d4:
354 64:fa:6e:be:5a:34:9d:8a:ec:ad:1a:16:29:9c:cf:
424 0a:5e:c0:57:97:e6:20:7c:5a:b6:c8:8f:1a:68:84:
492 85:5a:2a:f4:7a:bc:e2:a6:32:04:8e:af:89:e5:cb:
493 4a:88:de:bc:53:a5:95:10:3a:cc:e4:f1:cf:f1:8a:
494 cf:f0:7a:fe:1e:b5:71:6a:a1:e4:0b:63:13:4c:3a:
[all …]

Completed in 110 milliseconds

12345678910>>...79