summaryrefslogtreecommitdiff
path: root/libgo/go/crypto/des/block.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/crypto/des/block.go')
-rw-r--r--libgo/go/crypto/des/block.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/crypto/des/block.go b/libgo/go/crypto/des/block.go
index e18eaedf580..c11c62cd723 100644
--- a/libgo/go/crypto/des/block.go
+++ b/libgo/go/crypto/des/block.go
@@ -79,7 +79,7 @@ func ksRotate(in uint32) (out []uint32) {
}
// creates 16 56-bit subkeys from the original key
-func (c *Cipher) generateSubkeys(keyBytes []byte) {
+func (c *desCipher) generateSubkeys(keyBytes []byte) {
// apply PC1 permutation to key
key := binary.BigEndian.Uint64(keyBytes)
permutedKey := permuteBlock(key, permutedChoice1[:])