- Sort Score
- Result 10 results
- Languages All
Results 51 - 56 of 56 for expectedly (0.08 sec)
-
src/crypto/tls/key_schedule.go
} out := make([]byte, length) n, err := hkdf.Expand(c.hash.New, secret, hkdfLabelBytes).Read(out) if err != nil || n != length { panic("tls: HKDF-Expand-Label invocation failed unexpectedly") } return out } // deriveSecret implements Derive-Secret from RFC 8446, Section 7.1. func (c *cipherSuiteTLS13) deriveSecret(secret []byte, label string, transcript hash.Hash) []byte { if transcript == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 14:56:25 UTC 2024 - 6.5K bytes - Viewed (0) -
src/crypto/internal/hpke/hpke.go
labeledInfo = append(labeledInfo, info...) out := make([]byte, length) n, err := hkdf.Expand(kdf.hash.New, randomKey, labeledInfo).Read(out) if err != nil || n != int(length) { panic("hpke: LabeledExpand failed unexpectedly") } return out } // dhKEM implements the KEM specified in RFC 9180, Section 4.1. type dhKEM struct { dh ecdh.Curve kdf hkdfKDF suiteID []byte nSecret uint16 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:33:33 UTC 2024 - 7K bytes - Viewed (0) -
tests/integration/pilot/vm_test.go
t.Fatalf("WorkloadEntry was cleaned up unexpectedly") } currentPilot := entries[0].Annotations[annotation.IoIstioWorkloadController.Name] if currentPilot == initialPilot || !strings.HasPrefix(currentPilot, "istiod-") { disconnectProxy(t, currentPilot, autoVM) return errors.New("expected WorkloadEntry to be updated by other pilot") } return nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 7.4K bytes - Viewed (0) -
pkg/registry/storage/csinode/strategy_test.go
ctx := genericapirequest.WithRequestInfo(genericapirequest.NewContext(), &genericapirequest.RequestInfo{ APIGroup: "storage.k8s.io", APIVersion: "v1beta1", Resource: "csinodes", }) Strategy.PrepareForCreate(ctx, obj) if !reflect.DeepEqual(*expected, *obj) { t.Errorf("Object mismatch! Expected:\n%#v\ngot:\n%#v", *expected, *obj) } } func TestPrepareForUpdate(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 09:24:44 UTC 2024 - 8.7K bytes - Viewed (0) -
src/crypto/internal/edwards25519/edwards25519_test.go
if got := hex.EncodeToString(B.x.Bytes()); got != x { t.Errorf("wrong B.x: got %s, expected %s", got, x) } if got := hex.EncodeToString(B.y.Bytes()); got != y { t.Errorf("wrong B.y: got %s, expected %s", got, y) } if B.z.Equal(feOne) != 1 { t.Errorf("wrong B.z: got %v, expected 1", B.z) } // Check that t is correct. checkOnCurve(t, B) } func TestAddSubNegOnBasePoint(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 10 18:45:00 UTC 2022 - 9.3K bytes - Viewed (0) -
src/runtime/crash_unix_test.go
if err == nil { t.Error("test program succeeded unexpectedly") } else if ee, ok := err.(*exec.ExitError); !ok { t.Errorf("error (%v) has type %T; expected exec.ExitError", err, err) } else if ws, ok := ee.Sys().(syscall.WaitStatus); !ok { t.Errorf("error.Sys (%v) has type %T; expected syscall.WaitStatus", ee.Sys(), ee.Sys()) } else if !ws.Signaled() || ws.Signal() != syscall.SIGTERM {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 20:11:47 UTC 2023 - 9.2K bytes - Viewed (0)