mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-02 02:53:09 +08:00
no printf
This commit is contained in:
parent
da3e5dff82
commit
43803947c3
1 changed files with 3 additions and 2 deletions
|
@ -71,7 +71,8 @@ static mbedtls_mpi_uint mpi_get_uint(const mbedtls_mpi *X) {
|
||||||
if (X->n == 1 && X->s > 0) {
|
if (X->n == 1 && X->s > 0) {
|
||||||
return X->p[0];
|
return X->p[0];
|
||||||
}
|
}
|
||||||
printf("ZERRRRO!!!\n");
|
|
||||||
|
PrintAndLogEx(WARNING, "ZERRRRO!!!\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -82,7 +83,7 @@ static void print_mpi(const char *msg, int radix, const mbedtls_mpi *X) {
|
||||||
size_t len = 0;
|
size_t len = 0;
|
||||||
|
|
||||||
mbedtls_mpi_write_string(X, radix, Xchar, sizeof(Xchar), &len);
|
mbedtls_mpi_write_string(X, radix, Xchar, sizeof(Xchar), &len);
|
||||||
printf("%s[%zu] %s\n", msg, len, Xchar);
|
PrintAndLogEx(INFO, "%s[%zu] %s\n", msg, len, Xchar);
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
bool emv_rocacheck(const unsigned char *buf, size_t buflen, bool verbose) {
|
bool emv_rocacheck(const unsigned char *buf, size_t buflen, bool verbose) {
|
||||||
|
|
Loading…
Reference in a new issue