aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/key_store_passphrase.go
diff options
context:
space:
mode:
authorGustav Simonsson <gustav.simonsson@gmail.com>2015-01-22 02:08:05 +0800
committerGustav Simonsson <gustav.simonsson@gmail.com>2015-01-22 02:08:05 +0800
commit8af42d42da1d428025622d3b76982798ec9436bd (patch)
treea8086c08c910666a8deeb9773c9ce4e4c7f1f34b /crypto/key_store_passphrase.go
parent1f8290ca44df31cc4c4b68b30eef412476ed24e0 (diff)
downloaddexon-8af42d42da1d428025622d3b76982798ec9436bd.tar
dexon-8af42d42da1d428025622d3b76982798ec9436bd.tar.gz
dexon-8af42d42da1d428025622d3b76982798ec9436bd.tar.bz2
dexon-8af42d42da1d428025622d3b76982798ec9436bd.tar.lz
dexon-8af42d42da1d428025622d3b76982798ec9436bd.tar.xz
dexon-8af42d42da1d428025622d3b76982798ec9436bd.tar.zst
dexon-8af42d42da1d428025622d3b76982798ec9436bd.zip
CamelCase aesCBCDecrypt
Diffstat (limited to 'crypto/key_store_passphrase.go')
-rw-r--r--crypto/key_store_passphrase.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/key_store_passphrase.go b/crypto/key_store_passphrase.go
index 913b68498..80bf49d68 100644
--- a/crypto/key_store_passphrase.go
+++ b/crypto/key_store_passphrase.go
@@ -178,7 +178,7 @@ func DecryptKey(ks keyStorePassphrase, keyId *uuid.UUID, auth string) (keyBytes
if err != nil {
return nil, err
}
- plainText, err := aes_cbc_decrypt(derivedKey, cipherText, iv)
+ plainText, err := aesCBCDecrypt(derivedKey, cipherText, iv)
if err != nil {
return nil, err
}