Skip to content

Commit 1e376cb

Browse files
committed
run clang-format again
1 parent 50ae535 commit 1e376cb

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/wh_nvm_flash.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,8 @@ static int nfPartition_ReadMemDirectory(whNvmFlashContext* context, int partitio
361361

362362
for(index = 0; (index < WOLFHSM_CFG_NVM_OBJECT_COUNT) && (ret == 0); index++) {
363363
ret = nfMemObject_Read(context,
364-
offset + NF_DIRECTORY_OBJECT_OFFSET(index),
365-
&directory->objects[index]);
364+
offset + NF_DIRECTORY_OBJECT_OFFSET(index),
365+
&directory->objects[index]);
366366
}
367367
return ret;
368368
}

src/wh_server_crypto.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,8 @@ static int _HandleRsaKeyGen(whServerContext* ctx, uint16_t magic,
314314
label_size, label);
315315
}
316316
#ifdef DEBUG_CRYPTOCB_VERBOSE
317-
printf("[server] RsaKeyGen CacheKeyRsa: keyId:%u, ret:%d\n",
318-
key_id, ret);
317+
printf("[server] RsaKeyGen CacheKeyRsa: keyId:%u, ret:%d\n",
318+
key_id, ret);
319319
#endif
320320
if (ret == 0) {
321321
res.keyId = WH_KEYID_ID(key_id);
@@ -763,7 +763,7 @@ static int _HandleEccKeyGen(whServerContext* ctx, uint16_t magic,
763763
}
764764
#ifdef DEBUG_CRYPTOCB
765765
printf("[server] %s CacheImport: keyId:%u, ret:%d\n", __func__,
766-
key_id, ret);
766+
key_id, ret);
767767
#endif
768768
/* TODO: RSA has the following, should we do the same? */
769769
/*
@@ -1187,8 +1187,8 @@ static int _HandleCurve25519KeyGen(whServerContext* ctx, uint16_t magic,
11871187
ctx, key, key_id, flags, label_size, label);
11881188
}
11891189
#ifdef DEBUG_CRYPTOCB
1190-
printf("[server] %s CacheImport: keyId:%u, ret:%d\n",
1191-
__func__, key_id, ret);
1190+
printf("[server] %s CacheImport: keyId:%u, ret:%d\n", __func__,
1191+
key_id, ret);
11921192
#endif
11931193
}
11941194
}
@@ -2395,7 +2395,7 @@ static int _HandleMlDsaKeyGen(whServerContext* ctx, uint16_t magic,
23952395
}
23962396
#ifdef DEBUG_CRYPTOCB
23972397
printf("[server] %s CacheImport: keyId:%u, ret:%d\n",
2398-
__func__, key_id, ret);
2398+
__func__, key_id, ret);
23992399
#endif
24002400
}
24012401
}

0 commit comments

Comments
 (0)