- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for shared_secret (0.24 sec)
-
src/crypto/internal/hpke/hpke_test.go
t.Errorf("unexpected encapsulated key, got: %x, want %x", encap, expectedEncap) } expectedSharedSecret := mustDecodeHex(t, setup["shared_secret"]) if !bytes.Equal(context.sharedSecret, expectedSharedSecret) { t.Errorf("unexpected shared secret, got: %x, want %x", context.sharedSecret, expectedSharedSecret) } expectedKey := mustDecodeHex(t, setup["key"]) if !bytes.Equal(context.key, expectedKey) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:33:33 UTC 2024 - 4.7K bytes - Viewed (0) -
src/crypto/internal/hpke/hpke.go
eaePRK := dh.kdf.LabeledExtract(dh.suiteID[:], nil, "eae_prk", dhKey) return dh.kdf.LabeledExpand(dh.suiteID[:], eaePRK, "shared_secret", kemContext, dh.nSecret) } func (dh *dhKEM) Encap(pubRecipient *ecdh.PublicKey) (sharedSecret []byte, encapPub []byte, err error) { var privEph *ecdh.PrivateKey if testingOnlyGenerateKey != nil { privEph, err = testingOnlyGenerateKey() } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:33:33 UTC 2024 - 7K bytes - Viewed (0) -
src/crypto/internal/hpke/testdata/rfc9180-vectors.json
e1fec8a06223f33f7013e525037\npkRm: 3948cfe0ad1ddb695d780e59077195da6c56506b027329794ab02bca80815c4d\nskRm: 4612c550263fc8ad58375df3f557aac531d26850903e55a9f23f21d8534e8ac8\nenc: 37fda3567bdbd628e88668c3c8d7e97d1d1253b6d4ea6d44c150f741f1bf4431\nshared_secret: fe0e18c9f024ce43799ae393c7e8fe8fce9d218875e8227b0187c04e7d2ea1fc\nkey_schedule_context: 00725611c9d98c07c03f60095cd32d400d8347d45ed67097bbad50fc56da742d07cb6cffde367bb0565ba28bb02c90744a20f5ef37f30523526106f637abb05449\nsecret: 12fff91991e93...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:33:33 UTC 2024 - 17.2K bytes - Viewed (0) -
src/crypto/ecdh/ecdh_test.go
t.Fatal(err) } secret, err := key.ECDH(peer) if err != nil { t.Fatal(err) } if !bytes.Equal(secret, hexDecode(t, v.SharedSecret)) { t.Errorf("shared secret does not match: %x %x %s %x", secret, sha256.Sum256(secret), v.SharedSecret, sha256.Sum256(hexDecode(t, v.SharedSecret))) } }) } func hexDecode(t *testing.T, s string) []byte { b, err := hex.DecodeString(s) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 18:23:49 UTC 2024 - 18K bytes - Viewed (0) -
guava/src/com/google/common/base/Throwables.java
private static final String JAVA_LANG_ACCESS_CLASSNAME = "sun.misc.JavaLangAccess"; /** SharedSecrets class name to load using reflection */ @J2ktIncompatible @GwtIncompatible // not used by GWT emulation @VisibleForTesting static final String SHARED_SECRETS_CLASSNAME = "sun.misc.SharedSecrets"; /** Access to some fancy internal JVM internals. */ @J2ktIncompatible
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Mar 06 15:38:58 UTC 2024 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Throwables.java
private static final String JAVA_LANG_ACCESS_CLASSNAME = "sun.misc.JavaLangAccess"; /** SharedSecrets class name to load using reflection */ @J2ktIncompatible @GwtIncompatible // not used by GWT emulation @VisibleForTesting static final String SHARED_SECRETS_CLASSNAME = "sun.misc.SharedSecrets"; /** Access to some fancy internal JVM internals. */ @J2ktIncompatible
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Mar 06 15:38:58 UTC 2024 - 20.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
static Object javaLangAccess = null; static Method newStringUnsafeMethod = null; static { try { final Class<?> sharedSecretsClass = Class.forName("sun.misc.SharedSecrets"); javaLangAccess = sharedSecretsClass.getDeclaredMethod("getJavaLangAccess").invoke(null); final Class<?> javaLangAccessClass = Class.forName("sun.misc.JavaLangAccess");
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 21.7K bytes - Viewed (0)