signer/storage: fix typos

This commit is contained in:
Martin Holst Swende 2018-09-25 11:14:13 +02:00
parent ebe46a48f3
commit 433fb67cc4
No known key found for this signature in database
GPG key ID: 683B438C05A5DDF0

View file

@ -129,7 +129,7 @@ func (s *AESEncryptedStorage) writeEncryptedStorage(creds map[string]storedCrede
return nil
}
// encrypt encrypts plaingtext with the given key, with additionaldata
// encrypt encrypts plaintext with the given key, with additional data
// The 'additionalData' is used to place the (plaintext) KV-store key into the V,
// to prevent the possibility to alter a K, or swap two entries in the KV store with eachother.
func encrypt(key []byte, plaintext []byte, additionalData []byte) ([]byte, []byte, error) {