# Binary files in debian/rust-vendor/ that dpkg-source would otherwise
# reject.  The vendored Rust crates are shipped in the debian directory, so
# every non-text file they contain has to be allowed explicitly here.
#
# Each file below is embedded into the compiled binary at build time with
# Rust's include_bytes!() macro, i.e. it is a source input to the build, not
# a prebuilt artefact.  They are all DER-encoded ASN.1 blobs of a handful of
# bytes (5-65) encoding well-known cryptographic algorithm object
# identifiers; they cannot be represented as text and there is no upstream
# text form to regenerate them from.
#
# Anything genuinely unnecessary is dropped at vendoring time instead, via
# --exclude-crate-path in debian/rules -- see the vendor target.

# rustls-pki-types: AlgorithmIdentifier constants, included by
# src/alg_id.rs (lines 58-310) into the library's public API.
debian/rust-vendor/rustls-pki-types/src/data/alg-ecdsa-p256k1.der
debian/rust-vendor/rustls-pki-types/src/data/alg-ecdsa-p384.der
debian/rust-vendor/rustls-pki-types/src/data/alg-ecdsa-p521.der
debian/rust-vendor/rustls-pki-types/src/data/alg-rsa-encryption.der
debian/rust-vendor/rustls-pki-types/src/data/alg-rsa-pkcs1-sha256.der
debian/rust-vendor/rustls-pki-types/src/data/alg-rsa-pkcs1-sha384.der
debian/rust-vendor/rustls-pki-types/src/data/alg-rsa-pkcs1-sha512.der
debian/rust-vendor/rustls-pki-types/src/data/alg-rsa-pss-sha256.der
debian/rust-vendor/rustls-pki-types/src/data/alg-rsa-pss-sha384.der
debian/rust-vendor/rustls-pki-types/src/data/alg-rsa-pss-sha512.der

# ring: PKCS#8 key templates used by the key-pair generation code, and the
# rsaEncryption OID checked when parsing RSA keys.  Included by
# src/ec/curve25519/ed25519/signing.rs:271, src/ec/suite_b/ecdsa/signing.rs
# :514 and :521, and src/rsa/keypair.rs:99.
debian/rust-vendor/ring/src/data/alg-rsa-encryption.der
debian/rust-vendor/ring/src/ec/curve25519/ed25519/ed25519_pkcs8_v2_template.der
debian/rust-vendor/ring/src/ec/suite_b/ecdsa/ecPublicKey_p256_pkcs8_v1_template.der
debian/rust-vendor/ring/src/ec/suite_b/ecdsa/ecPublicKey_p384_pkcs8_v1_template.der
