/openthread-3.4.0/third_party/mbedtls/repo/library/ |
D | ecdh.c | 113 mbedtls_mpi *z, in ecdh_compute_shared_restartable() argument 133 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( z, &P.X ) ); in ecdh_compute_shared_restartable() 144 int mbedtls_ecdh_compute_shared( mbedtls_ecp_group *grp, mbedtls_mpi *z, in mbedtls_ecdh_compute_shared() argument 152 ECDH_VALIDATE_RET( z != NULL ); in mbedtls_ecdh_compute_shared() 153 return( ecdh_compute_shared_restartable( grp, z, Q, d, in mbedtls_ecdh_compute_shared() 164 mbedtls_mpi_init( &ctx->z ); in ecdh_init_internal() 243 mbedtls_mpi_free( &ctx->z ); in ecdh_free_internal() 666 if( ( ret = ecdh_compute_shared_restartable( &ctx->grp, &ctx->z, &ctx->Qp, in ecdh_calc_secret_internal() 673 if( ( ret = mbedtls_ecdh_compute_shared( &ctx->grp, &ctx->z, &ctx->Qp, in ecdh_calc_secret_internal() 680 if( mbedtls_mpi_size( &ctx->z ) > blen ) in ecdh_calc_secret_internal() [all …]
|
D | md5.c | 129 #define F(x,y,z) ((z) ^ ((x) & ((y) ^ (z)))) in mbedtls_internal_md5_process() argument 150 #define F(x,y,z) ((y) ^ ((z) & ((x) ^ (y)))) in mbedtls_internal_md5_process() argument 171 #define F(x,y,z) ((x) ^ (y) ^ (z)) in mbedtls_internal_md5_process() argument 192 #define F(x,y,z) ((y) ^ ((x) | ~(z))) in mbedtls_internal_md5_process() argument
|
D | ripemd160.c | 125 #define F1( x, y, z ) ( (x) ^ (y) ^ (z) ) in mbedtls_internal_ripemd160_process() argument 126 #define F2( x, y, z ) ( ( (x) & (y) ) | ( ~(x) & (z) ) ) in mbedtls_internal_ripemd160_process() argument 127 #define F3( x, y, z ) ( ( (x) | ~(y) ) ^ (z) ) in mbedtls_internal_ripemd160_process() argument 128 #define F4( x, y, z ) ( ( (x) & (z) ) | ( (y) & ~(z) ) ) in mbedtls_internal_ripemd160_process() argument 129 #define F5( x, y, z ) ( (x) ^ ( (y) | ~(z) ) ) in mbedtls_internal_ripemd160_process() argument
|
D | md4.c | 122 #define F(x, y, z) (((x) & (y)) | ((~(x)) & (z))) in mbedtls_internal_md4_process() argument 151 #define F(x,y,z) (((x) & (y)) | ((x) & (z)) | ((y) & (z))) in mbedtls_internal_md4_process() argument 179 #define F(x,y,z) ((x) ^ (y) ^ (z)) in mbedtls_internal_md4_process() argument
|
D | sha1.c | 154 #define F(x,y,z) ((z) ^ ((x) & ((y) ^ (z)))) in mbedtls_internal_sha1_process() argument 181 #define F(x,y,z) ((x) ^ (y) ^ (z)) in mbedtls_internal_sha1_process() argument 208 #define F(x,y,z) (((x) & (y)) | ((z) & ((x) | (y)))) in mbedtls_internal_sha1_process() argument 235 #define F(x,y,z) ((x) ^ (y) ^ (z)) in mbedtls_internal_sha1_process() argument
|
D | bignum.c | 276 int mbedtls_mpi_lset( mbedtls_mpi *X, mbedtls_mpi_sint z ) in mbedtls_mpi_lset() argument 284 X->p[0] = ( z < 0 ) ? -z : z; in mbedtls_mpi_lset() 285 X->s = ( z < 0 ) ? -1 : 1; in mbedtls_mpi_lset() 1098 int mbedtls_mpi_cmp_int( const mbedtls_mpi *X, mbedtls_mpi_sint z ) in mbedtls_mpi_cmp_int() argument 1104 *p = ( z < 0 ) ? -z : z; in mbedtls_mpi_cmp_int() 1105 Y.s = ( z < 0 ) ? -1 : 1; in mbedtls_mpi_cmp_int() 1194 mbedtls_mpi_uint c = 0, t, z; in mpi_sub_hlp() local 1198 z = ( l[i] < c ); t = l[i] - c; in mpi_sub_hlp() 1199 c = ( t < r[i] ) + z; d[i] = t - r[i]; in mpi_sub_hlp() 1819 mbedtls_mpi_uint x, y, z; in mbedtls_mpi_mod_int() local [all …]
|
D | sha256.c | 156 #define F0(x,y,z) (((x) & (y)) | ((z) & ((x) | (y)))) argument 157 #define F1(x,y,z) ((z) ^ ((x) & ((y) ^ (z)))) argument
|
D | sha512.c | 222 #define F0(x,y,z) (((x) & (y)) | ((z) & ((x) | (y)))) in mbedtls_internal_sha512_process() argument 223 #define F1(x,y,z) ((z) ^ ((x) & ((y) ^ (z)))) in mbedtls_internal_sha512_process() argument
|
D | camellia.c | 275 uint32_t z[2]) in camellia_feistel() 295 z[0] ^= I1; in camellia_feistel() 296 z[1] ^= I0; in camellia_feistel()
|
/openthread-3.4.0/third_party/mbedtls/repo/programs/pkey/ |
D | ecdh_curve25519.c | 168 ret = mbedtls_ecdh_compute_shared( &ctx_srv.grp, &ctx_srv.z, in main() 199 ret = mbedtls_ecdh_compute_shared( &ctx_cli.grp, &ctx_cli.z, in main() 216 ret = mbedtls_mpi_cmp_mpi( &ctx_cli.z, &ctx_srv.z ); in main()
|
/openthread-3.4.0/third_party/mbedtls/repo/include/mbedtls/ |
D | ecdh.h | 90 mbedtls_mpi z; /*!< The shared secret. */ member 111 mbedtls_mpi z; /*!< The shared secret. */ member 217 int mbedtls_ecdh_compute_shared( mbedtls_ecp_group *grp, mbedtls_mpi *z,
|
D | bignum.h | 335 int mbedtls_mpi_lset( mbedtls_mpi *X, mbedtls_mpi_sint z ); 631 int mbedtls_mpi_cmp_int( const mbedtls_mpi *X, mbedtls_mpi_sint z );
|
/openthread-3.4.0/third_party/mbedtls/repo/3rdparty/everest/library/ |
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() 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 …]
|
/openthread-3.4.0/third_party/mbedtls/repo/3rdparty/everest/library/legacy/ |
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() 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 …]
|
/openthread-3.4.0/third_party/mbedtls/repo/tests/data_files/ |
D | server1.req.cert_type_empty | 14 mwsF9QsC6N9cygdFx23zCB0KsJ9KfmBqaTsdbKh8BsocYm5FJCw4WS/CBrCWBj+z
|
D | rsa_pkcs8_pbes2_pbkdf2_2048_des_sha512.pem | 27 KqbgDrdu/Fd0KJJy7S2cg/i02x7TfcSJE8C3EDyyESpGegE8XAH2NEltO1yt0+/z
|
D | rsa_pkcs8_pbes2_pbkdf2_2048_3des_sha256.pem | 23 0z+wy1wNgJlLF6Mhub1zT15e1Q+/wHUNsAcIRbEsq4vfSVn562/umqqVZleHUfoB
|
D | rsa_pkcs8_pbe_sha1_2048_3des.pem | 21 95gO9W6lwc+CAA7iZL4+yVzfZa652Yg2eck8EOgZ2N9r+Vd/7rPsv6ysGpU/7p/z
|
D | bitstring-in-dn.pem | 18 A4IBAQBySELCnU8/PtGIG3dwhJENOSU5R7w8jpRXxHCuSBR+W6nuUCISz+z+EdF/
|
D | rsa_pkcs1_4096_aes192.pem | 45 Ciiys0AYSfRAs41m36h1Efy8G1bx946iShl/BYQS/6Bv0nr/LAOfaqo8mx9/jj/z
|
/openthread-3.4.0/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_ecdh.function | 353 void ecdh_restart( int id, data_t *dA, data_t *dB, data_t *z, 449 TEST_ASSERT( len == z->len ); 450 TEST_ASSERT( memcmp( buf, z->x, len ) == 0 ); 466 TEST_ASSERT( len == z->len ); 467 TEST_ASSERT( memcmp( buf, z->x, len ) == 0 ); 509 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &srv.z, &cli.z ) == 0 );
|
D | test_suite_ecp.function | 848 void ecp_write_binary( int id, char * x, char * y, char * z, int format, 864 TEST_ASSERT( mbedtls_test_read_mpi( &P.Z, 16, z ) == 0 ); 881 void ecp_read_binary( int id, data_t * buf, char * x, char * y, char * z, 896 TEST_ASSERT( mbedtls_test_read_mpi( &Z, 16, z ) == 0 ); 925 char * z, int ret ) 940 TEST_ASSERT( mbedtls_test_read_mpi( &Z, 16, z ) == 0 );
|
/openthread-3.4.0/third_party/mbedtls/repo/ |
D | .pylintrc | 25 module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|[a-z][-0-9a-z]+)$
|
D | BRANCHES.md | 22 code that's working and secure with Mbed TLS x.y.z and does not rely on 24 modification with any later release x.y'.z' with the same major version
|
/openthread-3.4.0/third_party/mbedtls/repo/programs/test/ |
D | benchmark.c | 934 mbedtls_mpi z; in main() local 993 mbedtls_mpi_init( &z ); in main() 1003 … CHECK_AND_CONTINUE( mbedtls_ecdh_compute_shared( &ecdh.grp, &z, &ecdh.Qp, &ecdh.d, in main() 1007 mbedtls_mpi_free( &z ); in main() 1041 mbedtls_mpi_init( &z ); in main() 1051 … CHECK_AND_CONTINUE( mbedtls_ecdh_compute_shared( &ecdh.grp, &z, &ecdh.Qp, &ecdh.d, in main() 1055 mbedtls_mpi_free( &z ); in main()
|