├── .gitattributes ├── .github ├── CONTRIBUTING.md ├── actions │ └── build-gosop │ │ └── action.yml ├── test-suite │ ├── build_gosop.sh │ ├── build_gosop_v1.sh │ ├── config.json.template │ └── prepare_config.sh └── workflows │ ├── codeql.yml │ ├── go.yml │ └── interop-test-suite.yml ├── .gitignore ├── AUTHORS ├── CONTRIBUTORS ├── LICENSE ├── PATENTS ├── README.md ├── bitcurves └── bitcurve.go ├── brainpool ├── brainpool.go ├── brainpool_test.go └── rcurve.go ├── eax ├── eax.go ├── eax_test.go ├── eax_test_vectors.go └── random_vectors.go ├── go.mod ├── go.sum ├── internal └── byteutil │ └── byteutil.go ├── ocb ├── ocb.go ├── ocb_test.go ├── random_vectors.go ├── rfc7253_test_vectors_suite_a.go └── rfc7253_test_vectors_suite_b.go └── openpgp ├── aes └── keywrap │ ├── keywrap.go │ └── keywrap_test.go ├── armor ├── armor.go ├── armor_test.go └── encode.go ├── canonical_text.go ├── canonical_text_test.go ├── clearsign ├── clearsign.go └── clearsign_test.go ├── ecdh ├── ecdh.go └── ecdh_test.go ├── ecdsa ├── ecdsa.go └── ecdsa_test.go ├── ed25519 ├── ed25519.go └── ed25519_test.go ├── ed448 ├── ed448.go └── ed448_test.go ├── eddsa ├── eddsa.go └── eddsa_test.go ├── elgamal ├── elgamal.go └── elgamal_test.go ├── errors └── errors.go ├── hash.go ├── integration_tests ├── end_to_end_test.go ├── testdata │ └── test_vectors.json ├── utils_test.go └── v2 │ ├── end_to_end_test.go │ ├── testdata │ └── test_vectors.json │ └── utils_test.go ├── internal ├── algorithm │ ├── aead.go │ ├── cipher.go │ └── hash.go ├── ecc │ ├── curve25519.go │ ├── curve25519_test.go │ ├── curve_info.go │ ├── curves.go │ ├── ed25519.go │ ├── ed25519_test.go │ ├── ed448.go │ ├── generic.go │ └── x448.go └── encoding │ ├── encoding.go │ ├── mpi.go │ ├── mpi_test.go │ ├── oid.go │ └── oid_test.go ├── key_generation.go ├── keys.go ├── keys_test.go ├── keys_test_data.go ├── keys_v5_test.go ├── keys_v6_test.go ├── packet ├── aead_config.go ├── aead_crypter.go ├── aead_encrypted.go ├── aead_encrypted_data_test.go ├── aead_encrypted_test.go ├── compressed.go ├── compressed_test.go ├── config.go ├── config_v5.go ├── encrypted_key.go ├── encrypted_key_test.go ├── fuzz_test.go ├── literal.go ├── marker.go ├── notation.go ├── notation_test.go ├── ocfb.go ├── ocfb_test.go ├── one_pass_signature.go ├── opaque.go ├── opaque_test.go ├── packet.go ├── packet_sequence.go ├── packet_test.go ├── packet_unsupported.go ├── padding.go ├── private_key.go ├── private_key_test.go ├── private_key_test_data.go ├── public_key.go ├── public_key_test.go ├── public_key_test_data.go ├── reader.go ├── recipient.go ├── signature.go ├── signature_test.go ├── symmetric_key_encrypted.go ├── symmetric_key_encrypted_data_test.go ├── symmetric_key_encrypted_test.go ├── symmetrically_encrypted.go ├── symmetrically_encrypted_aead.go ├── symmetrically_encrypted_mdc.go ├── symmetrically_encrypted_test.go ├── userattribute.go ├── userattribute_test.go ├── userid.go └── userid_test.go ├── read.go ├── read_test.go ├── read_write_test_data.go ├── s2k ├── s2k.go ├── s2k_cache.go ├── s2k_config.go └── s2k_test.go ├── test_data ├── aead-eax-packet.b64 ├── aead-ocb-asym-key.asc ├── aead-ocb-asym-message.asc ├── argon2-sym-message.asc ├── sym-corrupted-message-invalid-sig-header.asc ├── sym-corrupted-message-long-length.asc └── sym-message-without-mdc.asc ├── v2 ├── canonical_text.go ├── canonical_text_test.go ├── hash.go ├── key_generation.go ├── keys.go ├── keys_test.go ├── keys_test_data.go ├── keys_v5_test.go ├── keys_v6_test.go ├── read.go ├── read_test.go ├── read_write_test_data.go ├── subkeys.go ├── user.go ├── write.go └── write_test.go ├── write.go ├── write_test.go ├── x25519 ├── x25519.go └── x25519_test.go └── x448 ├── x448.go └── x448_test.go /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/.github/CONTRIBUTING.md -------------------------------------------------------------------------------- /.github/actions/build-gosop/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/.github/actions/build-gosop/action.yml -------------------------------------------------------------------------------- /.github/test-suite/build_gosop.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/.github/test-suite/build_gosop.sh -------------------------------------------------------------------------------- /.github/test-suite/build_gosop_v1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/.github/test-suite/build_gosop_v1.sh -------------------------------------------------------------------------------- /.github/test-suite/config.json.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/.github/test-suite/config.json.template -------------------------------------------------------------------------------- /.github/test-suite/prepare_config.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/.github/test-suite/prepare_config.sh -------------------------------------------------------------------------------- /.github/workflows/codeql.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/.github/workflows/codeql.yml -------------------------------------------------------------------------------- /.github/workflows/go.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/.github/workflows/go.yml -------------------------------------------------------------------------------- /.github/workflows/interop-test-suite.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/.github/workflows/interop-test-suite.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/.gitignore -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/AUTHORS -------------------------------------------------------------------------------- /CONTRIBUTORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/CONTRIBUTORS -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/LICENSE -------------------------------------------------------------------------------- /PATENTS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/PATENTS -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/README.md -------------------------------------------------------------------------------- /bitcurves/bitcurve.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/bitcurves/bitcurve.go -------------------------------------------------------------------------------- /brainpool/brainpool.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/brainpool/brainpool.go -------------------------------------------------------------------------------- /brainpool/brainpool_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/brainpool/brainpool_test.go -------------------------------------------------------------------------------- /brainpool/rcurve.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/brainpool/rcurve.go -------------------------------------------------------------------------------- /eax/eax.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/eax/eax.go -------------------------------------------------------------------------------- /eax/eax_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/eax/eax_test.go -------------------------------------------------------------------------------- /eax/eax_test_vectors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/eax/eax_test_vectors.go -------------------------------------------------------------------------------- /eax/random_vectors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/eax/random_vectors.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/go.sum -------------------------------------------------------------------------------- /internal/byteutil/byteutil.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/internal/byteutil/byteutil.go -------------------------------------------------------------------------------- /ocb/ocb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/ocb/ocb.go -------------------------------------------------------------------------------- /ocb/ocb_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/ocb/ocb_test.go -------------------------------------------------------------------------------- /ocb/random_vectors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/ocb/random_vectors.go -------------------------------------------------------------------------------- /ocb/rfc7253_test_vectors_suite_a.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/ocb/rfc7253_test_vectors_suite_a.go -------------------------------------------------------------------------------- /ocb/rfc7253_test_vectors_suite_b.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/ocb/rfc7253_test_vectors_suite_b.go -------------------------------------------------------------------------------- /openpgp/aes/keywrap/keywrap.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/aes/keywrap/keywrap.go -------------------------------------------------------------------------------- /openpgp/aes/keywrap/keywrap_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/aes/keywrap/keywrap_test.go -------------------------------------------------------------------------------- /openpgp/armor/armor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/armor/armor.go -------------------------------------------------------------------------------- /openpgp/armor/armor_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/armor/armor_test.go -------------------------------------------------------------------------------- /openpgp/armor/encode.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/armor/encode.go -------------------------------------------------------------------------------- /openpgp/canonical_text.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/canonical_text.go -------------------------------------------------------------------------------- /openpgp/canonical_text_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/canonical_text_test.go -------------------------------------------------------------------------------- /openpgp/clearsign/clearsign.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/clearsign/clearsign.go -------------------------------------------------------------------------------- /openpgp/clearsign/clearsign_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/clearsign/clearsign_test.go -------------------------------------------------------------------------------- /openpgp/ecdh/ecdh.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/ecdh/ecdh.go -------------------------------------------------------------------------------- /openpgp/ecdh/ecdh_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/ecdh/ecdh_test.go -------------------------------------------------------------------------------- /openpgp/ecdsa/ecdsa.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/ecdsa/ecdsa.go -------------------------------------------------------------------------------- /openpgp/ecdsa/ecdsa_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/ecdsa/ecdsa_test.go -------------------------------------------------------------------------------- /openpgp/ed25519/ed25519.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/ed25519/ed25519.go -------------------------------------------------------------------------------- /openpgp/ed25519/ed25519_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/ed25519/ed25519_test.go -------------------------------------------------------------------------------- /openpgp/ed448/ed448.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/ed448/ed448.go -------------------------------------------------------------------------------- /openpgp/ed448/ed448_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/ed448/ed448_test.go -------------------------------------------------------------------------------- /openpgp/eddsa/eddsa.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/eddsa/eddsa.go -------------------------------------------------------------------------------- /openpgp/eddsa/eddsa_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/eddsa/eddsa_test.go -------------------------------------------------------------------------------- /openpgp/elgamal/elgamal.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/elgamal/elgamal.go -------------------------------------------------------------------------------- /openpgp/elgamal/elgamal_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/elgamal/elgamal_test.go -------------------------------------------------------------------------------- /openpgp/errors/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/errors/errors.go -------------------------------------------------------------------------------- /openpgp/hash.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/hash.go -------------------------------------------------------------------------------- /openpgp/integration_tests/end_to_end_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/integration_tests/end_to_end_test.go -------------------------------------------------------------------------------- /openpgp/integration_tests/testdata/test_vectors.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/integration_tests/testdata/test_vectors.json -------------------------------------------------------------------------------- /openpgp/integration_tests/utils_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/integration_tests/utils_test.go -------------------------------------------------------------------------------- /openpgp/integration_tests/v2/end_to_end_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/integration_tests/v2/end_to_end_test.go -------------------------------------------------------------------------------- /openpgp/integration_tests/v2/testdata/test_vectors.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/integration_tests/v2/testdata/test_vectors.json -------------------------------------------------------------------------------- /openpgp/integration_tests/v2/utils_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/integration_tests/v2/utils_test.go -------------------------------------------------------------------------------- /openpgp/internal/algorithm/aead.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/internal/algorithm/aead.go -------------------------------------------------------------------------------- /openpgp/internal/algorithm/cipher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/internal/algorithm/cipher.go -------------------------------------------------------------------------------- /openpgp/internal/algorithm/hash.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/internal/algorithm/hash.go -------------------------------------------------------------------------------- /openpgp/internal/ecc/curve25519.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/internal/ecc/curve25519.go -------------------------------------------------------------------------------- /openpgp/internal/ecc/curve25519_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/internal/ecc/curve25519_test.go -------------------------------------------------------------------------------- /openpgp/internal/ecc/curve_info.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/internal/ecc/curve_info.go -------------------------------------------------------------------------------- /openpgp/internal/ecc/curves.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/internal/ecc/curves.go -------------------------------------------------------------------------------- /openpgp/internal/ecc/ed25519.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/internal/ecc/ed25519.go -------------------------------------------------------------------------------- /openpgp/internal/ecc/ed25519_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/internal/ecc/ed25519_test.go -------------------------------------------------------------------------------- /openpgp/internal/ecc/ed448.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/internal/ecc/ed448.go -------------------------------------------------------------------------------- /openpgp/internal/ecc/generic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/internal/ecc/generic.go -------------------------------------------------------------------------------- /openpgp/internal/ecc/x448.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/internal/ecc/x448.go -------------------------------------------------------------------------------- /openpgp/internal/encoding/encoding.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/internal/encoding/encoding.go -------------------------------------------------------------------------------- /openpgp/internal/encoding/mpi.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/internal/encoding/mpi.go -------------------------------------------------------------------------------- /openpgp/internal/encoding/mpi_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/internal/encoding/mpi_test.go -------------------------------------------------------------------------------- /openpgp/internal/encoding/oid.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/internal/encoding/oid.go -------------------------------------------------------------------------------- /openpgp/internal/encoding/oid_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/internal/encoding/oid_test.go -------------------------------------------------------------------------------- /openpgp/key_generation.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/key_generation.go -------------------------------------------------------------------------------- /openpgp/keys.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/keys.go -------------------------------------------------------------------------------- /openpgp/keys_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/keys_test.go -------------------------------------------------------------------------------- /openpgp/keys_test_data.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/keys_test_data.go -------------------------------------------------------------------------------- /openpgp/keys_v5_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/keys_v5_test.go -------------------------------------------------------------------------------- /openpgp/keys_v6_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/keys_v6_test.go -------------------------------------------------------------------------------- /openpgp/packet/aead_config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/aead_config.go -------------------------------------------------------------------------------- /openpgp/packet/aead_crypter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/aead_crypter.go -------------------------------------------------------------------------------- /openpgp/packet/aead_encrypted.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/aead_encrypted.go -------------------------------------------------------------------------------- /openpgp/packet/aead_encrypted_data_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/aead_encrypted_data_test.go -------------------------------------------------------------------------------- /openpgp/packet/aead_encrypted_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/aead_encrypted_test.go -------------------------------------------------------------------------------- /openpgp/packet/compressed.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/compressed.go -------------------------------------------------------------------------------- /openpgp/packet/compressed_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/compressed_test.go -------------------------------------------------------------------------------- /openpgp/packet/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/config.go -------------------------------------------------------------------------------- /openpgp/packet/config_v5.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/config_v5.go -------------------------------------------------------------------------------- /openpgp/packet/encrypted_key.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/encrypted_key.go -------------------------------------------------------------------------------- /openpgp/packet/encrypted_key_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/encrypted_key_test.go -------------------------------------------------------------------------------- /openpgp/packet/fuzz_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/fuzz_test.go -------------------------------------------------------------------------------- /openpgp/packet/literal.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/literal.go -------------------------------------------------------------------------------- /openpgp/packet/marker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/marker.go -------------------------------------------------------------------------------- /openpgp/packet/notation.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/notation.go -------------------------------------------------------------------------------- /openpgp/packet/notation_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/notation_test.go -------------------------------------------------------------------------------- /openpgp/packet/ocfb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/ocfb.go -------------------------------------------------------------------------------- /openpgp/packet/ocfb_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/ocfb_test.go -------------------------------------------------------------------------------- /openpgp/packet/one_pass_signature.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/one_pass_signature.go -------------------------------------------------------------------------------- /openpgp/packet/opaque.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/opaque.go -------------------------------------------------------------------------------- /openpgp/packet/opaque_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/opaque_test.go -------------------------------------------------------------------------------- /openpgp/packet/packet.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/packet.go -------------------------------------------------------------------------------- /openpgp/packet/packet_sequence.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/packet_sequence.go -------------------------------------------------------------------------------- /openpgp/packet/packet_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/packet_test.go -------------------------------------------------------------------------------- /openpgp/packet/packet_unsupported.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/packet_unsupported.go -------------------------------------------------------------------------------- /openpgp/packet/padding.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/padding.go -------------------------------------------------------------------------------- /openpgp/packet/private_key.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/private_key.go -------------------------------------------------------------------------------- /openpgp/packet/private_key_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/private_key_test.go -------------------------------------------------------------------------------- /openpgp/packet/private_key_test_data.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/private_key_test_data.go -------------------------------------------------------------------------------- /openpgp/packet/public_key.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/public_key.go -------------------------------------------------------------------------------- /openpgp/packet/public_key_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/public_key_test.go -------------------------------------------------------------------------------- /openpgp/packet/public_key_test_data.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/public_key_test_data.go -------------------------------------------------------------------------------- /openpgp/packet/reader.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/reader.go -------------------------------------------------------------------------------- /openpgp/packet/recipient.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/recipient.go -------------------------------------------------------------------------------- /openpgp/packet/signature.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/signature.go -------------------------------------------------------------------------------- /openpgp/packet/signature_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/signature_test.go -------------------------------------------------------------------------------- /openpgp/packet/symmetric_key_encrypted.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/symmetric_key_encrypted.go -------------------------------------------------------------------------------- /openpgp/packet/symmetric_key_encrypted_data_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/symmetric_key_encrypted_data_test.go -------------------------------------------------------------------------------- /openpgp/packet/symmetric_key_encrypted_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/symmetric_key_encrypted_test.go -------------------------------------------------------------------------------- /openpgp/packet/symmetrically_encrypted.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/symmetrically_encrypted.go -------------------------------------------------------------------------------- /openpgp/packet/symmetrically_encrypted_aead.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/symmetrically_encrypted_aead.go -------------------------------------------------------------------------------- /openpgp/packet/symmetrically_encrypted_mdc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/symmetrically_encrypted_mdc.go -------------------------------------------------------------------------------- /openpgp/packet/symmetrically_encrypted_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/symmetrically_encrypted_test.go -------------------------------------------------------------------------------- /openpgp/packet/userattribute.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/userattribute.go -------------------------------------------------------------------------------- /openpgp/packet/userattribute_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/userattribute_test.go -------------------------------------------------------------------------------- /openpgp/packet/userid.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/userid.go -------------------------------------------------------------------------------- /openpgp/packet/userid_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/packet/userid_test.go -------------------------------------------------------------------------------- /openpgp/read.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/read.go -------------------------------------------------------------------------------- /openpgp/read_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/read_test.go -------------------------------------------------------------------------------- /openpgp/read_write_test_data.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/read_write_test_data.go -------------------------------------------------------------------------------- /openpgp/s2k/s2k.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/s2k/s2k.go -------------------------------------------------------------------------------- /openpgp/s2k/s2k_cache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/s2k/s2k_cache.go -------------------------------------------------------------------------------- /openpgp/s2k/s2k_config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/s2k/s2k_config.go -------------------------------------------------------------------------------- /openpgp/s2k/s2k_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/s2k/s2k_test.go -------------------------------------------------------------------------------- /openpgp/test_data/aead-eax-packet.b64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/test_data/aead-eax-packet.b64 -------------------------------------------------------------------------------- /openpgp/test_data/aead-ocb-asym-key.asc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/test_data/aead-ocb-asym-key.asc -------------------------------------------------------------------------------- /openpgp/test_data/aead-ocb-asym-message.asc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/test_data/aead-ocb-asym-message.asc -------------------------------------------------------------------------------- /openpgp/test_data/argon2-sym-message.asc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/test_data/argon2-sym-message.asc -------------------------------------------------------------------------------- /openpgp/test_data/sym-corrupted-message-invalid-sig-header.asc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/test_data/sym-corrupted-message-invalid-sig-header.asc -------------------------------------------------------------------------------- /openpgp/test_data/sym-corrupted-message-long-length.asc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/test_data/sym-corrupted-message-long-length.asc -------------------------------------------------------------------------------- /openpgp/test_data/sym-message-without-mdc.asc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/test_data/sym-message-without-mdc.asc -------------------------------------------------------------------------------- /openpgp/v2/canonical_text.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/v2/canonical_text.go -------------------------------------------------------------------------------- /openpgp/v2/canonical_text_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/v2/canonical_text_test.go -------------------------------------------------------------------------------- /openpgp/v2/hash.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/v2/hash.go -------------------------------------------------------------------------------- /openpgp/v2/key_generation.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/v2/key_generation.go -------------------------------------------------------------------------------- /openpgp/v2/keys.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/v2/keys.go -------------------------------------------------------------------------------- /openpgp/v2/keys_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/v2/keys_test.go -------------------------------------------------------------------------------- /openpgp/v2/keys_test_data.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/v2/keys_test_data.go -------------------------------------------------------------------------------- /openpgp/v2/keys_v5_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/v2/keys_v5_test.go -------------------------------------------------------------------------------- /openpgp/v2/keys_v6_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/v2/keys_v6_test.go -------------------------------------------------------------------------------- /openpgp/v2/read.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/v2/read.go -------------------------------------------------------------------------------- /openpgp/v2/read_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/v2/read_test.go -------------------------------------------------------------------------------- /openpgp/v2/read_write_test_data.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/v2/read_write_test_data.go -------------------------------------------------------------------------------- /openpgp/v2/subkeys.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/v2/subkeys.go -------------------------------------------------------------------------------- /openpgp/v2/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/v2/user.go -------------------------------------------------------------------------------- /openpgp/v2/write.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/v2/write.go -------------------------------------------------------------------------------- /openpgp/v2/write_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/v2/write_test.go -------------------------------------------------------------------------------- /openpgp/write.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/write.go -------------------------------------------------------------------------------- /openpgp/write_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/write_test.go -------------------------------------------------------------------------------- /openpgp/x25519/x25519.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/x25519/x25519.go -------------------------------------------------------------------------------- /openpgp/x25519/x25519_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/x25519/x25519_test.go -------------------------------------------------------------------------------- /openpgp/x448/x448.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/x448/x448.go -------------------------------------------------------------------------------- /openpgp/x448/x448_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProtonMail/go-crypto/HEAD/openpgp/x448/x448_test.go --------------------------------------------------------------------------------