go: remove unused parameters

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-03-20 11:03:36 +01:00
parent 822d7823f8
commit 0036b24266
106 changed files with 320 additions and 323 deletions

View file

@ -60,12 +60,12 @@ type stubKMS struct {
deriveKeyErr error
}
func (c *stubKMS) CreateKEK(ctx context.Context, keyID string, kek []byte) error {
func (c *stubKMS) CreateKEK(_ context.Context, _ string, kek []byte) error {
c.masterKey = kek
return nil
}
func (c *stubKMS) GetDEK(ctx context.Context, dekID string, dekSize int) ([]byte, error) {
func (c *stubKMS) GetDEK(_ context.Context, _ string, _ int) ([]byte, error) {
if c.deriveKeyErr != nil {
return nil, c.deriveKeyErr
}