Home
last modified time | relevance | path

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

12

/mbedtls-development/programs/pkey/
A Decdh_curve25519.c164 ret = mbedtls_ecdh_compute_shared( &ctx_srv.MBEDTLS_PRIVATE(grp), &ctx_srv.MBEDTLS_PRIVATE(z), in main()
195 ret = mbedtls_ecdh_compute_shared( &ctx_cli.MBEDTLS_PRIVATE(grp), &ctx_cli.MBEDTLS_PRIVATE(z), in main()
212 ret = mbedtls_mpi_cmp_mpi( &ctx_cli.MBEDTLS_PRIVATE(z), &ctx_srv.MBEDTLS_PRIVATE(z) ); in main()
/mbedtls-development/library/
A Decdh.c115 mbedtls_mpi *z, in ecdh_compute_shared_restartable() argument
135 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( z, &P.X ) ); in ecdh_compute_shared_restartable()
146 int mbedtls_ecdh_compute_shared( mbedtls_ecp_group *grp, mbedtls_mpi *z, in mbedtls_ecdh_compute_shared() argument
154 ECDH_VALIDATE_RET( z != NULL ); in mbedtls_ecdh_compute_shared()
155 return( ecdh_compute_shared_restartable( grp, z, Q, d, in mbedtls_ecdh_compute_shared()
166 mbedtls_mpi_init( &ctx->z ); in ecdh_init_internal()
245 mbedtls_mpi_free( &ctx->z ); in ecdh_free_internal()
675 if( ( ret = mbedtls_ecdh_compute_shared( &ctx->grp, &ctx->z, &ctx->Qp, in ecdh_calc_secret_internal()
682 if( mbedtls_mpi_size( &ctx->z ) > blen ) in ecdh_calc_secret_internal()
688 return mbedtls_mpi_write_binary_le( &ctx->z, buf, *olen ); in ecdh_calc_secret_internal()
[all …]
A Dmd5.c122 #define F(x,y,z) ((z) ^ ((x) & ((y) ^ (z)))) in mbedtls_internal_md5_process() argument
143 #define F(x,y,z) ((y) ^ ((z) & ((x) ^ (y)))) in mbedtls_internal_md5_process() argument
164 #define F(x,y,z) ((x) ^ (y) ^ (z)) in mbedtls_internal_md5_process() argument
185 #define F(x,y,z) ((y) ^ ((x) | ~(z))) in mbedtls_internal_md5_process() argument
A Dripemd160.c118 #define F1( x, y, z ) ( (x) ^ (y) ^ (z) ) in mbedtls_internal_ripemd160_process() argument
119 #define F2( x, y, z ) ( ( (x) & (y) ) | ( ~(x) & (z) ) ) in mbedtls_internal_ripemd160_process() argument
120 #define F3( x, y, z ) ( ( (x) | ~(y) ) ^ (z) ) in mbedtls_internal_ripemd160_process() argument
121 #define F4( x, y, z ) ( ( (x) & (z) ) | ( (y) & ~(z) ) ) in mbedtls_internal_ripemd160_process() argument
122 #define F5( x, y, z ) ( (x) ^ ( (y) | ~(z) ) ) in mbedtls_internal_ripemd160_process() argument
A Dsha1.c147 #define F(x,y,z) ((z) ^ ((x) & ((y) ^ (z)))) in mbedtls_internal_sha1_process() argument
174 #define F(x,y,z) ((x) ^ (y) ^ (z)) in mbedtls_internal_sha1_process() argument
201 #define F(x,y,z) (((x) & (y)) | ((z) & ((x) | (y)))) in mbedtls_internal_sha1_process() argument
228 #define F(x,y,z) ((x) ^ (y) ^ (z)) in mbedtls_internal_sha1_process() argument
A Dbignum.c438 X->p[0] = ( z < 0 ) ? -z : z; in mbedtls_mpi_lset()
1359 *p = ( z < 0 ) ? -z : z; in mbedtls_mpi_cmp_int()
1360 Y.s = ( z < 0 ) ? -1 : 1; in mbedtls_mpi_cmp_int()
2074 mbedtls_mpi_uint x, y, z; in mbedtls_mpi_mod_int() local
2106 z = y / b; in mbedtls_mpi_mod_int()
2107 y -= z * b; in mbedtls_mpi_mod_int()
2111 z = y / b; in mbedtls_mpi_mod_int()
2112 y -= z * b; in mbedtls_mpi_mod_int()
2221 mbedtls_mpi_uint z = 1; in mpi_montred() local
2224 U.n = U.s = (int) z; in mpi_montred()
[all …]
A Dsha512.c214 #define F0(x,y,z) (((x) & (y)) | ((z) & ((x) | (y)))) in mbedtls_internal_sha512_process() argument
215 #define F1(x,y,z) ((z) ^ ((x) & ((y) ^ (z)))) in mbedtls_internal_sha512_process() argument
A Dsha256.c155 #define F0(x,y,z) (((x) & (y)) | ((z) & ((x) | (y)))) argument
156 #define F1(x,y,z) ((z) ^ ((x) & ((y) ^ (z)))) argument
A Dcamellia.c275 uint32_t z[2]) in camellia_feistel()
295 z[0] ^= I1; in camellia_feistel()
296 z[1] ^= I0; in camellia_feistel()
A Ddebug.c397 &ctx->z ); in mbedtls_debug_printf_ecdh_internal()
/mbedtls-development/include/mbedtls/
A Decdh.h106 mbedtls_mpi MBEDTLS_PRIVATE(z); /*!< The shared secret. */
127 mbedtls_mpi MBEDTLS_PRIVATE(z); /*!< The shared secret. */
230 int mbedtls_ecdh_compute_shared( mbedtls_ecp_group *grp, mbedtls_mpi *z,
A Dbignum.h332 int mbedtls_mpi_lset( mbedtls_mpi *X, mbedtls_mpi_sint z );
628 int mbedtls_mpi_cmp_int( const mbedtls_mpi *X, mbedtls_mpi_sint z );
/mbedtls-development/3rdparty/everest/library/
A 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()
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-development/3rdparty/everest/library/legacy/
A 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()
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-development/tests/data_files/
A Dserver1.req.cert_type_empty14 mwsF9QsC6N9cygdFx23zCB0KsJ9KfmBqaTsdbKh8BsocYm5FJCw4WS/CBrCWBj+z
A Drsa_pkcs8_pbes2_pbkdf2_2048_des_sha512.pem27 KqbgDrdu/Fd0KJJy7S2cg/i02x7TfcSJE8C3EDyyESpGegE8XAH2NEltO1yt0+/z
A Drsa_pkcs8_pbes2_pbkdf2_2048_3des_sha256.pem23 0z+wy1wNgJlLF6Mhub1zT15e1Q+/wHUNsAcIRbEsq4vfSVn562/umqqVZleHUfoB
A Drsa_pkcs8_pbe_sha1_2048_3des.pem21 95gO9W6lwc+CAA7iZL4+yVzfZa652Yg2eck8EOgZ2N9r+Vd/7rPsv6ysGpU/7p/z
A Dbitstring-in-dn.pem18 A4IBAQBySELCnU8/PtGIG3dwhJENOSU5R7w8jpRXxHCuSBR+W6nuUCISz+z+EdF/
A Drsa_pkcs1_4096_aes192.pem45 Ciiys0AYSfRAs41m36h1Efy8G1bx946iShl/BYQS/6Bv0nr/LAOfaqo8mx9/jj/z
/mbedtls-development/tests/suites/
A Dtest_suite_ecdh.function237 void ecdh_restart( int id, data_t *dA, data_t *dB, data_t *z,
336 TEST_ASSERT( len == z->len );
337 TEST_ASSERT( memcmp( buf, z->x, len ) == 0 );
354 TEST_ASSERT( len == z->len );
355 TEST_ASSERT( memcmp( buf, z->x, len ) == 0 );
A Dtest_suite_ecp.function536 void ecp_write_binary( int id, char * x, char * y, char * z, int format,
552 TEST_ASSERT( mbedtls_test_read_mpi( &P.Z, 16, z ) == 0 );
569 void ecp_read_binary( int id, data_t * buf, char * x, char * y, char * z,
584 TEST_ASSERT( mbedtls_test_read_mpi( &Z, 16, z ) == 0 );
613 char * z, int ret )
628 TEST_ASSERT( mbedtls_test_read_mpi( &Z, 16, z ) == 0 );
/mbedtls-development/programs/test/
A Dbenchmark.c1126 mbedtls_mpi z; in main() local
1185 mbedtls_mpi_init( &z ); in main()
1195 … CHECK_AND_CONTINUE( mbedtls_ecdh_compute_shared( &ecdh.grp, &z, &ecdh.Qp, &ecdh.d, in main()
1199 mbedtls_mpi_free( &z ); in main()
1233 mbedtls_mpi_init( &z ); in main()
1243 … CHECK_AND_CONTINUE( mbedtls_ecdh_compute_shared( &ecdh.grp, &z, &ecdh.Qp, &ecdh.d, in main()
1247 mbedtls_mpi_free( &z ); in main()
/mbedtls-development/
A D.pylintrc25 module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|[a-z][-0-9a-z]+)$
A DBRANCHES.md27 code that's working and secure with Mbed TLS x.y.z and does not rely on
29 modification with any later release x.y'.z' with the same major version

Completed in 48 milliseconds

12