| /mbedtls/3rdparty/p256-m/p256-m/ |
| A D | p256-m.c | 138 z[i] = (z[i] & ~x_mask) | (x[i] & x_mask); in u256_cmov() 222 : [z] "+l" (z), [t] "+l" (t) in u32_muladd64() 289 : [z] "l" (z), [t] "l" (t) in u32_muladd64() 396 z[i] = z[i + 1]; in u288_rshift32() 639 m256_mul(z, z, mod->R2, mod); in m256_prep() 654 m256_mul(z, z, one, mod); in m256_done() 706 m256_mul(z, z, bitval, mod); in m256_inv() 854 m256_inv(z, z, &p256_p); /* z = z^-1 */ in point_to_affine() 878 m256_mul_p(s, z, z); in point_double() 901 m256_mul_p(z, y, z); in point_double() [all …]
|
| /mbedtls/library/ |
| A D | ecdh.c | 94 mbedtls_mpi *z, in ecdh_compute_shared_restartable() argument 113 MBEDTLS_MPI_CHK(mbedtls_mpi_copy(z, &P.X)); in ecdh_compute_shared_restartable() 124 int mbedtls_ecdh_compute_shared(mbedtls_ecp_group *grp, mbedtls_mpi *z, in mbedtls_ecdh_compute_shared() argument 129 return ecdh_compute_shared_restartable(grp, z, Q, d, in mbedtls_ecdh_compute_shared() 140 mbedtls_mpi_init(&ctx->z); in ecdh_init_internal() 222 mbedtls_mpi_free(&ctx->z); in ecdh_free_internal() 637 if ((ret = ecdh_compute_shared_restartable(&ctx->grp, &ctx->z, &ctx->Qp, in ecdh_calc_secret_internal() 643 if ((ret = mbedtls_ecdh_compute_shared(&ctx->grp, &ctx->z, &ctx->Qp, in ecdh_calc_secret_internal() 649 if (mbedtls_mpi_size(&ctx->z) > blen) { in ecdh_calc_secret_internal() 656 return mbedtls_mpi_write_binary_le(&ctx->z, buf, *olen); in ecdh_calc_secret_internal() [all …]
|
| A D | md5.c | 103 #define F(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) in mbedtls_internal_md5_process() argument 124 #define F(x, y, z) ((y) ^ ((z) & ((x) ^ (y)))) in mbedtls_internal_md5_process() argument 145 #define F(x, y, z) ((x) ^ (y) ^ (z)) in mbedtls_internal_md5_process() argument 166 #define F(x, y, z) ((y) ^ ((x) | ~(z))) in mbedtls_internal_md5_process() argument
|
| A D | ripemd160.c | 99 #define F1(x, y, z) ((x) ^ (y) ^ (z)) in mbedtls_internal_ripemd160_process() argument 100 #define F2(x, y, z) (((x) & (y)) | (~(x) & (z))) in mbedtls_internal_ripemd160_process() argument 101 #define F3(x, y, z) (((x) | ~(y)) ^ (z)) in mbedtls_internal_ripemd160_process() argument 102 #define F4(x, y, z) (((x) & (z)) | ((y) & ~(z))) in mbedtls_internal_ripemd160_process() argument 103 #define F5(x, y, z) ((x) ^ ((y) | ~(z))) in mbedtls_internal_ripemd160_process() argument
|
| A D | sha1.c | 113 #define F(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) in mbedtls_internal_sha1_process() argument 140 #define F(x, y, z) ((x) ^ (y) ^ (z)) in mbedtls_internal_sha1_process() argument 167 #define F(x, y, z) (((x) & (y)) | ((z) & ((x) | (y)))) in mbedtls_internal_sha1_process() argument 194 #define F(x, y, z) ((x) ^ (y) ^ (z)) in mbedtls_internal_sha1_process() argument
|
| A D | sha512.c | 364 static inline uint64x2_t vsha512su1q_u64(uint64x2_t x, uint64x2_t y, uint64x2_t z) in vsha512su1q_u64() argument 366 asm ("sha512su1 %0.2D,%1.2D,%2.2D" : "+w" (x) : "w" (y), "w" (z)); in vsha512su1q_u64() 369 static inline uint64x2_t vsha512hq_u64(uint64x2_t x, uint64x2_t y, uint64x2_t z) in vsha512hq_u64() argument 371 asm ("sha512h %0,%1,%2.2D" : "+w" (x) : "w" (y), "w" (z)); in vsha512hq_u64() 374 static inline uint64x2_t vsha512h2q_u64(uint64x2_t x, uint64x2_t y, uint64x2_t z) in vsha512h2q_u64() argument 376 asm ("sha512h2 %0,%1,%2.2D" : "+w" (x) : "w" (y), "w" (z)); in vsha512h2q_u64() 619 #define F0(x, y, z) (((x) & (y)) | ((z) & ((x) | (y)))) in mbedtls_internal_sha512_process_c() argument 620 #define F1(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) in mbedtls_internal_sha512_process_c() argument
|
| A D | bignum.c | 359 if (z >= 0) { in mpi_sint_abs() 360 return z; in mpi_sint_abs() 383 X->p[0] = mpi_sint_abs(z); in mbedtls_mpi_lset() 384 X->s = TO_SIGN(z); in mbedtls_mpi_lset() 988 *p = mpi_sint_abs(z); in mbedtls_mpi_cmp_int() 989 Y.s = TO_SIGN(z); in mbedtls_mpi_cmp_int() 1562 mbedtls_mpi_uint x, y, z; in mbedtls_mpi_mod_int() local 1591 z = y / b; in mbedtls_mpi_mod_int() 1592 y -= z * b; in mbedtls_mpi_mod_int() 1596 z = y / b; in mbedtls_mpi_mod_int() [all …]
|
| A D | sha256.c | 464 #define F0(x, y, z) (((x) & (y)) | ((z) & ((x) | (y)))) argument 465 #define F1(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) argument
|
| A D | camellia.c | 250 uint32_t z[2]) in camellia_feistel() 270 z[0] ^= I1; in camellia_feistel() 271 z[1] ^= I0; in camellia_feistel()
|
| A D | bignum_core.c | 452 mbedtls_mpi_uint z = (A[i] < c); in mbedtls_mpi_core_sub() local 454 c = (t < B[i]) + z; in mbedtls_mpi_core_sub()
|
| /mbedtls/3rdparty/everest/library/ |
| A D | Hacl_Curve25519.c | 87 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() 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() 609 Hacl_Bignum_fmul(xxprime0, xprime, z); in Hacl_EC_AddAndDouble_fmonty() 728 uint64_t *z = buf0 + (uint32_t)5U; in Hacl_Curve25519_crypto_scalarmult() local [all …]
|
| /mbedtls/3rdparty/everest/library/legacy/ |
| A D | Hacl_Curve25519.c | 95 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() 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() 654 Hacl_Bignum_fmul(xxprime0, xprime, z); in Hacl_EC_AddAndDouble_fmonty() 773 uint64_t *z = buf0 + (uint32_t)5U; in Hacl_Curve25519_crypto_scalarmult() local [all …]
|
| /mbedtls/include/mbedtls/ |
| A D | ecdh.h | 91 mbedtls_mpi MBEDTLS_PRIVATE(z); /*!< The shared secret. */ 111 mbedtls_mpi MBEDTLS_PRIVATE(z); /*!< The shared secret. */ 226 int mbedtls_ecdh_compute_shared(mbedtls_ecp_group *grp, mbedtls_mpi *z,
|
| A D | bignum.h | 384 int mbedtls_mpi_lset(mbedtls_mpi *X, mbedtls_mpi_sint z); 682 int mbedtls_mpi_cmp_int(const mbedtls_mpi *X, mbedtls_mpi_sint z);
|
| /mbedtls/tests/suites/ |
| A D | test_suite_ecdh.function | 240 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);
|
| A D | test_suite_ecp.function | 588 void ecp_write_binary(int id, char *x, char *y, char *z, int format, 606 TEST_EQUAL(mbedtls_test_read_mpi(&P.Z, z), 0); 632 void ecp_read_binary(int id, data_t *buf, char *x, char *y, char *z, 647 TEST_ASSERT(mbedtls_test_read_mpi(&Z, z) == 0); 684 char *z, int ret) 699 TEST_ASSERT(mbedtls_test_read_mpi(&Z, z) == 0);
|
| /mbedtls/ |
| A D | .pylintrc | 26 module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|[a-z][-0-9a-z]+)$
|
| A D | BRANCHES.md | 35 code that's working and secure with Mbed TLS x.y.z and does not rely on 37 modification with any later release x.y'.z' with the same major version
|
| /mbedtls/tests/data_files/ |
| A D | server1.req.cert_type_empty | 14 mwsF9QsC6N9cygdFx23zCB0KsJ9KfmBqaTsdbKh8BsocYm5FJCw4WS/CBrCWBj+z
|
| A D | rsa_pkcs8_pbes2_pbkdf2_2048_des_sha512.pem | 27 KqbgDrdu/Fd0KJJy7S2cg/i02x7TfcSJE8C3EDyyESpGegE8XAH2NEltO1yt0+/z
|
| A D | rsa_single_san_uri.key | 5 c80fQYQiSxgjpWyRpKdP+z/2imGph9onuu7EWOpAXGArozlLL5OixQ2dmutsc5ap
|
| A D | rsa_pkcs8_pbes2_pbkdf2_2048_3des_sha256.pem | 23 0z+wy1wNgJlLF6Mhub1zT15e1Q+/wHUNsAcIRbEsq4vfSVn562/umqqVZleHUfoB
|
| A D | rsa_pkcs8_pbe_sha1_2048_3des.pem | 21 95gO9W6lwc+CAA7iZL4+yVzfZa652Yg2eck8EOgZ2N9r+Vd/7rPsv6ysGpU/7p/z
|
| A D | rsa_pkcs1_4096_aes192.pem | 45 Ciiys0AYSfRAs41m36h1Efy8G1bx946iShl/BYQS/6Bv0nr/LAOfaqo8mx9/jj/z
|
| /mbedtls/tests/data_files/parse_input/ |
| A D | bitstring-in-dn.pem | 18 A4IBAQBySELCnU8/PtGIG3dwhJENOSU5R7w8jpRXxHCuSBR+W6nuUCISz+z+EdF/
|