aezeed: fix typo

This commit is contained in:
yyforyongyu committed 2020-12-04 23:07:53 +08:00
1 parent e3a6cd8412
commit 5c5fc732e5
1 file changed
+2 -2
+2 -2
View File
@@ -114,7 +114,7 @@ var (
// computing our checksum. // computing our checksum.
crcTable = crc32.MakeTable(crc32.Castagnoli) crcTable = crc32.MakeTable(crc32.Castagnoli)
// defaultPassphras is the default passphrase that will be used for // defaultPassphrase is the default passphrase that will be used for
// encryption in the case that the user chooses not to specify their // encryption in the case that the user chooses not to specify their
// own passphrase. // own passphrase.
defaultPassphrase = []byte("aezeed") defaultPassphrase = []byte("aezeed")
@@ -262,7 +262,7 @@ func encodeAD(version uint8, salt [saltSize]byte) [adSize]byte {
} }
// extractAD extracts an associated data from a fully encoded and enciphered // extractAD extracts an associated data from a fully encoded and enciphered
// cipher seed. This is to be used when attempting to decrypt an enciphered // cipher seed. This is to be used when attempting to decrypt an enciphered
// cipher seed. // cipher seed.
func extractAD(encipheredSeed [EncipheredCipherSeedSize]byte) [adSize]byte { func extractAD(encipheredSeed [EncipheredCipherSeedSize]byte) [adSize]byte {
var ad [adSize]byte var ad [adSize]byte