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