What changed, and why it matters
This commit only reformats three lines of C code using clang-format. It moves function arguments onto a single line instead of splitting them across two lines. No logic, behavior, or security properties of the code change.
No action needed. This is a formatting-only change with no security relevance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff in src/keystore.c is purely stylistic. Three calls to rust_util_bytes_mut() had their second argument moved from a separate line to the same line as the first argument. The tokens, order of operations, and compiled output are unchanged. There is no functional or security-relevant modification.
Changed components
src/keystore.cInspect captured patch +3 / −6
diff --git a/src/keystore.c b/src/keystore.c
index 2ec5a6b..ad4bf4a 100644
--- a/src/keystore.c
+++ b/src/keystore.c
@@ -78,8 +78,7 @@ bool keystore_copy_seed(uint8_t* seed_out, size_t* length_out)
"keystore_retained_seed_access_in",
"keystore_retained_seed_access_out",
rust_util_bytes_mut(
- retained_seed_encryption_key,
- sizeof(retained_seed_encryption_key)))) {
+ retained_seed_encryption_key, sizeof(retained_seed_encryption_key)))) {
return false;
}
size_t len = _retained_seed_encrypted_len - 48;
@@ -112,8 +111,7 @@ bool keystore_copy_bip39_seed(uint8_t* bip39_seed_out)
"keystore_retained_bip39_seed_access_in",
"keystore_retained_bip39_seed_access_out",
rust_util_bytes_mut(
- retained_bip39_seed_encryption_key,
- sizeof(retained_bip39_seed_encryption_key)))) {
+ retained_bip39_seed_encryption_key, sizeof(retained_bip39_seed_encryption_key)))) {
return false;
}
size_t len = _retained_bip39_seed_encrypted_len - 48;
@@ -295,8 +293,7 @@ USE_RESULT static bool _retain_bip39_seed(const uint8_t* bip39_seed)
"keystore_retained_bip39_seed_access_in",
"keystore_retained_bip39_seed_access_out",
rust_util_bytes_mut(
- retained_bip39_seed_encryption_key,
- sizeof(retained_bip39_seed_encryption_key)))) {
+ retained_bip39_seed_encryption_key, sizeof(retained_bip39_seed_encryption_key)))) {
return false;
}
size_t len = sizeof(_retained_bip39_seed_encrypted);
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.