crypto-inventory 0.3.0 and the control-plane planner after the second run on a tree that is not ours (libsignal): BoringSSL, Noise hfs, libcrux Kyber, the libsignal Java/Node API; self-signed trust anchors are blocked, test code is LOW with its own scope
This commit is contained in:
1 parent
42b049ef04
commit
e453c0c42d
35 files changed
+675
-51
No files matched your search
@@ -0,0 +1,15 @@
|
||||
// Fixtura negativa: aceleasi nume scurte ca in API-ul libsignal (ECKeyPair.generate, HKDF.deriveSecrets, new Aes256GcmSiv), dar FARA
|
||||
// importul org.signal.libsignal: nu sunt libsignal, deci nu produc nicio gasire. Fisierul nu se compileaza; e doar text pentru scaner.
|
||||
package fixturi;
|
||||
|
||||
import com.exemplu.chei.ECKeyPair;
|
||||
import com.exemplu.kdf.HKDF;
|
||||
import com.exemplu.cifru.Aes256GcmSiv;
|
||||
|
||||
public class FaraLibsignal {
|
||||
public Object exemple(byte[] key, byte[] ikm) {
|
||||
ECKeyPair ec = ECKeyPair.generate();
|
||||
byte[] okm = HKDF.deriveSecrets(ikm, "info".getBytes(), 32);
|
||||
return new Aes256GcmSiv(key);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user