Skip to content

Commit

Permalink
c backend table encryption, kinda works assert fix
Browse files Browse the repository at this point in the history
  • Loading branch information
smurfd committed Oct 18, 2024
1 parent cdd2834 commit ed26509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lotordb/src/db_tables.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ int table_tmp(void) {
for (u64 i = 0; i < DBLENGTH; i++) {
memcpy(datatmp, dataall+i, sizeof(struct Data));
aes_gcm_decrypt(datatmp->encrypted, datatmp->encrypted, 512, key1, 32, iv1, 32);
getheaders(header, datatmp);
getheaders(header, dataall+i);
getperson(&person, datatmp);
if (person.age == 666) {
printf("found\n");
Expand Down

0 comments on commit ed26509

Please sign in to comment.