github.com/Bytom/bytom@v1.1.2-0.20210127130405-ae40204c0b09/crypto/scrypt/smix.go (about)

     1  package scrypt
     2  
     3  // Smix create tensority cache
     4  // Some value is fixed: r = 1, N = 1024.
     5  func Smix(b []byte, v []uint32) {
     6  	xy := make([]uint32, 64)
     7  	smix(b, 1, 1024, v, xy)
     8  }