Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for exporterSecret (0.22 sec)

  1. src/crypto/internal/hpke/hpke.go

    		kem:            kem,
    		aead:           aead,
    		sharedSecret:   sharedSecret,
    		suiteID:        suiteID,
    		key:            key,
    		baseNonce:      baseNonce,
    		exporterSecret: exporterSecret,
    	}, nil
    }
    
    func (s *Sender) nextNonce() []byte {
    	nonce := s.seqNum.bytes()[16-s.aead.NonceSize():]
    	for i := range s.baseNonce {
    		nonce[i] ^= s.baseNonce[i]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. src/crypto/internal/hpke/hpke_test.go

    			}
    			expectedExporterSecret := mustDecodeHex(t, setup["exporter_secret"])
    			if !bytes.Equal(context.exporterSecret, expectedExporterSecret) {
    				t.Errorf("unexpected exporter secret, got: %x, want %x", context.exporterSecret, expectedExporterSecret)
    			}
    
    			for _, enc := range parseVectorEncryptions(vector.Encryptions) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top