Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewEarlySecret (0.08 sec)

  1. lib/fips140/v1.0.0-c2097c7c.zip

    0x0c, 0x0d, 0x0e, 0x0f, 0x10, } want := []byte{ 0x78, 0x20, 0x71, 0x75, 0x52, 0xfd, 0x47, 0x67, 0xe1, 0x07, 0x5c, 0x83, 0x74, 0x2e, 0x49, 0x43, 0xf7, 0xe3, 0x08, 0x6a, 0x2a, 0xcb, 0x96, 0xc7, 0xa3, 0x1f, 0xe3, 0x23, 0x56, 0x6e, 0x14, 0x5b, } es := NewEarlySecret(sha256.New, nil) hs := es.HandshakeSecret(nil) ms := hs.MasterSecret() transcript := sha256.New() transcript.Write(input) if got := ms.ResumptionMasterSecr(transcript); !bytes.Equal(got, want) { return errors.New("unexpected result") } return...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Sep 25 19:53:19 UTC 2025
    - 642.7K bytes
    - Viewed (0)
  2. lib/fips140/v1.1.0-rc1.zip

    0x0c, 0x0d, 0x0e, 0x0f, 0x10, } want := []byte{ 0x78, 0x20, 0x71, 0x75, 0x52, 0xfd, 0x47, 0x67, 0xe1, 0x07, 0x5c, 0x83, 0x74, 0x2e, 0x49, 0x43, 0xf7, 0xe3, 0x08, 0x6a, 0x2a, 0xcb, 0x96, 0xc7, 0xa3, 0x1f, 0xe3, 0x23, 0x56, 0x6e, 0x14, 0x5b, } es := NewEarlySecret(sha256.New, nil) hs := es.HandshakeSecret(nil) ms := hs.MasterSecret() transcript := sha256.New() transcript.Write(input) if got := ms.ResumptionMasterSecr(transcript); !bytes.Equal(got, want) { return errors.New("unexpected result") } return...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 16:27:41 UTC 2025
    - 663K bytes
    - Viewed (0)
Back to top