This commit is contained in:
iceman1001
2026-07-03 11:22:38 +02:00
parent 2d43d4c021
commit bf082caab7
+4 -2
View File
@@ -47,8 +47,10 @@ void crypto1_init(struct Crypto1State *state, uint64_t key) {
}
void crypto1_deinit(struct Crypto1State *state) {
state->odd = 0;
state->even = 0;
if (state) {
state->odd = 0;
state->even = 0;
}
}
#if !defined(__arm__) || defined(__linux__) || defined(_WIN32) || defined(__APPLE__) // bare metal ARM Proxmark lacks calloc()/free()