├── .gitattributes ├── .gitignore ├── .travis.yml ├── AUTHORS ├── CONTRIBUTING.md ├── CONTRIBUTORS ├── LICENSE ├── PATENTS ├── README ├── bcrypt ├── base64.go ├── bcrypt.go └── bcrypt_test.go ├── blowfish ├── block.go ├── blowfish_test.go ├── cipher.go └── const.go ├── bn256 ├── bn256.go ├── bn256_test.go ├── constants.go ├── curve.go ├── example_test.go ├── gfp12.go ├── gfp2.go ├── gfp6.go ├── optate.go └── twist.go ├── brainpool ├── brainpool.go ├── brainpool_test.go └── rcurve.go ├── cast5 ├── cast5.go └── cast5_test.go ├── codereview.cfg ├── curve25519 ├── const_amd64.h ├── const_amd64.s ├── cswap_amd64.s ├── curve25519.go ├── curve25519_test.go ├── curve_impl.go ├── doc.go ├── freeze_amd64.s ├── ladderstep_amd64.s ├── mont25519_amd64.go ├── mul_amd64.s └── square_amd64.s ├── ed25519 ├── ed25519.go ├── ed25519_test.go ├── internal │ └── edwards25519 │ │ ├── const.go │ │ └── edwards25519.go └── testdata │ └── sign.input.gz ├── hkdf ├── example_test.go ├── hkdf.go └── hkdf_test.go ├── md4 ├── md4.go ├── md4_test.go └── md4block.go ├── nacl ├── box │ ├── box.go │ └── box_test.go └── secretbox │ ├── secretbox.go │ └── secretbox_test.go ├── ocsp ├── ocsp.go └── ocsp_test.go ├── openpgp ├── armor │ ├── armor.go │ ├── armor_test.go │ └── encode.go ├── bad_elgamal_test.go ├── brainpool_test.go ├── canonical_text.go ├── canonical_text_test.go ├── clearsign │ ├── clearsign.go │ └── clearsign_test.go ├── cross_signature_test.go ├── ecdh │ └── ecdh.go ├── ecdh_test.go ├── eddsa_test.go ├── elgamal │ ├── elgamal.go │ └── elgamal_test.go ├── errors │ └── errors.go ├── keys.go ├── keys_data_test.go ├── keys_test.go ├── nested_sig_test.go ├── packet │ ├── compressed.go │ ├── compressed_test.go │ ├── config.go │ ├── ecdh.go │ ├── encrypted_key.go │ ├── encrypted_key_test.go │ ├── literal.go │ ├── ocfb.go │ ├── ocfb_test.go │ ├── one_pass_signature.go │ ├── opaque.go │ ├── opaque_test.go │ ├── packet.go │ ├── packet_test.go │ ├── private_key.go │ ├── private_key_test.go │ ├── public_key.go │ ├── public_key_test.go │ ├── public_key_v3.go │ ├── public_key_v3_test.go │ ├── reader.go │ ├── signature.go │ ├── signature_test.go │ ├── signature_v3.go │ ├── signature_v3_test.go │ ├── symmetric_key_encrypted.go │ ├── symmetric_key_encrypted_test.go │ ├── symmetrically_encrypted.go │ ├── symmetrically_encrypted_test.go │ ├── userattribute.go │ ├── userattribute_test.go │ ├── userid.go │ └── userid_test.go ├── patch.sh ├── read.go ├── read_test.go ├── revoke_test.go ├── s2k │ ├── s2k.go │ └── s2k_test.go ├── sig-v3.patch ├── subkey_multiple_sigs_test.go ├── testdata │ ├── brainpoolP256r1.asc │ ├── brainpoolP256r1.pgp │ ├── brainpoolP384r1.asc │ ├── brainpoolP384r1.pgp │ ├── brainpoolP512r1.asc │ └── brainpoolP512r1.pgp ├── write.go └── write_test.go ├── otr ├── libotr_test_helper.c ├── otr.go ├── otr_test.go └── smp.go ├── pbkdf2 ├── pbkdf2.go └── pbkdf2_test.go ├── pkcs12 ├── bmp-string.go ├── bmp-string_test.go ├── crypto.go ├── crypto_test.go ├── errors.go ├── internal │ └── rc2 │ │ ├── bench_test.go │ │ ├── rc2.go │ │ └── rc2_test.go ├── mac.go ├── mac_test.go ├── pbkdf.go ├── pbkdf_test.go ├── pkcs12.go ├── pkcs12_test.go └── safebags.go ├── poly1305 ├── const_amd64.s ├── poly1305.go ├── poly1305_amd64.s ├── poly1305_arm.s ├── poly1305_test.go ├── sum_amd64.go ├── sum_arm.go └── sum_ref.go ├── ripemd160 ├── ripemd160.go ├── ripemd160_test.go └── ripemd160block.go ├── rsa ├── example_test.go ├── pkcs1v15.go ├── pkcs1v15_test.go ├── pss.go ├── pss_test.go ├── rsa.go ├── rsa_test.go └── testdata │ └── pss-vect.txt.bz2 ├── salsa20 ├── salsa │ ├── hsalsa20.go │ ├── salsa2020_amd64.s │ ├── salsa208.go │ ├── salsa20_amd64.go │ ├── salsa20_ref.go │ └── salsa_test.go ├── salsa20.go └── salsa20_test.go ├── scrypt ├── scrypt.go └── scrypt_test.go ├── sha3 ├── doc.go ├── hashes.go ├── keccakf.go ├── register.go ├── sha3.go ├── sha3_test.go ├── shake.go ├── testdata │ └── keccakKats.json.deflate ├── xor.go ├── xor_generic.go └── xor_unaligned.go ├── ssh └── terminal │ ├── terminal.go │ ├── terminal_test.go │ ├── util.go │ ├── util_aix.go │ ├── util_bsd.go │ ├── util_linux.go │ ├── util_plan9.go │ ├── util_solaris.go │ └── util_windows.go ├── tea ├── cipher.go └── tea_test.go ├── twofish ├── twofish.go └── twofish_test.go ├── xtea ├── block.go ├── cipher.go └── xtea_test.go └── xts ├── xts.go └── xts_test.go /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/.travis.yml -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/AUTHORS -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /CONTRIBUTORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/CONTRIBUTORS -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/LICENSE -------------------------------------------------------------------------------- /PATENTS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/PATENTS -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/README -------------------------------------------------------------------------------- /bcrypt/base64.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/bcrypt/base64.go -------------------------------------------------------------------------------- /bcrypt/bcrypt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/bcrypt/bcrypt.go -------------------------------------------------------------------------------- /bcrypt/bcrypt_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/bcrypt/bcrypt_test.go -------------------------------------------------------------------------------- /blowfish/block.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/blowfish/block.go -------------------------------------------------------------------------------- /blowfish/blowfish_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/blowfish/blowfish_test.go -------------------------------------------------------------------------------- /blowfish/cipher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/blowfish/cipher.go -------------------------------------------------------------------------------- /blowfish/const.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/blowfish/const.go -------------------------------------------------------------------------------- /bn256/bn256.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/bn256/bn256.go -------------------------------------------------------------------------------- /bn256/bn256_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/bn256/bn256_test.go -------------------------------------------------------------------------------- /bn256/constants.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/bn256/constants.go -------------------------------------------------------------------------------- /bn256/curve.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/bn256/curve.go -------------------------------------------------------------------------------- /bn256/example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/bn256/example_test.go -------------------------------------------------------------------------------- /bn256/gfp12.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/bn256/gfp12.go -------------------------------------------------------------------------------- /bn256/gfp2.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/bn256/gfp2.go -------------------------------------------------------------------------------- /bn256/gfp6.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/bn256/gfp6.go -------------------------------------------------------------------------------- /bn256/optate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/bn256/optate.go -------------------------------------------------------------------------------- /bn256/twist.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/bn256/twist.go -------------------------------------------------------------------------------- /brainpool/brainpool.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/brainpool/brainpool.go -------------------------------------------------------------------------------- /brainpool/brainpool_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/brainpool/brainpool_test.go -------------------------------------------------------------------------------- /brainpool/rcurve.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/brainpool/rcurve.go -------------------------------------------------------------------------------- /cast5/cast5.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/cast5/cast5.go -------------------------------------------------------------------------------- /cast5/cast5_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/cast5/cast5_test.go -------------------------------------------------------------------------------- /codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /curve25519/const_amd64.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/curve25519/const_amd64.h -------------------------------------------------------------------------------- /curve25519/const_amd64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/curve25519/const_amd64.s -------------------------------------------------------------------------------- /curve25519/cswap_amd64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/curve25519/cswap_amd64.s -------------------------------------------------------------------------------- /curve25519/curve25519.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/curve25519/curve25519.go -------------------------------------------------------------------------------- /curve25519/curve25519_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/curve25519/curve25519_test.go -------------------------------------------------------------------------------- /curve25519/curve_impl.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/curve25519/curve_impl.go -------------------------------------------------------------------------------- /curve25519/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/curve25519/doc.go -------------------------------------------------------------------------------- /curve25519/freeze_amd64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/curve25519/freeze_amd64.s -------------------------------------------------------------------------------- /curve25519/ladderstep_amd64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/curve25519/ladderstep_amd64.s -------------------------------------------------------------------------------- /curve25519/mont25519_amd64.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/curve25519/mont25519_amd64.go -------------------------------------------------------------------------------- /curve25519/mul_amd64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/curve25519/mul_amd64.s -------------------------------------------------------------------------------- /curve25519/square_amd64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/curve25519/square_amd64.s -------------------------------------------------------------------------------- /ed25519/ed25519.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/ed25519/ed25519.go -------------------------------------------------------------------------------- /ed25519/ed25519_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/ed25519/ed25519_test.go -------------------------------------------------------------------------------- /ed25519/internal/edwards25519/const.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/ed25519/internal/edwards25519/const.go -------------------------------------------------------------------------------- /ed25519/internal/edwards25519/edwards25519.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/ed25519/internal/edwards25519/edwards25519.go -------------------------------------------------------------------------------- /ed25519/testdata/sign.input.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/ed25519/testdata/sign.input.gz -------------------------------------------------------------------------------- /hkdf/example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/hkdf/example_test.go -------------------------------------------------------------------------------- /hkdf/hkdf.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/hkdf/hkdf.go -------------------------------------------------------------------------------- /hkdf/hkdf_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/hkdf/hkdf_test.go -------------------------------------------------------------------------------- /md4/md4.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/md4/md4.go -------------------------------------------------------------------------------- /md4/md4_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/md4/md4_test.go -------------------------------------------------------------------------------- /md4/md4block.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/md4/md4block.go -------------------------------------------------------------------------------- /nacl/box/box.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/nacl/box/box.go -------------------------------------------------------------------------------- /nacl/box/box_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/nacl/box/box_test.go -------------------------------------------------------------------------------- /nacl/secretbox/secretbox.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/nacl/secretbox/secretbox.go -------------------------------------------------------------------------------- /nacl/secretbox/secretbox_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/nacl/secretbox/secretbox_test.go -------------------------------------------------------------------------------- /ocsp/ocsp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/ocsp/ocsp.go -------------------------------------------------------------------------------- /ocsp/ocsp_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/ocsp/ocsp_test.go -------------------------------------------------------------------------------- /openpgp/armor/armor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/armor/armor.go -------------------------------------------------------------------------------- /openpgp/armor/armor_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/armor/armor_test.go -------------------------------------------------------------------------------- /openpgp/armor/encode.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/armor/encode.go -------------------------------------------------------------------------------- /openpgp/bad_elgamal_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/bad_elgamal_test.go -------------------------------------------------------------------------------- /openpgp/brainpool_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/brainpool_test.go -------------------------------------------------------------------------------- /openpgp/canonical_text.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/canonical_text.go -------------------------------------------------------------------------------- /openpgp/canonical_text_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/canonical_text_test.go -------------------------------------------------------------------------------- /openpgp/clearsign/clearsign.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/clearsign/clearsign.go -------------------------------------------------------------------------------- /openpgp/clearsign/clearsign_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/clearsign/clearsign_test.go -------------------------------------------------------------------------------- /openpgp/cross_signature_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/cross_signature_test.go -------------------------------------------------------------------------------- /openpgp/ecdh/ecdh.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/ecdh/ecdh.go -------------------------------------------------------------------------------- /openpgp/ecdh_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/ecdh_test.go -------------------------------------------------------------------------------- /openpgp/eddsa_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/eddsa_test.go -------------------------------------------------------------------------------- /openpgp/elgamal/elgamal.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/elgamal/elgamal.go -------------------------------------------------------------------------------- /openpgp/elgamal/elgamal_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/elgamal/elgamal_test.go -------------------------------------------------------------------------------- /openpgp/errors/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/errors/errors.go -------------------------------------------------------------------------------- /openpgp/keys.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/keys.go -------------------------------------------------------------------------------- /openpgp/keys_data_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/keys_data_test.go -------------------------------------------------------------------------------- /openpgp/keys_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/keys_test.go -------------------------------------------------------------------------------- /openpgp/nested_sig_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/nested_sig_test.go -------------------------------------------------------------------------------- /openpgp/packet/compressed.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/compressed.go -------------------------------------------------------------------------------- /openpgp/packet/compressed_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/compressed_test.go -------------------------------------------------------------------------------- /openpgp/packet/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/config.go -------------------------------------------------------------------------------- /openpgp/packet/ecdh.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/ecdh.go -------------------------------------------------------------------------------- /openpgp/packet/encrypted_key.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/encrypted_key.go -------------------------------------------------------------------------------- /openpgp/packet/encrypted_key_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/encrypted_key_test.go -------------------------------------------------------------------------------- /openpgp/packet/literal.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/literal.go -------------------------------------------------------------------------------- /openpgp/packet/ocfb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/ocfb.go -------------------------------------------------------------------------------- /openpgp/packet/ocfb_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/ocfb_test.go -------------------------------------------------------------------------------- /openpgp/packet/one_pass_signature.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/one_pass_signature.go -------------------------------------------------------------------------------- /openpgp/packet/opaque.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/opaque.go -------------------------------------------------------------------------------- /openpgp/packet/opaque_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/opaque_test.go -------------------------------------------------------------------------------- /openpgp/packet/packet.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/packet.go -------------------------------------------------------------------------------- /openpgp/packet/packet_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/packet_test.go -------------------------------------------------------------------------------- /openpgp/packet/private_key.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/private_key.go -------------------------------------------------------------------------------- /openpgp/packet/private_key_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/private_key_test.go -------------------------------------------------------------------------------- /openpgp/packet/public_key.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/public_key.go -------------------------------------------------------------------------------- /openpgp/packet/public_key_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/public_key_test.go -------------------------------------------------------------------------------- /openpgp/packet/public_key_v3.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/public_key_v3.go -------------------------------------------------------------------------------- /openpgp/packet/public_key_v3_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/public_key_v3_test.go -------------------------------------------------------------------------------- /openpgp/packet/reader.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/reader.go -------------------------------------------------------------------------------- /openpgp/packet/signature.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/signature.go -------------------------------------------------------------------------------- /openpgp/packet/signature_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/signature_test.go -------------------------------------------------------------------------------- /openpgp/packet/signature_v3.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/signature_v3.go -------------------------------------------------------------------------------- /openpgp/packet/signature_v3_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/signature_v3_test.go -------------------------------------------------------------------------------- /openpgp/packet/symmetric_key_encrypted.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/symmetric_key_encrypted.go -------------------------------------------------------------------------------- /openpgp/packet/symmetric_key_encrypted_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/symmetric_key_encrypted_test.go -------------------------------------------------------------------------------- /openpgp/packet/symmetrically_encrypted.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/symmetrically_encrypted.go -------------------------------------------------------------------------------- /openpgp/packet/symmetrically_encrypted_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/symmetrically_encrypted_test.go -------------------------------------------------------------------------------- /openpgp/packet/userattribute.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/userattribute.go -------------------------------------------------------------------------------- /openpgp/packet/userattribute_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/userattribute_test.go -------------------------------------------------------------------------------- /openpgp/packet/userid.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/userid.go -------------------------------------------------------------------------------- /openpgp/packet/userid_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/packet/userid_test.go -------------------------------------------------------------------------------- /openpgp/patch.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/patch.sh -------------------------------------------------------------------------------- /openpgp/read.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/read.go -------------------------------------------------------------------------------- /openpgp/read_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/read_test.go -------------------------------------------------------------------------------- /openpgp/revoke_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/revoke_test.go -------------------------------------------------------------------------------- /openpgp/s2k/s2k.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/s2k/s2k.go -------------------------------------------------------------------------------- /openpgp/s2k/s2k_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/s2k/s2k_test.go -------------------------------------------------------------------------------- /openpgp/sig-v3.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/sig-v3.patch -------------------------------------------------------------------------------- /openpgp/subkey_multiple_sigs_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/subkey_multiple_sigs_test.go -------------------------------------------------------------------------------- /openpgp/testdata/brainpoolP256r1.asc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/testdata/brainpoolP256r1.asc -------------------------------------------------------------------------------- /openpgp/testdata/brainpoolP256r1.pgp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/testdata/brainpoolP256r1.pgp -------------------------------------------------------------------------------- /openpgp/testdata/brainpoolP384r1.asc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/testdata/brainpoolP384r1.asc -------------------------------------------------------------------------------- /openpgp/testdata/brainpoolP384r1.pgp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/testdata/brainpoolP384r1.pgp -------------------------------------------------------------------------------- /openpgp/testdata/brainpoolP512r1.asc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/testdata/brainpoolP512r1.asc -------------------------------------------------------------------------------- /openpgp/testdata/brainpoolP512r1.pgp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/testdata/brainpoolP512r1.pgp -------------------------------------------------------------------------------- /openpgp/write.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/write.go -------------------------------------------------------------------------------- /openpgp/write_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/openpgp/write_test.go -------------------------------------------------------------------------------- /otr/libotr_test_helper.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/otr/libotr_test_helper.c -------------------------------------------------------------------------------- /otr/otr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/otr/otr.go -------------------------------------------------------------------------------- /otr/otr_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/otr/otr_test.go -------------------------------------------------------------------------------- /otr/smp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/otr/smp.go -------------------------------------------------------------------------------- /pbkdf2/pbkdf2.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/pbkdf2/pbkdf2.go -------------------------------------------------------------------------------- /pbkdf2/pbkdf2_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/pbkdf2/pbkdf2_test.go -------------------------------------------------------------------------------- /pkcs12/bmp-string.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/pkcs12/bmp-string.go -------------------------------------------------------------------------------- /pkcs12/bmp-string_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/pkcs12/bmp-string_test.go -------------------------------------------------------------------------------- /pkcs12/crypto.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/pkcs12/crypto.go -------------------------------------------------------------------------------- /pkcs12/crypto_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/pkcs12/crypto_test.go -------------------------------------------------------------------------------- /pkcs12/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/pkcs12/errors.go -------------------------------------------------------------------------------- /pkcs12/internal/rc2/bench_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/pkcs12/internal/rc2/bench_test.go -------------------------------------------------------------------------------- /pkcs12/internal/rc2/rc2.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/pkcs12/internal/rc2/rc2.go -------------------------------------------------------------------------------- /pkcs12/internal/rc2/rc2_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/pkcs12/internal/rc2/rc2_test.go -------------------------------------------------------------------------------- /pkcs12/mac.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/pkcs12/mac.go -------------------------------------------------------------------------------- /pkcs12/mac_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/pkcs12/mac_test.go -------------------------------------------------------------------------------- /pkcs12/pbkdf.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/pkcs12/pbkdf.go -------------------------------------------------------------------------------- /pkcs12/pbkdf_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/pkcs12/pbkdf_test.go -------------------------------------------------------------------------------- /pkcs12/pkcs12.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/pkcs12/pkcs12.go -------------------------------------------------------------------------------- /pkcs12/pkcs12_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/pkcs12/pkcs12_test.go -------------------------------------------------------------------------------- /pkcs12/safebags.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/pkcs12/safebags.go -------------------------------------------------------------------------------- /poly1305/const_amd64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/poly1305/const_amd64.s -------------------------------------------------------------------------------- /poly1305/poly1305.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/poly1305/poly1305.go -------------------------------------------------------------------------------- /poly1305/poly1305_amd64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/poly1305/poly1305_amd64.s -------------------------------------------------------------------------------- /poly1305/poly1305_arm.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/poly1305/poly1305_arm.s -------------------------------------------------------------------------------- /poly1305/poly1305_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/poly1305/poly1305_test.go -------------------------------------------------------------------------------- /poly1305/sum_amd64.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/poly1305/sum_amd64.go -------------------------------------------------------------------------------- /poly1305/sum_arm.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/poly1305/sum_arm.go -------------------------------------------------------------------------------- /poly1305/sum_ref.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/poly1305/sum_ref.go -------------------------------------------------------------------------------- /ripemd160/ripemd160.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/ripemd160/ripemd160.go -------------------------------------------------------------------------------- /ripemd160/ripemd160_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/ripemd160/ripemd160_test.go -------------------------------------------------------------------------------- /ripemd160/ripemd160block.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/ripemd160/ripemd160block.go -------------------------------------------------------------------------------- /rsa/example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/rsa/example_test.go -------------------------------------------------------------------------------- /rsa/pkcs1v15.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/rsa/pkcs1v15.go -------------------------------------------------------------------------------- /rsa/pkcs1v15_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/rsa/pkcs1v15_test.go -------------------------------------------------------------------------------- /rsa/pss.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/rsa/pss.go -------------------------------------------------------------------------------- /rsa/pss_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/rsa/pss_test.go -------------------------------------------------------------------------------- /rsa/rsa.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/rsa/rsa.go -------------------------------------------------------------------------------- /rsa/rsa_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/rsa/rsa_test.go -------------------------------------------------------------------------------- /rsa/testdata/pss-vect.txt.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/rsa/testdata/pss-vect.txt.bz2 -------------------------------------------------------------------------------- /salsa20/salsa/hsalsa20.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/salsa20/salsa/hsalsa20.go -------------------------------------------------------------------------------- /salsa20/salsa/salsa2020_amd64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/salsa20/salsa/salsa2020_amd64.s -------------------------------------------------------------------------------- /salsa20/salsa/salsa208.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/salsa20/salsa/salsa208.go -------------------------------------------------------------------------------- /salsa20/salsa/salsa20_amd64.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/salsa20/salsa/salsa20_amd64.go -------------------------------------------------------------------------------- /salsa20/salsa/salsa20_ref.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/salsa20/salsa/salsa20_ref.go -------------------------------------------------------------------------------- /salsa20/salsa/salsa_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/salsa20/salsa/salsa_test.go -------------------------------------------------------------------------------- /salsa20/salsa20.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/salsa20/salsa20.go -------------------------------------------------------------------------------- /salsa20/salsa20_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/salsa20/salsa20_test.go -------------------------------------------------------------------------------- /scrypt/scrypt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/scrypt/scrypt.go -------------------------------------------------------------------------------- /scrypt/scrypt_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/scrypt/scrypt_test.go -------------------------------------------------------------------------------- /sha3/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/sha3/doc.go -------------------------------------------------------------------------------- /sha3/hashes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/sha3/hashes.go -------------------------------------------------------------------------------- /sha3/keccakf.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/sha3/keccakf.go -------------------------------------------------------------------------------- /sha3/register.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/sha3/register.go -------------------------------------------------------------------------------- /sha3/sha3.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/sha3/sha3.go -------------------------------------------------------------------------------- /sha3/sha3_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/sha3/sha3_test.go -------------------------------------------------------------------------------- /sha3/shake.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/sha3/shake.go -------------------------------------------------------------------------------- /sha3/testdata/keccakKats.json.deflate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/sha3/testdata/keccakKats.json.deflate -------------------------------------------------------------------------------- /sha3/xor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/sha3/xor.go -------------------------------------------------------------------------------- /sha3/xor_generic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/sha3/xor_generic.go -------------------------------------------------------------------------------- /sha3/xor_unaligned.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/sha3/xor_unaligned.go -------------------------------------------------------------------------------- /ssh/terminal/terminal.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/ssh/terminal/terminal.go -------------------------------------------------------------------------------- /ssh/terminal/terminal_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/ssh/terminal/terminal_test.go -------------------------------------------------------------------------------- /ssh/terminal/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/ssh/terminal/util.go -------------------------------------------------------------------------------- /ssh/terminal/util_aix.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/ssh/terminal/util_aix.go -------------------------------------------------------------------------------- /ssh/terminal/util_bsd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/ssh/terminal/util_bsd.go -------------------------------------------------------------------------------- /ssh/terminal/util_linux.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/ssh/terminal/util_linux.go -------------------------------------------------------------------------------- /ssh/terminal/util_plan9.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/ssh/terminal/util_plan9.go -------------------------------------------------------------------------------- /ssh/terminal/util_solaris.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/ssh/terminal/util_solaris.go -------------------------------------------------------------------------------- /ssh/terminal/util_windows.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/ssh/terminal/util_windows.go -------------------------------------------------------------------------------- /tea/cipher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/tea/cipher.go -------------------------------------------------------------------------------- /tea/tea_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/tea/tea_test.go -------------------------------------------------------------------------------- /twofish/twofish.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/twofish/twofish.go -------------------------------------------------------------------------------- /twofish/twofish_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/twofish/twofish_test.go -------------------------------------------------------------------------------- /xtea/block.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/xtea/block.go -------------------------------------------------------------------------------- /xtea/cipher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/xtea/cipher.go -------------------------------------------------------------------------------- /xtea/xtea_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/xtea/xtea_test.go -------------------------------------------------------------------------------- /xts/xts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/xts/xts.go -------------------------------------------------------------------------------- /xts/xts_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keybase/go-crypto/HEAD/xts/xts_test.go --------------------------------------------------------------------------------