From cef1f21a34bd6855b5b4b6d5e93154a37d45c83a Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 9 Mar 2020 17:09:41 +0100 Subject: [PATCH] style --- common/cardhelper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/cardhelper.c b/common/cardhelper.c index 93e361f60..5cebf4322 100644 --- a/common/cardhelper.c +++ b/common/cardhelper.c @@ -29,7 +29,7 @@ bool IsCryptoHelperPresent(void) { uint8_t resp[20] = {0}; ExchangeAPDUSC(true, version, sizeof(version), true, true, resp, sizeof(resp), &resp_len); - if (strstr("CryptoHelper", (char*)resp) == 0) { + if (strstr("CryptoHelper", (char *)resp) == 0) { PrintAndLogEx(INFO, "Found smart card helper"); return true; } else { @@ -56,11 +56,11 @@ static bool executeCrypto(uint8_t ins, uint8_t *src, uint8_t *dest) { return false; } -bool Decrypt(uint8_t *src, uint8_t *dest){ +bool Decrypt(uint8_t *src, uint8_t *dest) { return executeCrypto(CARD_INS_DECRYPT, src, dest); } -bool Encrypt(uint8_t *src, uint8_t *dest){ +bool Encrypt(uint8_t *src, uint8_t *dest) { return executeCrypto(CARD_INS_ENCRYPT, src, dest); }