/third_party/mbedtls/programs/pkey/ |
D | key_app.c | 213 MBEDTLS_MPI_CHK(mbedtls_mpi_write_file("N: ", &N, 16, NULL)); in main() 214 MBEDTLS_MPI_CHK(mbedtls_mpi_write_file("E: ", &E, 16, NULL)); in main() 215 MBEDTLS_MPI_CHK(mbedtls_mpi_write_file("D: ", &D, 16, NULL)); in main() 216 MBEDTLS_MPI_CHK(mbedtls_mpi_write_file("P: ", &P, 16, NULL)); in main() 217 MBEDTLS_MPI_CHK(mbedtls_mpi_write_file("Q: ", &Q, 16, NULL)); in main() 218 MBEDTLS_MPI_CHK(mbedtls_mpi_write_file("DP: ", &DP, 16, NULL)); in main() 219 MBEDTLS_MPI_CHK(mbedtls_mpi_write_file("DQ: ", &DQ, 16, NULL)); in main() 220 MBEDTLS_MPI_CHK(mbedtls_mpi_write_file("QP: ", &QP, 16, NULL)); in main() 226 MBEDTLS_MPI_CHK(mbedtls_mpi_write_file("Q(X): ", in main() 229 MBEDTLS_MPI_CHK(mbedtls_mpi_write_file("Q(Y): ", in main() [all …]
|
D | key_app_writer.c | 328 mbedtls_mpi_write_file("N: ", &N, 16, NULL); in main() 329 mbedtls_mpi_write_file("E: ", &E, 16, NULL); in main() 330 mbedtls_mpi_write_file("D: ", &D, 16, NULL); in main() 331 mbedtls_mpi_write_file("P: ", &P, 16, NULL); in main() 332 mbedtls_mpi_write_file("Q: ", &Q, 16, NULL); in main() 333 mbedtls_mpi_write_file("DP: ", &DP, 16, NULL); in main() 334 mbedtls_mpi_write_file("DQ: ", &DQ, 16, NULL); in main() 335 mbedtls_mpi_write_file("QP: ", &QP, 16, NULL); in main() 341 mbedtls_mpi_write_file("Q(X): ", &ecp->MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(X), 16, NULL); in main() 342 mbedtls_mpi_write_file("Q(Y): ", &ecp->MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(Y), 16, NULL); in main() [all …]
|
D | rsa_genkey.c | 104 if ((ret = mbedtls_mpi_write_file("N = ", &N, 16, fpub)) != 0 || in main() 105 (ret = mbedtls_mpi_write_file("E = ", &E, 16, fpub)) != 0) { in main() 118 if ((ret = mbedtls_mpi_write_file("N = ", &N, 16, fpriv)) != 0 || in main() 119 (ret = mbedtls_mpi_write_file("E = ", &E, 16, fpriv)) != 0 || in main() 120 (ret = mbedtls_mpi_write_file("D = ", &D, 16, fpriv)) != 0 || in main() 121 (ret = mbedtls_mpi_write_file("P = ", &P, 16, fpriv)) != 0 || in main() 122 (ret = mbedtls_mpi_write_file("Q = ", &Q, 16, fpriv)) != 0 || in main() 123 (ret = mbedtls_mpi_write_file("DP = ", &DP, 16, fpriv)) != 0 || in main() 124 (ret = mbedtls_mpi_write_file("DQ = ", &DQ, 16, fpriv)) != 0 || in main() 125 (ret = mbedtls_mpi_write_file("QP = ", &QP, 16, fpriv)) != 0) { in main()
|
D | mpi_demo.c | 55 MBEDTLS_MPI_CHK(mbedtls_mpi_write_file(" N = ", &N, 10, NULL)); in main() 56 MBEDTLS_MPI_CHK(mbedtls_mpi_write_file(" E = ", &E, 10, NULL)); in main() 59 MBEDTLS_MPI_CHK(mbedtls_mpi_write_file(" P = ", &P, 10, NULL)); in main() 60 MBEDTLS_MPI_CHK(mbedtls_mpi_write_file(" Q = ", &Q, 10, NULL)); in main() 68 mbedtls_mpi_write_file(" D = E^-1 mod (P-1)*(Q-1) = ", in main() 78 MBEDTLS_MPI_CHK(mbedtls_mpi_write_file(" X (plaintext) = ", &X, 10, NULL)); in main() 79 MBEDTLS_MPI_CHK(mbedtls_mpi_write_file(" Y (ciphertext) = X^E mod N = ", &Y, 10, NULL)); in main() 80 MBEDTLS_MPI_CHK(mbedtls_mpi_write_file(" Z (decrypted) = Y^D mod N = ", &Z, 10, NULL)); in main()
|
D | gen_key.c | 356 mbedtls_mpi_write_file("N: ", &N, 16, NULL); in main() 357 mbedtls_mpi_write_file("E: ", &E, 16, NULL); in main() 358 mbedtls_mpi_write_file("D: ", &D, 16, NULL); in main() 359 mbedtls_mpi_write_file("P: ", &P, 16, NULL); in main() 360 mbedtls_mpi_write_file("Q: ", &Q, 16, NULL); in main() 361 mbedtls_mpi_write_file("DP: ", &DP, 16, NULL); in main() 362 mbedtls_mpi_write_file("DQ: ", &DQ, 16, NULL); in main() 363 mbedtls_mpi_write_file("QP: ", &QP, 16, NULL); in main() 371 mbedtls_mpi_write_file("X_Q: ", &ecp->MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(X), 16, NULL); in main() 372 mbedtls_mpi_write_file("Y_Q: ", &ecp->MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(Y), 16, NULL); in main() [all …]
|
D | dh_genprime.c | 152 if (((ret = mbedtls_mpi_write_file("P = ", &P, 16, fout)) != 0) || in main() 153 ((ret = mbedtls_mpi_write_file("G = ", &G, 16, fout)) != 0)) { in main()
|
/third_party/mbedtls/include/mbedtls/ |
D | bignum.h | 523 int mbedtls_mpi_write_file(const char *p, const mbedtls_mpi *X,
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_bignum.function | 295 ret = mbedtls_mpi_write_file(NULL, &X, 16, file_out);
|
D | test_suite_bignum.misc.data | 121 Base test mbedtls_mpi_write_file #1
|
/third_party/mbedtls/library/ |
D | bignum.c | 630 int mbedtls_mpi_write_file(const char *p, const mbedtls_mpi *X, int radix, FILE *fout) in mbedtls_mpi_write_file() function
|
/third_party/mbedtls/ |
D | ChangeLog | 395 the error code returned by mbedtls_mpi_write_file() is overwritten
|