aezeed: fix typo
This commit is contained in:
1 file changed
+2
-2
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user