const golang.org/x/crypto/blake2b.Size
35 uses
golang.org/x/crypto/blake2b (current package)
blake2b.go#L31: Size = 64
blake2b.go#L55: func Sum512(data []byte) [Size]byte {
blake2b.go#L56: var sum [Size]byte
blake2b.go#L57: checkSum(&sum, Size, data)
blake2b.go#L63: var sum [Size]byte
blake2b.go#L72: var sum [Size]byte
blake2b.go#L81: func New512(key []byte) (hash.Hash, error) { return newDigest(Size, key) }
blake2b.go#L102: if hashSize < 1 || hashSize > Size {
blake2b.go#L105: if len(key) > Size {
blake2b.go#L117: func checkSum(sum *[Size]byte, hashSize int, data []byte) {
blake2b.go#L247: var hash [Size]byte
blake2b.go#L252: func (d *digest) finalize(hash *[Size]byte) {
blake2x.go#L51: if len(key) > Size {
blake2x.go#L64: size: Size,
blake2x.go#L78: cfg, root, block [Size]byte
blake2x.go#L97: x.cfg[0] = byte(Size)
blake2x.go#L98: binary.LittleEndian.PutUint32(x.cfg[4:], uint32(Size)) // leaf length
blake2x.go#L100: x.cfg[17] = byte(Size) // inner hash size
blake2x.go#L130: blockRemaining := Size - x.offset
blake2x.go#L142: for len(p) >= Size {
blake2x.go#L151: p = p[Size:]
blake2x.go#L152: x.remaining -= uint64(Size)
blake2x.go#L156: if x.remaining < uint64(Size) {
blake2x.go#L172: func (d *digest) initConfig(cfg *[Size]byte) {
golang.org/x/crypto/argon2
argon2.go#L125: func initHash(password, salt, key, data []byte, time, memory, threads, keyLen uint32, mode int) [blake2b.Size + 8]byte {
argon2.go#L127: h0 [blake2b.Size + 8]byte
argon2.go#L156: func initBlocks(h0 *[blake2b.Size + 8]byte, memory, threads uint32) []block {
argon2.go#L161: binary.LittleEndian.PutUint32(h0[blake2b.Size+4:], lane)
argon2.go#L163: binary.LittleEndian.PutUint32(h0[blake2b.Size:], 0)
argon2.go#L169: binary.LittleEndian.PutUint32(h0[blake2b.Size:], 1)
blake2b.go#L18: if n := len(out); n < blake2b.Size {
blake2b.go#L24: var buffer [blake2b.Size]byte
blake2b.go#L29: if len(out) <= blake2b.Size {
blake2b.go#L39: for len(out) > blake2b.Size {
blake2b.go#L47: if outLen%blake2b.Size > 0 { // outLen > 64