crypto-inventory 0.3.0: Rust detector (use-resolved names, static calls, generics, ring constants, Noise patterns), Cargo.toml manifests, BLAKE3; 44/44, negative control 21/21
This commit is contained in:
1 parent
86779c8334
commit
f2f6217b4c
16 files changed
+942
-21
No files matched your search
@@ -0,0 +1,6 @@
|
||||
// Fixtura: Rust, fara niciun `use` care sa spuna din ce crate vine SigningKey. Numele e purtat de ed25519-dalek, ml-dsa, slh-dsa,
|
||||
// p256, k256 si rsa, cu intelesuri diferite; unealta nu ghiceste, raporteaza unknown cu motivul scris.
|
||||
pub fn cheie(b: &[u8; 32]) -> Vec<u8> {
|
||||
let k = SigningKey::from_bytes(b); // EXPECT: SigningKey (crate not resolved) | unknown
|
||||
k.to_bytes().to_vec()
|
||||
}
|
||||
Reference in new issue
Block a user