Home
last modified time | relevance | path

Searched refs:z (Results 1 – 25 of 104) sorted by relevance

12345

/openssl/crypto/md5/asm/
H A Dmd5-aarch64.pl240 bic x6, x8, x17 // Aux function round 2 G(x,y,z)=((x&z)|(~z&y))
242 and x13, x9, x17 // Aux function round 2 G(x,y,z)=((x&z)|(~z&y))
250 bic x6, x9, x8 // Aux function round 2 G(x,y,z)=((x&z)|(~z&y))
252 and x13, x4, x8 // Aux function round 2 G(x,y,z)=((x&z)|(~z&y))
260 bic x6, x4, x9 // Aux function round 2 G(x,y,z)=((x&z)|(~z&y))
262 and x13, x17, x9 // Aux function round 2 G(x,y,z)=((x&z)|(~z&y))
270 bic x6, x17, x4 // Aux function round 2 G(x,y,z)=((x&z)|(~z&y))
272 and x13, x8, x4 // Aux function round 2 G(x,y,z)=((x&z)|(~z&y))
280 bic x6, x8, x17 // Aux function round 2 G(x,y,z)=((x&z)|(~z&y))
282 and x13, x9, x17 // Aux function round 2 G(x,y,z)=((x&z)|(~z&y))
[all …]
H A Dmd5-loongarch64.pl31 my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_;
47 $code .= " xor $t1,$y,$z /* y ^ z */\n" if ($pos == -1);
53 xor $t1,$z,$t1 /* z ^ ... */
57 add.w $t2,$z,$t0 /* (NEXT STEP) dst + X[$k_next] */
77 my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_;
91 add.w $t2,$z,$t0 /* (NEXT STEP) dst + X[$k_next] */
110 my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_;
122 add.w $t2,$z,$t0 /* (NEXT STEP) dst + X[$k_next] */
140 my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_;
156 $code .= " add.w $t2,$z,$t0 /* (NEXT STEP) dst + X[$k_next] */\n";
H A Dmd5-x86_64.pl23 my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_;
31 xor $z, %r11d /* z ^ ... */
47 my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_;
73 my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_;
77 xor $z, %r11d /* z ^ ... */
104 my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_;
/openssl/crypto/cast/
H A Dc_skey.c64 l = X[3] ^ S4[z[7]] ^ S5[z[6]] ^ S6[z[5]] ^ S7[z[4]] ^ S4[x[9]]; in CAST_set_key()
69 K[0] = S4[z[8]] ^ S5[z[9]] ^ S6[z[7]] ^ S7[z[6]] ^ S4[z[2]]; in CAST_set_key()
70 K[1] = S4[z[10]] ^ S5[z[11]] ^ S6[z[5]] ^ S7[z[4]] ^ S5[z[6]]; in CAST_set_key()
71 K[2] = S4[z[12]] ^ S5[z[13]] ^ S6[z[3]] ^ S7[z[2]] ^ S6[z[9]]; in CAST_set_key()
72 K[3] = S4[z[14]] ^ S5[z[15]] ^ S6[z[1]] ^ S7[z[0]] ^ S7[z[12]]; in CAST_set_key()
74 l = Z[2] ^ S4[z[5]] ^ S5[z[7]] ^ S6[z[4]] ^ S7[z[6]] ^ S6[z[0]]; in CAST_set_key()
97 K[8] = S4[z[3]] ^ S5[z[2]] ^ S6[z[12]] ^ S7[z[13]] ^ S4[z[9]]; in CAST_set_key()
98 K[9] = S4[z[1]] ^ S5[z[0]] ^ S6[z[14]] ^ S7[z[15]] ^ S5[z[12]]; in CAST_set_key()
99 K[10] = S4[z[7]] ^ S5[z[6]] ^ S6[z[8]] ^ S7[z[9]] ^ S6[z[2]]; in CAST_set_key()
100 K[11] = S4[z[5]] ^ S5[z[4]] ^ S6[z[10]] ^ S7[z[11]] ^ S7[z[6]]; in CAST_set_key()
[all …]
/openssl/ssl/quic/
H A Duint_set.c143 if (start > z->range.end) { in ossl_uint_set_insert()
188 z = end < f->range.start ? f : z; in ossl_uint_set_insert()
190 for (; z != NULL; z = zprev) { in ossl_uint_set_insert()
194 if (z->range.start <= start && z->range.end >= end) in ossl_uint_set_insert()
208 z = zprev; in ossl_uint_set_insert()
216 z = ossl_list_uint_set_next(x = z); in ossl_uint_set_insert()
267 for (z = ossl_list_uint_set_tail(s); z != NULL; z = zprev) { in ossl_uint_set_remove()
274 if (start <= z->range.start && end >= z->range.end) { in ossl_uint_set_remove()
280 OPENSSL_free(z); in ossl_uint_set_remove()
281 } else if (start <= z->range.start && end >= z->range.start) { in ossl_uint_set_remove()
[all …]
/openssl/crypto/chacha/asm/
H A Dchacha-ia64.pl95 sub @z[1]=64,$len
200 (p6) shr.u @z[0]=@z[0],@z[1] }
228 (p0) xor @z[0]=@z[0],@x[0]
238 (p$i1) xor @z[1]=@z[1],@y[1] };;
242 (p$i2) xor @z[2]=@z[2],@y[2]
247 (p$i3) xor @z[3]=@z[3],@y[3] };;
253 (p$i4) xor @z[0]=@z[0],@x[$k]
258 (p$i4) xor @z[0]=@z[0],@x[$k] };;
264 (p61) xor @z[1]=@z[1],@y[1] };;
266 (p62) xor @z[2]=@z[2],@y[2] };;
[all …]
H A Dchacha-s390x.pl50 my ($z,$SIZE_T);
52 $z=0; # S/390 ABI
55 $z=1; # zSeries ABI
454 if (!$z) {
462 if ($z) {
661 if (!$z) {
680 if (!$z) {
744 if (!$z) {
752 if ($z) {
989 if (!$z) {
[all …]
/openssl/doc/designs/quic-design/
H A Djson-encoder.md20 JSON_ENC z;
22 if (!ossl_json_init(&z, b, 0))
25 ossl_json_object_begin(&z);
27 ossl_json_key(&z, "key");
30 ossl_json_key(&z, "key2");
31 ossl_json_u64(&z, 42);
33 ossl_json_key(&z, "key3");
36 ossl_json_null(&z);
40 ossl_json_array_end(&z);
42 ossl_json_object_end(&z);
[all …]
/openssl/crypto/ec/curve448/
H A Dcurve448.c103 gf_add(b->z, a->z, a->z); in pt_to_pniels()
115 ossl_gf_sqr(e->z, d->z); in pniels_to_pt()
123 gf_copy(e->z, ONE); in niels_to_pt()
173 ossl_gf_mul(L0, p->z, pn->z); in add_pniels_to_pt()
174 gf_copy(p->z, L0); in add_pniels_to_pt()
183 ossl_gf_mul(L0, p->z, pn->z); in sub_pniels_from_pt()
184 gf_copy(p->z, L0); in sub_pniels_from_pt()
284 gf x, y, z, t; in ossl_curve448_point_mul_by_ratio_and_encode_like_eddsa() local
311 gf_invert(z, z, 1); in ossl_curve448_point_mul_by_ratio_and_encode_like_eddsa()
322 OPENSSL_cleanse(z, sizeof(z)); in ossl_curve448_point_mul_by_ratio_and_encode_like_eddsa()
[all …]
/openssl/test/
H A Dcasttest.c64 static int cast_test_vector(int z) in cast_test_vector() argument
70 CAST_set_key(&key, k_len[z], k); in cast_test_vector()
72 if (!TEST_mem_eq(out, sizeof(c[z]), c[z], sizeof(c[z]))) { in cast_test_vector()
73 TEST_info("CAST_ENCRYPT iteration %d failed (len=%d)", z, k_len[z]); in cast_test_vector()
79 TEST_info("CAST_DECRYPT iteration %d failed (len=%d)", z, k_len[z]); in cast_test_vector()
H A Dsmcont.bin8 �ɖ��rڄL5��C��z��.Ů� �a���z8f�>�m�j�_�t�]g�y���V
11 ….Ԕ�Q�P�?Wl�� |(��CB��H�Y�A�������1���z�H/S6���Z�T�ӫ�Ȧ��7kǶx���8�vK�,TU���L���g�q*,0km�,J��…
15 ���zE��TXaJ)bn!�����^�m޺F��tn��
17 }�wx7l�u�|�z'5�mN�4�0G�P��i٥�>�
22 …�#L._�R�����C 6����̸��W����m�߻��D�����gL��J��DGs����I��c��z��`Y���U��+ �dk0�@U%b��UU��z<m+;�…
23z}�f�U�CfK2`�Z,m3 ��B@�B4��B�Z b�Tu>�rƶ����ץ�58B �\�@�� L= ���b��Lj���I^W �����W���g{ �…
26 �����C�Wc��A���^���8U��+����%����'�*��~~D�l���ؓ��בϗ�����:s�t���[��F+z^��Cf��r;P}��i;���k�O<�…
30 v~q���C/��`�now>�K���m����@BÂh�v�5�A�l=5V�K�u�P T��@X�D�L��fT�*ERI]�3�—�z��qt�'���Vx���…
32 …E��o�gh`K�$#�9F��Hx#O��WAM<?�8w�)2��6��H;?+��r脌׺�crG[V`��i�B�w�c�)�d$�#��z �V(�u�t�����2�'…
33 �!��^��%e�5_����}+�c�j��L1���M*��� ֯S_�:��(�����z�x�D�t�O���[�dK�y�P<�OϤ�y��dw�W,�)��C��…
H A Ddrbgtest.c804 EVP_RAND_CTX *x = NULL, *y = NULL, *z = NULL; in test_rand_prediction_resistance() local
817 || !TEST_ptr(z = new_drbg(y)) in test_rand_prediction_resistance()
828 zreseed = reseed_counter(z); in test_rand_prediction_resistance()
832 || !TEST_int_gt(reseed_counter(z), zreseed)) in test_rand_prediction_resistance()
839 zreseed = reseed_counter(z); in test_rand_prediction_resistance()
843 || !TEST_int_gt(reseed_counter(z), zreseed)) in test_rand_prediction_resistance()
851 zreseed = reseed_counter(z); in test_rand_prediction_resistance()
862 zreseed = reseed_counter(z); in test_rand_prediction_resistance()
866 || !TEST_int_gt(reseed_counter(z), zreseed) in test_rand_prediction_resistance()
874 zreseed = reseed_counter(z); in test_rand_prediction_resistance()
[all …]
H A Dpkcs12_format_test.c398 static int test_single_key_enc_alg(int z) in test_single_key_enc_alg() argument
403 enc.nid = enc_nids_no_legacy[z]; in test_single_key_enc_alg()
405 enc.nid = enc_nids_all[z]; in test_single_key_enc_alg()
412 static int test_single_key_enc_pass(int z) in test_single_key_enc_pass() argument
417 enc.pass = passwords[z]; in test_single_key_enc_pass()
429 enc.iter = iters[z]; in test_single_key_enc_iter()
502 mac.nid = mac_nids[z]; in test_single_cert_mac_alg()
514 mac.pass = passwords[z]; in test_single_cert_mac_pass()
526 mac.iter = iters[z]; in test_single_cert_mac_iter()
664 enc.nid = enc_nids_no_legacy[z]; in test_single_secret_enc_alg()
[all …]
H A Dectest.c312 || !TEST_BN_eq(y, z) in prime_field_tests()
342 || !TEST_BN_eq(y, z) in prime_field_tests()
379 || !TEST_BN_eq(y, z) in prime_field_tests()
417 || !TEST_BN_eq(y, z) in prime_field_tests()
563 || !TEST_true(BN_add(z, z, y))) in prime_field_tests()
565 BN_set_negative(z, 1); in prime_field_tests()
574 BN_set_negative(z, 1); in prime_field_tests()
601 BN_free(z); in prime_field_tests()
892 || !TEST_true(BN_add(z, z, y))) in char2_curve_test()
924 BN_free(z); in char2_curve_test()
[all …]
/openssl/crypto/ripemd/
H A Drmd_local.h50 #define F1(x,y,z) ((x) ^ (y) ^ (z)) argument
51 #define F2(x,y,z) ((((y) ^ (z)) & (x)) ^ (z)) argument
52 #define F3(x,y,z) (((~(y)) | (x)) ^ (z)) argument
53 #define F4(x,y,z) ((((x) ^ (y)) & (z)) ^ (y)) argument
54 #define F5(x,y,z) (((~(z)) | (y)) ^ (x)) argument
/openssl/crypto/evp/
H A Dpbe_scrypt.c47 OSSL_PARAM params[7], *z = params; in EVP_PBE_scrypt_ex() local
73 *z++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_PASSWORD, in EVP_PBE_scrypt_ex()
76 *z++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_SALT, in EVP_PBE_scrypt_ex()
78 *z++ = OSSL_PARAM_construct_uint64(OSSL_KDF_PARAM_SCRYPT_N, &N); in EVP_PBE_scrypt_ex()
79 *z++ = OSSL_PARAM_construct_uint64(OSSL_KDF_PARAM_SCRYPT_R, &r); in EVP_PBE_scrypt_ex()
80 *z++ = OSSL_PARAM_construct_uint64(OSSL_KDF_PARAM_SCRYPT_P, &p); in EVP_PBE_scrypt_ex()
81 *z++ = OSSL_PARAM_construct_uint64(OSSL_KDF_PARAM_SCRYPT_MAXMEM, &maxmem); in EVP_PBE_scrypt_ex()
82 *z = OSSL_PARAM_construct_end(); in EVP_PBE_scrypt_ex()
/openssl/test/recipes/04-test_pem_reading_data/
H A Ddsa-onecolumn.pem34 z
70 z
255 z
297 z
309 z
348 z
358 z
640 z
660 z
677 z
[all …]
H A Dcert-onecolumn.pem6 z
55 z
293 z
309 z
329 z
457 z
475 z
495 z
733 z
749 z
[all …]
/openssl/crypto/
H A Ddeterministic_nonce.c103 BIGNUM *z = BN_new(); in bits2octets() local
105 if (z == NULL in bits2octets()
106 || !bits2int(z, qlen_bits, in, inlen)) in bits2octets()
110 if (BN_cmp(z, q) >= 0 in bits2octets()
111 && !BN_usub(z, z, q)) in bits2octets()
114 ret = int2octets(out, z, rlen); in bits2octets()
116 BN_free(z); in bits2octets()
/openssl/crypto/bn/
H A Dbn_gf2m.c297 BN_ULONG zz, *z; in BN_GF2m_mod_arr() local
319 z = r->d; in BN_GF2m_mod_arr()
324 zz = z[j]; in BN_GF2m_mod_arr()
329 z[j] = 0; in BN_GF2m_mod_arr()
362 z[dN] = (z[dN] << d1) >> d1; in BN_GF2m_mod_arr()
364 z[dN] = 0; in BN_GF2m_mod_arr()
1036 if (!BN_GF2m_mod_sqr_arr(z, z, p, ctx)) in BN_GF2m_mod_solve_quad_arr()
1038 if (!BN_GF2m_mod_sqr_arr(z, z, p, ctx)) in BN_GF2m_mod_solve_quad_arr()
1040 if (!BN_GF2m_add(z, z, a)) in BN_GF2m_mod_solve_quad_arr()
1061 if (!BN_GF2m_mod_sqr_arr(z, z, p, ctx)) in BN_GF2m_mod_solve_quad_arr()
[all …]
H A Dbn_prime.c351 BIGNUM *g, *w1, *w3, *x, *m, *z, *b; in ossl_bn_miller_rabin_is_prime() local
364 z = BN_CTX_get(ctx); in ossl_bn_miller_rabin_is_prime()
415 if (!BN_mod_exp_mont(z, b, m, w, ctx, mont)) in ossl_bn_miller_rabin_is_prime()
418 if (BN_is_one(z) || BN_cmp(z, w1) == 0) in ossl_bn_miller_rabin_is_prime()
423 if (!BN_copy(x, z) || !BN_mod_mul(z, x, x, w, ctx)) in ossl_bn_miller_rabin_is_prime()
426 if (BN_cmp(z, w1) == 0) in ossl_bn_miller_rabin_is_prime()
429 if (BN_is_one(z)) in ossl_bn_miller_rabin_is_prime()
434 if (!BN_copy(x, z) || !BN_mod_mul(z, x, x, w, ctx)) in ossl_bn_miller_rabin_is_prime()
437 if (BN_is_one(z)) in ossl_bn_miller_rabin_is_prime()
440 if (!BN_copy(x, z)) in ossl_bn_miller_rabin_is_prime()
[all …]
H A Dbn_print.c33 int i, j, v, z = 0; in BN_print() local
44 if (z || v != 0) { in BN_print()
47 z = 1; in BN_print()
/openssl/crypto/poly1305/asm/
H A Dpoly1305-s390x.pl55 my ($z,$SIZE_T);
57 $z=0; # S/390 ABI
60 $z=1; # zSeries ABI
90 &{$z? \&clgr:\&clr} ($inp,"%r0");
115 &{$z? \&ngr:\&nr} ("%r2","%r0");
116 &{$z? \&xgr:\&xr} ("%r2","%r1");
146 if ($z) {
354 &{$z? \&lgr:\&lr} ("%r0",$sp);
356 if (!$z) {
849 &{$z? \&lghi:\&lhi} ($len,0);
[all …]
/openssl/util/
H A Dmkerr.pl370 my $z = 48 - length($i);
371 $z = 0 if $z < 0;
383 printf OUT "#${indent}define $i%s $rcodes{$i}\n", " " x $z;
474 my $z = 48 - length($i);
475 $z = 0 if $z < 0;
487 printf OUT "#${indent}define $i%s $rcodes{$i}\n", " " x $z;
/openssl/crypto/dh/
H A Ddh_key.c44 BIGNUM *z = NULL, *pminus1; in ossl_dh_compute_key() local
68 z = BN_CTX_get(ctx); in ossl_dh_compute_key()
69 if (z == NULL) in ossl_dh_compute_key()
86 if (!dh->meth->bn_mod_exp(dh, z, pub_key, dh->priv_key, dh->params.p, ctx, in ossl_dh_compute_key()
95 || BN_cmp(z, BN_value_one()) <= 0 in ossl_dh_compute_key()
96 || BN_cmp(z, pminus1) == 0) { in ossl_dh_compute_key()
102 ret = BN_bn2binpad(z, key, BN_num_bytes(dh->params.p)); in ossl_dh_compute_key()
104 BN_clear(z); /* (Step 2) destroy intermediate values */ in ossl_dh_compute_key()

Completed in 58 milliseconds

12345