mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
Disabling aesni detection on OSX
This commit is contained in:
parent
08284414b0
commit
a98b9590c6
1 changed files with 7 additions and 3 deletions
|
@ -374,11 +374,15 @@ int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
uint64_t start_time = atoi(argv[3]);
|
uint64_t start_time = atoi(argv[3]);
|
||||||
|
|
||||||
const bool support_aesni = platform_aes_hw_available();
|
|
||||||
|
|
||||||
printf("Crypto algo............ " _GREEN_("%s") "\n", algostr);
|
printf("Crypto algo............ " _GREEN_("%s") "\n", algostr);
|
||||||
printf("LCR Random generator... " _GREEN_("%s") "\n", generators[g_idx].Name);
|
printf("LCR Random generator... " _GREEN_("%s") "\n", generators[g_idx].Name);
|
||||||
printf("AES-NI detected........ " _GREEN_("%s") "\n", (support_aesni) ? "yes" : "no");
|
|
||||||
|
#if defined(__APPLE__) || defined(__MACH__)
|
||||||
|
#else
|
||||||
|
bool support_aesni = platform_aes_hw_available();
|
||||||
|
printf("AES-NI detected........ " _GREEN_("%s") "\n", (support_aesni) ? "yes" : "no");
|
||||||
|
#endif
|
||||||
|
|
||||||
printf("Starting timestamp..... ");
|
printf("Starting timestamp..... ");
|
||||||
print_time(start_time);
|
print_time(start_time);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue