Home
last modified time | relevance | path

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

/net-tools-latest/mbedtls-2.4.0/library/
Decdh.c54 int mbedtls_ecdh_compute_shared( mbedtls_ecp_group *grp, mbedtls_mpi *z, in mbedtls_ecdh_compute_shared() argument
77 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( z, &P.X ) ); in mbedtls_ecdh_compute_shared()
107 mbedtls_mpi_free( &ctx->z ); in mbedtls_ecdh_free()
251 if( ( ret = mbedtls_ecdh_compute_shared( &ctx->grp, &ctx->z, &ctx->Qp, &ctx->d, in mbedtls_ecdh_calc_secret()
257 if( mbedtls_mpi_size( &ctx->z ) > blen ) in mbedtls_ecdh_calc_secret()
261 return mbedtls_mpi_write_binary( &ctx->z, buf, *olen ); in mbedtls_ecdh_calc_secret()
Dmd5.c145 #define F(x,y,z) (z ^ (x & (y ^ z))) in mbedtls_md5_process() argument
166 #define F(x,y,z) (y ^ (z & (x ^ y))) in mbedtls_md5_process() argument
187 #define F(x,y,z) (x ^ y ^ z) in mbedtls_md5_process() argument
208 #define F(x,y,z) (y ^ (x | ~z)) in mbedtls_md5_process() argument
Dripemd160.c142 #define F1( x, y, z ) ( x ^ y ^ z ) in mbedtls_ripemd160_process() argument
143 #define F2( x, y, z ) ( ( x & y ) | ( ~x & z ) ) in mbedtls_ripemd160_process() argument
144 #define F3( x, y, z ) ( ( x | ~y ) ^ z ) in mbedtls_ripemd160_process() argument
145 #define F4( x, y, z ) ( ( x & z ) | ( y & ~z ) ) in mbedtls_ripemd160_process() argument
146 #define F5( x, y, z ) ( x ^ ( y | ~z ) ) in mbedtls_ripemd160_process() argument
Dmd4.c141 #define F(x, y, z) ((x & y) | ((~x) & z)) in mbedtls_md4_process() argument
164 #define F(x,y,z) ((x & y) | (x & z) | (y & z)) in mbedtls_md4_process() argument
187 #define F(x,y,z) (x ^ y ^ z) in mbedtls_md4_process() argument
Dsha1.c154 #define F(x,y,z) (z ^ (x & (y ^ z))) in mbedtls_sha1_process() argument
181 #define F(x,y,z) (x ^ y ^ z) in mbedtls_sha1_process() argument
208 #define F(x,y,z) ((x & y) | (z & (x | y))) in mbedtls_sha1_process() argument
235 #define F(x,y,z) (x ^ y ^ z) in mbedtls_sha1_process() argument
Dbignum.c290 int mbedtls_mpi_lset( mbedtls_mpi *X, mbedtls_mpi_sint z ) in mbedtls_mpi_lset() argument
297 X->p[0] = ( z < 0 ) ? -z : z; in mbedtls_mpi_lset()
298 X->s = ( z < 0 ) ? -1 : 1; in mbedtls_mpi_lset()
866 int mbedtls_mpi_cmp_int( const mbedtls_mpi *X, mbedtls_mpi_sint z ) in mbedtls_mpi_cmp_int() argument
871 *p = ( z < 0 ) ? -z : z; in mbedtls_mpi_cmp_int()
872 Y.s = ( z < 0 ) ? -1 : 1; in mbedtls_mpi_cmp_int()
941 mbedtls_mpi_uint c, z; in mpi_sub_hlp() local
945 z = ( *d < c ); *d -= c; in mpi_sub_hlp()
946 c = ( *d < *s ) + z; *d -= *s; in mpi_sub_hlp()
951 z = ( *d < c ); *d -= c; in mpi_sub_hlp()
[all …]
Dsha512.c214 #define F0(x,y,z) ((x & y) | (z & (x | y))) in mbedtls_sha512_process() argument
215 #define F1(x,y,z) (z ^ (x & (y ^ z))) in mbedtls_sha512_process() argument
Dsha256.c166 #define F0(x,y,z) ((x & y) | (z & (x | y))) argument
167 #define F1(x,y,z) (z ^ (x & (y ^ z))) argument
Dcamellia.c302 uint32_t z[2]) in camellia_feistel()
322 z[0] ^= I1; in camellia_feistel()
323 z[1] ^= I0; in camellia_feistel()
Daes.c391 int i, x, y, z; in aes_gen_tables() local
441 z = ( y ^ x ) & 0xFF; in aes_gen_tables()
446 ( (uint32_t) z << 24 ); in aes_gen_tables()
Dssl_cli.c2809 MBEDTLS_SSL_DEBUG_MPI( 3, "ECDH: z", &ssl->handshake->ecdh_ctx.z );
Dssl_srv.c3364 MBEDTLS_SSL_DEBUG_MPI( 3, "ECDH: z ", &ssl->handshake->ecdh_ctx.z );
Dssl_tls.c1174 MBEDTLS_SSL_DEBUG_MPI( 3, "ECDH: z", &ssl->handshake->ecdh_ctx.z ); in mbedtls_ssl_psk_derive_premaster()
/net-tools-latest/mbedtls-2.4.0/programs/pkey/
Decdh_curve25519.c164 ret = mbedtls_ecdh_compute_shared( &ctx_srv.grp, &ctx_srv.z, in main()
195 ret = mbedtls_ecdh_compute_shared( &ctx_cli.grp, &ctx_cli.z, in main()
212 ret = mbedtls_mpi_cmp_mpi( &ctx_cli.z, &ctx_srv.z ); in main()
/net-tools-latest/mbedtls-2.4.0/include/mbedtls/
Decdh.h50 mbedtls_mpi z; /*!< shared secret */ member
93 int mbedtls_ecdh_compute_shared( mbedtls_ecp_group *grp, mbedtls_mpi *z,
Dbignum.h256 int mbedtls_mpi_lset( mbedtls_mpi *X, mbedtls_mpi_sint z );
452 int mbedtls_mpi_cmp_int( const mbedtls_mpi *X, mbedtls_mpi_sint z );
/net-tools-latest/mbedtls-2.4.0/tests/data_files/
Dkeyfile.aes1287 flAYU0iXDMvqs/jnucM7nlTGp8Istn7+zd9ARyrkQy+I8nvMh3chGKWzx/XtJR+z
Dbitstring-in-dn.pem18 A4IBAQBySELCnU8/PtGIG3dwhJENOSU5R7w8jpRXxHCuSBR+W6nuUCISz+z+EdF/
Dcert_example_multi.crt77 wSfcL/4z+tMOuNQyqYQoU6Xw0YnVopjnFpG7nMBBjoxYrP/j3S56q7C5cXatDycz
/net-tools-latest/mbedtls-2.4.0/programs/test/
Dbenchmark.c769 mbedtls_mpi z; in main() local
802 mbedtls_mpi_init( &z ); in main()
813 ret |= mbedtls_ecdh_compute_shared( &ecdh.grp, &z, &ecdh.Qp, &ecdh.d, in main()
817 mbedtls_mpi_free( &z ); in main()
848 mbedtls_mpi_init( &z ); in main()
859 ret |= mbedtls_ecdh_compute_shared( &ecdh.grp, &z, &ecdh.Qp, &ecdh.d, in main()
863 mbedtls_mpi_free( &z ); in main()
/net-tools-latest/mbedtls-2.4.0/yotta/data/example-benchmark/
Dmain.cpp821 mbedtls_mpi z; in benchmark() local
854 mbedtls_mpi_init( &z ); in benchmark()
865 ret |= mbedtls_ecdh_compute_shared( &ecdh.grp, &z, &ecdh.Qp, &ecdh.d, in benchmark()
869 mbedtls_mpi_free( &z ); in benchmark()
900 mbedtls_mpi_init( &z ); in benchmark()
911 ret |= mbedtls_ecdh_compute_shared( &ecdh.grp, &z, &ecdh.Qp, &ecdh.d, in benchmark()
915 mbedtls_mpi_free( &z ); in benchmark()
/net-tools-latest/mbedtls-2.4.0/tests/suites/
Dtest_suite_ecp.function193 void ecp_write_binary( int id, char *x, char *y, char *z, int format,
210 TEST_ASSERT( mbedtls_mpi_read_string( &P.Z, 16, z ) == 0 );
227 void ecp_read_binary( int id, char *input, char *x, char *y, char *z,
245 TEST_ASSERT( mbedtls_mpi_read_string( &Z, 16, z ) == 0 );
265 void mbedtls_ecp_tls_read_point( int id, char *input, char *x, char *y, char *z,
284 TEST_ASSERT( mbedtls_mpi_read_string( &Z, 16, z ) == 0 );
Dtest_suite_ecdh.function154 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &srv.z, &cli.z ) == 0 );
/net-tools-latest/tinydtls-0.8.2/sha2/
Dsha2.c228 #define Ch(x,y,z) (((x) & (y)) ^ ((~(x)) & (z))) argument
229 #define Maj(x,y,z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) argument
/net-tools-latest/libcoap/
Dconfigure.ac139 if test -z "$DOXYGEN"; then