Rod Hynes 8 лет назад
Родитель
Сommit
86c218881b
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      psiphon/common/osl/osl.go
  2. 1 1
      psiphon/common/osl/osl_test.go

+ 1 - 1
psiphon/common/osl/osl.go

@@ -1421,7 +1421,7 @@ func (z *zeroReader) Read(p []byte) (int, error) {
 // newSeededKeyMaterialReader constructs a CSPRNG using AES-CTR.
 // The seed is the AES key and the IV is fixed and constant.
 // Using same seed will always produce the same output stream.
-// The data stream is intended to be used to determinisically
+// The data stream is intended to be used to deterministically
 // generate key material and is not intended as a general
 // purpose CSPRNG.
 func newSeededKeyMaterialReader(seed []byte) (io.Reader, error) {

+ 1 - 1
psiphon/common/osl/osl_test.go

@@ -395,7 +395,7 @@ func TestOSL(t *testing.T) {
 			}
 
 			// Check that the content of two paves is the same: all the crypto should be
-			// deterministc.
+			// deterministic.
 
 			for index, paveFile := range paveFiles {
 				if paveFile.Name != firstPaveFiles[index].Name {