/third_party/mbedtls/tests/suites/ |
D | test_suite_pkcs1_v21.function | 32 TEST_ASSERT( mbedtls_mpi_read_binary( &N, input_N->x, input_N->len ) == 0 ); 33 TEST_ASSERT( mbedtls_mpi_read_binary( &E, input_E->x, input_E->len ) == 0 ); 79 TEST_ASSERT( mbedtls_mpi_read_binary( &P, input_P->x, input_P->len ) == 0 ); 80 TEST_ASSERT( mbedtls_mpi_read_binary( &Q, input_Q->x, input_Q->len ) == 0 ); 81 TEST_ASSERT( mbedtls_mpi_read_binary( &N, input_N->x, input_N->len ) == 0 ); 82 TEST_ASSERT( mbedtls_mpi_read_binary( &E, input_E->x, input_E->len ) == 0 ); 146 TEST_ASSERT( mbedtls_mpi_read_binary( &P, input_P->x, input_P->len ) == 0 ); 147 TEST_ASSERT( mbedtls_mpi_read_binary( &Q, input_Q->x, input_Q->len ) == 0 ); 148 TEST_ASSERT( mbedtls_mpi_read_binary( &N, input_N->x, input_N->len ) == 0 ); 149 TEST_ASSERT( mbedtls_mpi_read_binary( &E, input_E->x, input_E->len ) == 0 ); [all …]
|
D | test_suite_ecp.function | 399 TEST_ASSERT( mbedtls_mpi_read_binary( &n, n_hex->x, n_hex->len ) == 0 ); 401 TEST_ASSERT( mbedtls_mpi_read_binary( &P.X, Px_hex->x, Px_hex->len ) == 0 ); 402 TEST_ASSERT( mbedtls_mpi_read_binary( &P.Y, Py_hex->x, Py_hex->len ) == 0 ); 403 TEST_ASSERT( mbedtls_mpi_read_binary( &P.Z, Pz_hex->x, Pz_hex->len ) == 0 ); 404 TEST_ASSERT( mbedtls_mpi_read_binary( &nP.X, nPx_hex->x, nPx_hex->len ) 406 TEST_ASSERT( mbedtls_mpi_read_binary( &nP.Y, nPy_hex->x, nPy_hex->len ) 408 TEST_ASSERT( mbedtls_mpi_read_binary( &nP.Z, nPz_hex->x, nPz_hex->len ) 443 TEST_ASSERT( mbedtls_mpi_read_binary( &d, d_hex->x, d_hex->len ) == 0 ); 476 TEST_EQUAL( 0, mbedtls_mpi_read_binary( &u1, u1_bin->x, u1_bin->len ) ); 477 TEST_EQUAL( 0, mbedtls_mpi_read_binary( &u2, u2_bin->x, u2_bin->len ) ); [all …]
|
D | test_suite_pkcs1_v15.function | 202 TEST_ASSERT( mbedtls_mpi_read_binary( &Nmpi, N, sizeof( N ) ) == 0 ); 203 TEST_ASSERT( mbedtls_mpi_read_binary( &Empi, E, sizeof( E ) ) == 0 ); 204 TEST_ASSERT( mbedtls_mpi_read_binary( &Pmpi, P, sizeof( P ) ) == 0 ); 205 TEST_ASSERT( mbedtls_mpi_read_binary( &Qmpi, Q, sizeof( Q ) ) == 0 );
|
D | test_suite_ecjpake.function | 76 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &ctx->xm1, xm1, len_xm1 ) ); 77 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &ctx->xm2, xm2, len_xm2 ) );
|
D | test_suite_mpi.function | 52 * used as big endian, unsigned binary data in mbedtls_mpi_read_binary. 180 void mbedtls_mpi_read_binary( data_t * buf, int radix_A, char * input_A ) 189 TEST_ASSERT( mbedtls_mpi_read_binary( &X, buf->x, buf->len ) == 0 ); 1124 TEST_ASSERT( mbedtls_mpi_read_binary( &X, input_X->x, input_X->len ) == 0 ); 1284 TEST_EQUAL( 0, mbedtls_mpi_read_binary( &upper_bound, 1388 TEST_EQUAL( 0, mbedtls_mpi_read_binary( &upper_bound, 1412 TEST_EQUAL( 0, mbedtls_mpi_read_binary( &upper_bound,
|
D | test_suite_dhm.function | 43 TEST_EQUAL( 0, mbedtls_mpi_read_binary( &actual, buffer + *offset, n ) );
|
D | test_suite_mpi.data | 79 Base test mbedtls_mpi_read_binary #1 80 mbedtls_mpi_read_binary:"0941379d00fed1491fe15df284dfde4a142f68aa8d412023195cee66883e6290ffe703f4ea… 1835 ## mbedtls_mpi_read_binary() bases the size of the MPI on the size of
|
D | test_suite_asn1write.function | 149 TEST_ASSERT( mbedtls_mpi_read_binary( &mpi, val->x, val->len ) == 0 );
|
/third_party/libwebsockets/lib/tls/mbedtls/ |
D | lws-genec.c | 97 mbedtls_mpi_read_binary(&kp.MBEDTLS_PRIVATE(d), in lws_genec_keypair_import() 104 if (mbedtls_mpi_read_binary(&kp.MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(X), in lws_genec_keypair_import() 109 if (mbedtls_mpi_read_binary(&kp.MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(Y), in lws_genec_keypair_import() 487 if (mbedtls_mpi_read_binary(&mpi_r, sig, (unsigned int)keybytes)) in lws_genecdsa_hash_sig_verify_jws() 489 if (mbedtls_mpi_read_binary(&mpi_s, sig + keybytes, (unsigned int)keybytes)) in lws_genecdsa_hash_sig_verify_jws()
|
D | lws-genrsa.c | 87 mbedtls_mpi_read_binary(mpi[n], el[n].buf,
|
/third_party/mbedtls/programs/pkey/ |
D | ecdh_curve25519.c | 157 … ret = mbedtls_mpi_read_binary( &ctx_srv.MBEDTLS_PRIVATE(Qp).MBEDTLS_PRIVATE(X), cli_to_srv, 32 ); in main() 188 … ret = mbedtls_mpi_read_binary( &ctx_cli.MBEDTLS_PRIVATE(Qp).MBEDTLS_PRIVATE(X), srv_to_cli, 32 ); in main()
|
/third_party/mbedtls/library/ |
D | ecjpake.c | 122 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &ctx->s, secret, len ) ); in mbedtls_ecjpake_setup() 236 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( h, hash, in ecjpake_hash() 291 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &r, *p, r_len ) ); in ecjpake_zkp_read() 989 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &ctx->xm1, xm1, len1 ) ); in ecjpake_test_load() 990 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &ctx->xm2, xm2, len2 ) ); in ecjpake_test_load()
|
D | psa_crypto_ecp.c | 442 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &r, in mbedtls_psa_ecdsa_verify_hash() 445 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &s, in mbedtls_psa_ecdsa_verify_hash()
|
D | rsa.c | 112 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &ctx->N, N, N_len ) ); in mbedtls_rsa_import_raw() 117 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &ctx->P, P, P_len ) ); in mbedtls_rsa_import_raw() 120 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &ctx->Q, Q, Q_len ) ); in mbedtls_rsa_import_raw() 123 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &ctx->D, D, D_len ) ); in mbedtls_rsa_import_raw() 126 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &ctx->E, E, E_len ) ); in mbedtls_rsa_import_raw() 758 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &T, input, ctx->len ) ); in mbedtls_rsa_public() 955 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &T, input, ctx->len ) ); in mbedtls_rsa_private()
|
D | pkparse.c | 317 ( ret = mbedtls_mpi_read_binary( &grp->A, p, len ) ) != 0 ) in pk_group_from_specified() 325 ( ret = mbedtls_mpi_read_binary( &grp->B, p, len ) ) != 0 ) in pk_group_from_specified() 356 mbedtls_mpi_read_binary( &grp->G.X, p + 1, len - 1 ) != 0 || in pk_group_from_specified() 901 if( ( ret = mbedtls_mpi_read_binary( &eck->d, p, len ) ) != 0 ) in pk_parse_key_sec1_der()
|
D | dhm.c | 81 if( ( ret = mbedtls_mpi_read_binary( X, *p, n ) ) != 0 ) in dhm_read_bignum() 329 if( ( ret = mbedtls_mpi_read_binary( &ctx->GY, input, ilen ) ) != 0 ) in mbedtls_dhm_read_public()
|
D | asn1parse.c | 206 ret = mbedtls_mpi_read_binary( X, *p, len ); in mbedtls_asn1_get_mpi()
|
D | ecdsa.c | 234 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( x, buf, use_size ) ); in derive_mpi()
|
D | ecp.c | 844 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &pt->X, buf + 1, plen ) ); in mbedtls_ecp_point_read_binary() 845 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &pt->Y, in mbedtls_ecp_point_read_binary() 3126 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &key->d, buf, buflen ) ); in mbedtls_ecp_read_key()
|
D | ecp_curves.c | 4655 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &grp->N, in ecp_use_curve25519() 4715 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &Ns, in ecp_use_curve448()
|
D | ssl_tls.c | 3947 if( ( ret = mbedtls_mpi_read_binary( &conf->dhm_P, dhm_P, P_len ) ) != 0 || in mbedtls_ssl_conf_dh_param_bin() 3948 ( ret = mbedtls_mpi_read_binary( &conf->dhm_G, dhm_G, G_len ) ) != 0 ) in mbedtls_ssl_conf_dh_param_bin()
|
D | bignum.c | 815 int mbedtls_mpi_read_binary( mbedtls_mpi *X, const unsigned char *buf, size_t buflen ) in mbedtls_mpi_read_binary() function
|
/third_party/mbedtls/include/mbedtls/ |
D | bignum.h | 498 int mbedtls_mpi_read_binary( mbedtls_mpi *X, const unsigned char *buf,
|
/third_party/mbedtls/programs/test/ |
D | benchmark.c | 1035 if( mbedtls_mpi_read_binary( &dhm.P, dhm_P[i], in main() 1037 mbedtls_mpi_read_binary( &dhm.G, dhm_G[i], in main()
|
/third_party/ffmpeg/libavformat/ |
D | rtmpdh.c | 190 mbedtls_mpi_read_binary(bn, buf, len); \
|