mirror of
https://github.com/minio/minio.git
synced 2025-11-26 04:26:12 -05:00
use argon2 with sync.Pool for better memory management (#11019)
This commit is contained in:
15
pkg/argon2/blamka_ref.go
Normal file
15
pkg/argon2/blamka_ref.go
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright 2017 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// +build !amd64 appengine gccgo
|
||||
|
||||
package argon2
|
||||
|
||||
func processBlock(out, in1, in2 *block) {
|
||||
processBlockGeneric(out, in1, in2, false)
|
||||
}
|
||||
|
||||
func processBlockXOR(out, in1, in2 *block) {
|
||||
processBlockGeneric(out, in1, in2, true)
|
||||
}
|
||||
Reference in New Issue
Block a user