Home
last modified time | relevance | path

Searched refs:mbedtls_mpi_write_file (Results 1 – 12 of 12) sorted by relevance

/openthread-3.5.0/third_party/mbedtls/repo/programs/pkey/
Dkey_app.c210 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( "N: ", &N, 16, NULL ) ); in main()
211 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( "E: ", &E, 16, NULL ) ); in main()
212 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( "D: ", &D, 16, NULL ) ); in main()
213 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( "P: ", &P, 16, NULL ) ); in main()
214 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( "Q: ", &Q, 16, NULL ) ); in main()
215 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( "DP: ", &DP, 16, NULL ) ); in main()
216 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( "DQ: ", &DQ, 16, NULL ) ); in main()
217 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( "QP: ", &QP, 16, NULL ) ); in main()
225 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( "Q(X): ", &ecp->Q.X, 16, NULL ) ); in main()
226 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( "Q(Y): ", &ecp->Q.Y, 16, NULL ) ); in main()
[all …]
Drsa_genkey.c121 if( ( ret = mbedtls_mpi_write_file( "N = ", &N, 16, fpub ) ) != 0 || in main()
122 ( ret = mbedtls_mpi_write_file( "E = ", &E, 16, fpub ) ) != 0 ) in main()
137 if( ( ret = mbedtls_mpi_write_file( "N = " , &N , 16, fpriv ) ) != 0 || in main()
138 ( ret = mbedtls_mpi_write_file( "E = " , &E , 16, fpriv ) ) != 0 || in main()
139 ( ret = mbedtls_mpi_write_file( "D = " , &D , 16, fpriv ) ) != 0 || in main()
140 ( ret = mbedtls_mpi_write_file( "P = " , &P , 16, fpriv ) ) != 0 || in main()
141 ( ret = mbedtls_mpi_write_file( "Q = " , &Q , 16, fpriv ) ) != 0 || in main()
142 ( ret = mbedtls_mpi_write_file( "DP = ", &DP, 16, fpriv ) ) != 0 || in main()
143 ( ret = mbedtls_mpi_write_file( "DQ = ", &DQ, 16, fpriv ) ) != 0 || in main()
144 ( ret = mbedtls_mpi_write_file( "QP = ", &QP, 16, fpriv ) ) != 0 ) in main()
Dmpi_demo.c68 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( " N = ", &N, 10, NULL ) ); in main()
69 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( " E = ", &E, 10, NULL ) ); in main()
72 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( " P = ", &P, 10, NULL ) ); in main()
73 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( " Q = ", &Q, 10, NULL ) ); in main()
81 mbedtls_mpi_write_file( " D = E^-1 mod (P-1)*(Q-1) = ", in main()
91 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( " X (plaintext) = ", &X, 10, NULL ) ); in main()
92 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( " Y (ciphertext) = X^E mod N = ", &Y, 10, NULL ) ); in main()
93 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( " Z (decrypted) = Y^D mod N = ", &Z, 10, NULL ) ); in main()
Dkey_app_writer.c326 mbedtls_mpi_write_file( "N: ", &N, 16, NULL ); in main()
327 mbedtls_mpi_write_file( "E: ", &E, 16, NULL ); in main()
328 mbedtls_mpi_write_file( "D: ", &D, 16, NULL ); in main()
329 mbedtls_mpi_write_file( "P: ", &P, 16, NULL ); in main()
330 mbedtls_mpi_write_file( "Q: ", &Q, 16, NULL ); in main()
331 mbedtls_mpi_write_file( "DP: ", &DP, 16, NULL ); in main()
332 mbedtls_mpi_write_file( "DQ: ", &DQ, 16, NULL ); in main()
333 mbedtls_mpi_write_file( "QP: ", &QP, 16, NULL ); in main()
341 mbedtls_mpi_write_file( "Q(X): ", &ecp->Q.X, 16, NULL ); in main()
342 mbedtls_mpi_write_file( "Q(Y): ", &ecp->Q.Y, 16, NULL ); in main()
[all …]
Dgen_key.c382 mbedtls_mpi_write_file( "N: ", &N, 16, NULL ); in main()
383 mbedtls_mpi_write_file( "E: ", &E, 16, NULL ); in main()
384 mbedtls_mpi_write_file( "D: ", &D, 16, NULL ); in main()
385 mbedtls_mpi_write_file( "P: ", &P, 16, NULL ); in main()
386 mbedtls_mpi_write_file( "Q: ", &Q, 16, NULL ); in main()
387 mbedtls_mpi_write_file( "DP: ", &DP, 16, NULL ); in main()
388 mbedtls_mpi_write_file( "DQ: ", &DQ, 16, NULL ); in main()
389 mbedtls_mpi_write_file( "QP: ", &QP, 16, NULL ); in main()
399 mbedtls_mpi_write_file( "X_Q: ", &ecp->Q.X, 16, NULL ); in main()
400 mbedtls_mpi_write_file( "Y_Q: ", &ecp->Q.Y, 16, NULL ); in main()
[all …]
Ddh_genprime.c174 if( ( ret = mbedtls_mpi_write_file( "P = ", &P, 16, fout ) != 0 ) || in main()
175 ( ret = mbedtls_mpi_write_file( "G = ", &G, 16, fout ) != 0 ) ) in main()
/openthread-3.5.0/third_party/mbedtls/repo/include/mbedtls/
Dbignum.h485 int mbedtls_mpi_write_file( const char *p, const mbedtls_mpi *X,
Dcompat-1.3.h2091 #define mpi_write_file mbedtls_mpi_write_file
/openthread-3.5.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_mpi.function203 mbedtls_mpi_write_file( "", NULL, 2, NULL ) );
535 void mbedtls_mpi_write_file( int radix_X, char * input_X, int output_radix,
548 ret = mbedtls_mpi_write_file( NULL, &X, output_radix, file_out );
Dtest_suite_mpi.data121 Base test mbedtls_mpi_write_file #1
122 mbedtls_mpi_write_file:10:"561256809817522823341418963203724894906139636935563925208160178921113506…
/openthread-3.5.0/third_party/mbedtls/repo/scripts/data_files/
Drename-1.3-2.0.txt1701 mpi_write_file mbedtls_mpi_write_file
/openthread-3.5.0/third_party/mbedtls/repo/library/
Dbignum.c655 int mbedtls_mpi_write_file( const char *p, const mbedtls_mpi *X, int radix, FILE *fout ) in mbedtls_mpi_write_file() function