Home
last modified time | relevance | path

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

12

/mbedtls-3.5.0/library/
Decdh.c106 mbedtls_mpi *z, in ecdh_compute_shared_restartable() argument
125 MBEDTLS_MPI_CHK(mbedtls_mpi_copy(z, &P.X)); in ecdh_compute_shared_restartable()
136 int mbedtls_ecdh_compute_shared(mbedtls_ecp_group *grp, mbedtls_mpi *z, in mbedtls_ecdh_compute_shared() argument
141 return ecdh_compute_shared_restartable(grp, z, Q, d, in mbedtls_ecdh_compute_shared()
152 mbedtls_mpi_init(&ctx->z); in ecdh_init_internal()
225 mbedtls_mpi_free(&ctx->z); in ecdh_free_internal()
640 if ((ret = ecdh_compute_shared_restartable(&ctx->grp, &ctx->z, &ctx->Qp, in ecdh_calc_secret_internal()
646 if ((ret = mbedtls_ecdh_compute_shared(&ctx->grp, &ctx->z, &ctx->Qp, in ecdh_calc_secret_internal()
652 if (mbedtls_mpi_size(&ctx->z) > blen) { in ecdh_calc_secret_internal()
659 return mbedtls_mpi_write_binary_le(&ctx->z, buf, *olen); in ecdh_calc_secret_internal()
[all …]
Dmd5.c115 #define F(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) in mbedtls_internal_md5_process() argument
136 #define F(x, y, z) ((y) ^ ((z) & ((x) ^ (y)))) in mbedtls_internal_md5_process() argument
157 #define F(x, y, z) ((x) ^ (y) ^ (z)) in mbedtls_internal_md5_process() argument
178 #define F(x, y, z) ((y) ^ ((x) | ~(z))) in mbedtls_internal_md5_process() argument
Dripemd160.c111 #define F1(x, y, z) ((x) ^ (y) ^ (z)) in mbedtls_internal_ripemd160_process() argument
112 #define F2(x, y, z) (((x) & (y)) | (~(x) & (z))) in mbedtls_internal_ripemd160_process() argument
113 #define F3(x, y, z) (((x) | ~(y)) ^ (z)) in mbedtls_internal_ripemd160_process() argument
114 #define F4(x, y, z) (((x) & (z)) | ((y) & ~(z))) in mbedtls_internal_ripemd160_process() argument
115 #define F5(x, y, z) ((x) ^ ((y) | ~(z))) in mbedtls_internal_ripemd160_process() argument
Dsha1.c125 #define F(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) in mbedtls_internal_sha1_process() argument
152 #define F(x, y, z) ((x) ^ (y) ^ (z)) in mbedtls_internal_sha1_process() argument
179 #define F(x, y, z) (((x) & (y)) | ((z) & ((x) | (y)))) in mbedtls_internal_sha1_process() argument
206 #define F(x, y, z) ((x) ^ (y) ^ (z)) in mbedtls_internal_sha1_process() argument
Dsha512.c362 static inline uint64x2_t vsha512su1q_u64(uint64x2_t x, uint64x2_t y, uint64x2_t z) in vsha512su1q_u64() argument
364 asm ("sha512su1 %0.2D,%1.2D,%2.2D" : "+w" (x) : "w" (y), "w" (z)); in vsha512su1q_u64()
367 static inline uint64x2_t vsha512hq_u64(uint64x2_t x, uint64x2_t y, uint64x2_t z) in vsha512hq_u64() argument
369 asm ("sha512h %0,%1,%2.2D" : "+w" (x) : "w" (y), "w" (z)); in vsha512hq_u64()
372 static inline uint64x2_t vsha512h2q_u64(uint64x2_t x, uint64x2_t y, uint64x2_t z) in vsha512h2q_u64() argument
374 asm ("sha512h2 %0,%1,%2.2D" : "+w" (x) : "w" (y), "w" (z)); in vsha512h2q_u64()
617 #define F0(x, y, z) (((x) & (y)) | ((z) & ((x) | (y)))) in mbedtls_internal_sha512_process_c() argument
618 #define F1(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) in mbedtls_internal_sha512_process_c() argument
Dbignum.c253 static inline mbedtls_mpi_uint mpi_sint_abs(mbedtls_mpi_sint z) in mpi_sint_abs() argument
255 if (z >= 0) { in mpi_sint_abs()
256 return z; in mpi_sint_abs()
262 return (mbedtls_mpi_uint) 0 - (mbedtls_mpi_uint) z; in mpi_sint_abs()
268 int mbedtls_mpi_lset(mbedtls_mpi *X, mbedtls_mpi_sint z) in mbedtls_mpi_lset() argument
276 X->p[0] = mpi_sint_abs(z); in mbedtls_mpi_lset()
277 X->s = (z < 0) ? -1 : 1; in mbedtls_mpi_lset()
908 int mbedtls_mpi_cmp_int(const mbedtls_mpi *X, mbedtls_mpi_sint z) in mbedtls_mpi_cmp_int() argument
914 *p = mpi_sint_abs(z); in mbedtls_mpi_cmp_int()
915 Y.s = (z < 0) ? -1 : 1; in mbedtls_mpi_cmp_int()
[all …]
Dsha256.c431 #define F0(x, y, z) (((x) & (y)) | ((z) & ((x) | (y)))) argument
432 #define F1(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) argument
Dcamellia.c262 uint32_t z[2]) in camellia_feistel()
282 z[0] ^= I1; in camellia_feistel()
283 z[1] ^= I0; in camellia_feistel()
Dbignum_core.c404 mbedtls_mpi_uint z = (A[i] < c); in mbedtls_mpi_core_sub() local
406 c = (t < B[i]) + z; in mbedtls_mpi_core_sub()
/mbedtls-3.5.0/include/mbedtls/
Decdh.h103 mbedtls_mpi MBEDTLS_PRIVATE(z); /*!< The shared secret. */
123 mbedtls_mpi MBEDTLS_PRIVATE(z); /*!< The shared secret. */
225 int mbedtls_ecdh_compute_shared(mbedtls_ecp_group *grp, mbedtls_mpi *z,
Dbignum.h373 int mbedtls_mpi_lset(mbedtls_mpi *X, mbedtls_mpi_sint z);
669 int mbedtls_mpi_cmp_int(const mbedtls_mpi *X, mbedtls_mpi_sint z);
/mbedtls-3.5.0/3rdparty/everest/library/
DHacl_Curve25519.c87 uint64_t z = output[ctr - (uint32_t)1U]; in Hacl_Bignum_Fmul_shift_reduce() local
88 output[ctr] = z; in Hacl_Bignum_Fmul_shift_reduce()
245 inline static void Hacl_Bignum_Crecip_crecip(uint64_t *out, uint64_t *z) in Hacl_Bignum_Crecip_crecip() argument
258 Hacl_Bignum_Fsquare_fsquare_times(a0, z, (uint32_t)1U); in Hacl_Bignum_Crecip_crecip()
260 Hacl_Bignum_Fmul_fmul(b0, t00, z); in Hacl_Bignum_Crecip_crecip()
561 uint64_t *z = point + (uint32_t)5U; in Hacl_EC_Format_scalar_of_point() local
565 Hacl_Bignum_crecip(zmone, z); in Hacl_EC_Format_scalar_of_point()
585 uint64_t *z = p + (uint32_t)5U; in Hacl_EC_AddAndDouble_fmonty() local
604 Hacl_Bignum_fsum(x, z); in Hacl_EC_AddAndDouble_fmonty()
605 Hacl_Bignum_fdifference(z, origx); in Hacl_EC_AddAndDouble_fmonty()
[all …]
/mbedtls-3.5.0/3rdparty/everest/library/legacy/
DHacl_Curve25519.c95 uint64_t z = output[ctr - (uint32_t)1U]; in Hacl_Bignum_Fmul_shift_reduce() local
96 output[ctr] = z; in Hacl_Bignum_Fmul_shift_reduce()
287 inline static void Hacl_Bignum_Crecip_crecip(uint64_t *out, uint64_t *z) in Hacl_Bignum_Crecip_crecip() argument
300 Hacl_Bignum_Fsquare_fsquare_times(a0, z, (uint32_t)1U); in Hacl_Bignum_Crecip_crecip()
302 Hacl_Bignum_Fmul_fmul(b0, t00, z); in Hacl_Bignum_Crecip_crecip()
606 uint64_t *z = point + (uint32_t)5U; in Hacl_EC_Format_scalar_of_point() local
610 Hacl_Bignum_crecip(zmone, z); in Hacl_EC_Format_scalar_of_point()
630 uint64_t *z = p + (uint32_t)5U; in Hacl_EC_AddAndDouble_fmonty() local
649 Hacl_Bignum_fsum(x, z); in Hacl_EC_AddAndDouble_fmonty()
650 Hacl_Bignum_fdifference(z, origx); in Hacl_EC_AddAndDouble_fmonty()
[all …]
/mbedtls-3.5.0/tests/suites/
Dtest_suite_ecdh.function240 void ecdh_restart(int id, data_t *dA, data_t *dB, data_t *z,
338 TEST_ASSERT(len == z->len);
339 TEST_ASSERT(memcmp(buf, z->x, len) == 0);
356 TEST_ASSERT(len == z->len);
357 TEST_ASSERT(memcmp(buf, z->x, len) == 0);
Dtest_suite_ecp.function592 void ecp_write_binary(int id, char *x, char *y, char *z, int format,
608 TEST_ASSERT(mbedtls_test_read_mpi(&P.Z, z) == 0);
624 void ecp_read_binary(int id, data_t *buf, char *x, char *y, char *z,
639 TEST_ASSERT(mbedtls_test_read_mpi(&Z, z) == 0);
676 char *z, int ret)
691 TEST_ASSERT(mbedtls_test_read_mpi(&Z, z) == 0);
/mbedtls-3.5.0/programs/test/
Dbenchmark.c1091 mbedtls_mpi z; in main() local
1149 mbedtls_mpi_init(&z); in main()
1159 CHECK_AND_CONTINUE(mbedtls_ecdh_compute_shared(&ecdh.grp, &z, &ecdh.Qp, in main()
1164 mbedtls_mpi_free(&z); in main()
1196 mbedtls_mpi_init(&z); in main()
1206 CHECK_AND_CONTINUE(mbedtls_ecdh_compute_shared(&ecdh.grp, &z, &ecdh.Qp, in main()
1211 mbedtls_mpi_free(&z); in main()
/mbedtls-3.5.0/tests/data_files/
Dserver1.req.cert_type_empty14 mwsF9QsC6N9cygdFx23zCB0KsJ9KfmBqaTsdbKh8BsocYm5FJCw4WS/CBrCWBj+z
Drsa_pkcs8_pbes2_pbkdf2_2048_des_sha512.pem27 KqbgDrdu/Fd0KJJy7S2cg/i02x7TfcSJE8C3EDyyESpGegE8XAH2NEltO1yt0+/z
Drsa_single_san_uri.key5 c80fQYQiSxgjpWyRpKdP+z/2imGph9onuu7EWOpAXGArozlLL5OixQ2dmutsc5ap
Drsa_pkcs8_pbes2_pbkdf2_2048_3des_sha256.pem23 0z+wy1wNgJlLF6Mhub1zT15e1Q+/wHUNsAcIRbEsq4vfSVn562/umqqVZleHUfoB
Drsa_pkcs8_pbe_sha1_2048_3des.pem21 95gO9W6lwc+CAA7iZL4+yVzfZa652Yg2eck8EOgZ2N9r+Vd/7rPsv6ysGpU/7p/z
Dbitstring-in-dn.pem18 A4IBAQBySELCnU8/PtGIG3dwhJENOSU5R7w8jpRXxHCuSBR+W6nuUCISz+z+EdF/
Drsa_pkcs1_4096_aes192.pem45 Ciiys0AYSfRAs41m36h1Efy8G1bx946iShl/BYQS/6Bv0nr/LAOfaqo8mx9/jj/z
/mbedtls-3.5.0/
D.pylintrc26 module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|[a-z][-0-9a-z]+)$
DBRANCHES.md29 code that's working and secure with Mbed TLS x.y.z and does not rely on
31 modification with any later release x.y'.z' with the same major version

12