mirror of
https://git.mirrors.martin98.com/https://github.com/ceph/ceph-csi.git
synced 2025-07-31 01:22:00 +08:00

The new SecretsMetadataKMS provider encrypts/decrypts DEKs as they are stored in the metadata of volumes. The encryption/decryption uses golang.org/x/crypto/scrypt to generate the encryption key from a passphrase. While vendoring golang.org/x/crypto, already vendored sub-packages have been updated. Signed-off-by: Niels de Vos <ndevos@redhat.com>
13 lines
323 B
Go
13 lines
323 B
Go
// Copyright 2019 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.
|
|
|
|
//go:build !amd64 || !gc || purego
|
|
// +build !amd64 !gc purego
|
|
|
|
package curve25519
|
|
|
|
func scalarMult(out, in, base *[32]byte) {
|
|
scalarMultGeneric(out, in, base)
|
|
}
|