├── .gitignore ├── .gitmodules ├── .travis.yml ├── About.md ├── CONTRIBUTING.md ├── Crashlytics.framework ├── Crashlytics ├── Headers ├── Resources ├── Versions │ ├── A │ │ ├── Crashlytics │ │ ├── Headers │ │ │ └── Crashlytics.h │ │ └── Resources │ │ │ └── Info.plist │ └── Current └── run ├── LICENSE ├── OSXChangeLog.md ├── Podfile ├── Podfile.lock ├── Pods ├── Headers │ ├── Private │ │ ├── crypto_auth │ │ │ ├── hmacsha256 │ │ │ │ └── cp │ │ │ │ │ └── api.h │ │ │ ├── hmacsha512 │ │ │ │ └── cp │ │ │ │ │ └── api.h │ │ │ └── hmacsha512256 │ │ │ │ └── cp │ │ │ │ └── api.h │ │ ├── crypto_box │ │ │ └── curve25519xsalsa20poly1305 │ │ │ │ └── ref │ │ │ │ └── api.h │ │ ├── crypto_core │ │ │ ├── hsalsa20 │ │ │ │ └── ref2 │ │ │ │ │ └── api.h │ │ │ ├── salsa20 │ │ │ │ └── ref │ │ │ │ │ └── api.h │ │ │ ├── salsa2012 │ │ │ │ └── ref │ │ │ │ │ └── api.h │ │ │ └── salsa208 │ │ │ │ └── ref │ │ │ │ └── api.h │ │ ├── crypto_generichash │ │ │ └── blake2 │ │ │ │ └── ref │ │ │ │ ├── api.h │ │ │ │ ├── blake2-impl.h │ │ │ │ └── blake2.h │ │ ├── crypto_hash │ │ │ ├── sha256 │ │ │ │ └── cp │ │ │ │ │ └── api.h │ │ │ └── sha512 │ │ │ │ └── cp │ │ │ │ └── api.h │ │ ├── crypto_onetimeauth │ │ │ └── poly1305 │ │ │ │ └── donna │ │ │ │ ├── poly1305_donna.h │ │ │ │ ├── poly1305_donna32.h │ │ │ │ └── poly1305_donna64.h │ │ ├── crypto_pwhash │ │ │ └── scryptsalsa208sha256 │ │ │ │ ├── crypto_scrypt.h │ │ │ │ ├── pbkdf2-sha256.h │ │ │ │ └── sysendian.h │ │ ├── crypto_scalarmult │ │ │ └── curve25519 │ │ │ │ ├── donna_c64 │ │ │ │ └── api.h │ │ │ │ └── ref10 │ │ │ │ ├── api.h │ │ │ │ ├── fe.h │ │ │ │ ├── montgomery.h │ │ │ │ └── pow225521.h │ │ ├── crypto_secretbox │ │ │ └── xsalsa20poly1305 │ │ │ │ └── ref │ │ │ │ └── api.h │ │ ├── crypto_shorthash │ │ │ └── siphash24 │ │ │ │ └── ref │ │ │ │ └── api.h │ │ ├── crypto_sign │ │ │ ├── ed25519 │ │ │ │ └── ref10 │ │ │ │ │ ├── api.h │ │ │ │ │ ├── base.h │ │ │ │ │ ├── base2.h │ │ │ │ │ ├── d.h │ │ │ │ │ ├── d2.h │ │ │ │ │ ├── fe.h │ │ │ │ │ ├── ge.h │ │ │ │ │ ├── ge_add.h │ │ │ │ │ ├── ge_madd.h │ │ │ │ │ ├── ge_msub.h │ │ │ │ │ ├── ge_p2_dbl.h │ │ │ │ │ ├── ge_sub.h │ │ │ │ │ ├── pow22523.h │ │ │ │ │ ├── pow225521.h │ │ │ │ │ ├── sc.h │ │ │ │ │ └── sqrtm1.h │ │ │ └── edwards25519sha512batch │ │ │ │ └── ref │ │ │ │ ├── api.h │ │ │ │ ├── fe25519.h │ │ │ │ ├── ge25519.h │ │ │ │ └── sc25519.h │ │ ├── crypto_stream │ │ │ ├── aes128ctr │ │ │ │ └── portable │ │ │ │ │ ├── api.h │ │ │ │ │ ├── common.h │ │ │ │ │ ├── consts.h │ │ │ │ │ ├── int128.h │ │ │ │ │ └── types.h │ │ │ ├── chacha20 │ │ │ │ └── ref │ │ │ │ │ └── api.h │ │ │ ├── salsa20 │ │ │ │ ├── amd64_xmm6 │ │ │ │ │ └── api.h │ │ │ │ └── ref │ │ │ │ │ └── api.h │ │ │ ├── salsa2012 │ │ │ │ └── ref │ │ │ │ │ └── api.h │ │ │ ├── salsa208 │ │ │ │ └── ref │ │ │ │ │ └── api.h │ │ │ └── xsalsa20 │ │ │ │ └── ref │ │ │ │ └── api.h │ │ ├── crypto_verify │ │ │ ├── 16 │ │ │ │ └── ref │ │ │ │ │ └── api.h │ │ │ ├── 32 │ │ │ │ └── ref │ │ │ │ │ └── api.h │ │ │ └── 64 │ │ │ │ └── ref │ │ │ │ └── api.h │ │ └── libsodium │ │ │ ├── sodium.h │ │ │ └── sodium │ │ │ ├── core.h │ │ │ ├── crypto_aead_chacha20poly1305.h │ │ │ ├── crypto_auth.h │ │ │ ├── crypto_auth_hmacsha256.h │ │ │ ├── crypto_auth_hmacsha512.h │ │ │ ├── crypto_auth_hmacsha512256.h │ │ │ ├── crypto_box.h │ │ │ ├── crypto_box_curve25519xsalsa20poly1305.h │ │ │ ├── crypto_core_hsalsa20.h │ │ │ ├── crypto_core_salsa20.h │ │ │ ├── crypto_core_salsa2012.h │ │ │ ├── crypto_core_salsa208.h │ │ │ ├── crypto_generichash.h │ │ │ ├── crypto_generichash_blake2b.h │ │ │ ├── crypto_hash.h │ │ │ ├── crypto_hash_sha256.h │ │ │ ├── crypto_hash_sha512.h │ │ │ ├── crypto_int32.h │ │ │ ├── crypto_int64.h │ │ │ ├── crypto_onetimeauth.h │ │ │ ├── crypto_onetimeauth_poly1305.h │ │ │ ├── crypto_pwhash_scryptsalsa208sha256.h │ │ │ ├── crypto_scalarmult.h │ │ │ ├── crypto_scalarmult_curve25519.h │ │ │ ├── crypto_secretbox.h │ │ │ ├── crypto_secretbox_xsalsa20poly1305.h │ │ │ ├── crypto_shorthash.h │ │ │ ├── crypto_shorthash_siphash24.h │ │ │ ├── crypto_sign.h │ │ │ ├── crypto_sign_ed25519.h │ │ │ ├── crypto_sign_edwards25519sha512batch.h │ │ │ ├── crypto_stream.h │ │ │ ├── crypto_stream_aes128ctr.h │ │ │ ├── crypto_stream_chacha20.h │ │ │ ├── crypto_stream_salsa20.h │ │ │ ├── crypto_stream_salsa2012.h │ │ │ ├── crypto_stream_salsa208.h │ │ │ ├── crypto_stream_xsalsa20.h │ │ │ ├── crypto_uint16.h │ │ │ ├── crypto_uint32.h │ │ │ ├── crypto_uint64.h │ │ │ ├── crypto_uint8.h │ │ │ ├── crypto_verify_16.h │ │ │ ├── crypto_verify_32.h │ │ │ ├── crypto_verify_64.h │ │ │ ├── export.h │ │ │ ├── randombytes.h │ │ │ ├── randombytes_salsa20_random.h │ │ │ ├── randombytes_sysrandom.h │ │ │ ├── runtime.h │ │ │ ├── utils.h │ │ │ └── version.h │ └── Public │ │ ├── crypto_auth │ │ ├── hmacsha256 │ │ │ └── cp │ │ │ │ └── api.h │ │ ├── hmacsha512 │ │ │ └── cp │ │ │ │ └── api.h │ │ └── hmacsha512256 │ │ │ └── cp │ │ │ └── api.h │ │ ├── crypto_box │ │ └── curve25519xsalsa20poly1305 │ │ │ └── ref │ │ │ └── api.h │ │ ├── crypto_core │ │ ├── hsalsa20 │ │ │ └── ref2 │ │ │ │ └── api.h │ │ ├── salsa20 │ │ │ └── ref │ │ │ │ └── api.h │ │ ├── salsa2012 │ │ │ └── ref │ │ │ │ └── api.h │ │ └── salsa208 │ │ │ └── ref │ │ │ └── api.h │ │ ├── crypto_generichash │ │ └── blake2 │ │ │ └── ref │ │ │ ├── api.h │ │ │ ├── blake2-impl.h │ │ │ └── blake2.h │ │ ├── crypto_hash │ │ ├── sha256 │ │ │ └── cp │ │ │ │ └── api.h │ │ └── sha512 │ │ │ └── cp │ │ │ └── api.h │ │ ├── crypto_onetimeauth │ │ └── poly1305 │ │ │ └── donna │ │ │ ├── poly1305_donna.h │ │ │ ├── poly1305_donna32.h │ │ │ └── poly1305_donna64.h │ │ ├── crypto_pwhash │ │ └── scryptsalsa208sha256 │ │ │ ├── crypto_scrypt.h │ │ │ ├── pbkdf2-sha256.h │ │ │ └── sysendian.h │ │ ├── crypto_scalarmult │ │ └── curve25519 │ │ │ ├── donna_c64 │ │ │ └── api.h │ │ │ └── ref10 │ │ │ ├── api.h │ │ │ ├── fe.h │ │ │ ├── montgomery.h │ │ │ └── pow225521.h │ │ ├── crypto_secretbox │ │ └── xsalsa20poly1305 │ │ │ └── ref │ │ │ └── api.h │ │ ├── crypto_shorthash │ │ └── siphash24 │ │ │ └── ref │ │ │ └── api.h │ │ ├── crypto_sign │ │ ├── ed25519 │ │ │ └── ref10 │ │ │ │ ├── api.h │ │ │ │ ├── base.h │ │ │ │ ├── base2.h │ │ │ │ ├── d.h │ │ │ │ ├── d2.h │ │ │ │ ├── fe.h │ │ │ │ ├── ge.h │ │ │ │ ├── ge_add.h │ │ │ │ ├── ge_madd.h │ │ │ │ ├── ge_msub.h │ │ │ │ ├── ge_p2_dbl.h │ │ │ │ ├── ge_sub.h │ │ │ │ ├── pow22523.h │ │ │ │ ├── pow225521.h │ │ │ │ ├── sc.h │ │ │ │ └── sqrtm1.h │ │ └── edwards25519sha512batch │ │ │ └── ref │ │ │ ├── api.h │ │ │ ├── fe25519.h │ │ │ ├── ge25519.h │ │ │ └── sc25519.h │ │ ├── crypto_stream │ │ ├── aes128ctr │ │ │ └── portable │ │ │ │ ├── api.h │ │ │ │ ├── common.h │ │ │ │ ├── consts.h │ │ │ │ ├── int128.h │ │ │ │ └── types.h │ │ ├── chacha20 │ │ │ └── ref │ │ │ │ └── api.h │ │ ├── salsa20 │ │ │ ├── amd64_xmm6 │ │ │ │ └── api.h │ │ │ └── ref │ │ │ │ └── api.h │ │ ├── salsa2012 │ │ │ └── ref │ │ │ │ └── api.h │ │ ├── salsa208 │ │ │ └── ref │ │ │ │ └── api.h │ │ └── xsalsa20 │ │ │ └── ref │ │ │ └── api.h │ │ ├── crypto_verify │ │ ├── 16 │ │ │ └── ref │ │ │ │ └── api.h │ │ ├── 32 │ │ │ └── ref │ │ │ │ └── api.h │ │ └── 64 │ │ │ └── ref │ │ │ └── api.h │ │ └── libsodium │ │ ├── sodium.h │ │ └── sodium │ │ ├── core.h │ │ ├── crypto_aead_chacha20poly1305.h │ │ ├── crypto_auth.h │ │ ├── crypto_auth_hmacsha256.h │ │ ├── crypto_auth_hmacsha512.h │ │ ├── crypto_auth_hmacsha512256.h │ │ ├── crypto_box.h │ │ ├── crypto_box_curve25519xsalsa20poly1305.h │ │ ├── crypto_core_hsalsa20.h │ │ ├── crypto_core_salsa20.h │ │ ├── crypto_core_salsa2012.h │ │ ├── crypto_core_salsa208.h │ │ ├── crypto_generichash.h │ │ ├── crypto_generichash_blake2b.h │ │ ├── crypto_hash.h │ │ ├── crypto_hash_sha256.h │ │ ├── crypto_hash_sha512.h │ │ ├── crypto_int32.h │ │ ├── crypto_int64.h │ │ ├── crypto_onetimeauth.h │ │ ├── crypto_onetimeauth_poly1305.h │ │ ├── crypto_pwhash_scryptsalsa208sha256.h │ │ ├── crypto_scalarmult.h │ │ ├── crypto_scalarmult_curve25519.h │ │ ├── crypto_secretbox.h │ │ ├── crypto_secretbox_xsalsa20poly1305.h │ │ ├── crypto_shorthash.h │ │ ├── crypto_shorthash_siphash24.h │ │ ├── crypto_sign.h │ │ ├── crypto_sign_ed25519.h │ │ ├── crypto_sign_edwards25519sha512batch.h │ │ ├── crypto_stream.h │ │ ├── crypto_stream_aes128ctr.h │ │ ├── crypto_stream_chacha20.h │ │ ├── crypto_stream_salsa20.h │ │ ├── crypto_stream_salsa2012.h │ │ ├── crypto_stream_salsa208.h │ │ ├── crypto_stream_xsalsa20.h │ │ ├── crypto_uint16.h │ │ ├── crypto_uint32.h │ │ ├── crypto_uint64.h │ │ ├── crypto_uint8.h │ │ ├── crypto_verify_16.h │ │ ├── crypto_verify_32.h │ │ ├── crypto_verify_64.h │ │ ├── export.h │ │ ├── randombytes.h │ │ ├── randombytes_salsa20_random.h │ │ ├── randombytes_sysrandom.h │ │ ├── runtime.h │ │ ├── utils.h │ │ └── version.h ├── Manifest.lock ├── Pods.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcuserdata │ │ │ └── binss.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcuserdata │ │ ├── bin.xcuserdatad │ │ └── xcschemes │ │ │ ├── Pods-libsodium.xcscheme │ │ │ ├── Pods.xcscheme │ │ │ └── xcschememanagement.plist │ │ └── binss.xcuserdatad │ │ └── xcschemes │ │ ├── Pods.xcscheme │ │ ├── libsodium.xcscheme │ │ └── xcschememanagement.plist ├── Target Support Files │ ├── Pods │ │ ├── Pods-acknowledgements.markdown │ │ ├── Pods-acknowledgements.plist │ │ ├── Pods-dummy.m │ │ ├── Pods-frameworks.sh │ │ ├── Pods-resources.sh │ │ ├── Pods.debug.xcconfig │ │ └── Pods.release.xcconfig │ └── libsodium │ │ ├── libsodium-dummy.m │ │ ├── libsodium-prefix.pch │ │ └── libsodium.xcconfig └── libsodium │ ├── LICENSE │ ├── README │ ├── README.markdown │ └── src │ └── libsodium │ ├── crypto_aead │ └── chacha20poly1305 │ │ └── sodium │ │ └── aead_chacha20poly1305.c │ ├── crypto_auth │ ├── crypto_auth.c │ ├── hmacsha256 │ │ ├── auth_hmacsha256_api.c │ │ └── cp │ │ │ ├── api.h │ │ │ ├── hmac_hmacsha256.c │ │ │ └── verify_hmacsha256.c │ ├── hmacsha512 │ │ ├── auth_hmacsha512_api.c │ │ └── cp │ │ │ ├── api.h │ │ │ ├── hmac_hmacsha512.c │ │ │ └── verify_hmacsha512.c │ └── hmacsha512256 │ │ ├── auth_hmacsha512256_api.c │ │ └── cp │ │ ├── api.h │ │ ├── hmac_hmacsha512256.c │ │ └── verify_hmacsha512256.c │ ├── crypto_box │ ├── crypto_box.c │ ├── crypto_box_easy.c │ ├── crypto_box_seal.c │ └── curve25519xsalsa20poly1305 │ │ ├── box_curve25519xsalsa20poly1305_api.c │ │ └── ref │ │ ├── after_curve25519xsalsa20poly1305.c │ │ ├── api.h │ │ ├── before_curve25519xsalsa20poly1305.c │ │ ├── box_curve25519xsalsa20poly1305.c │ │ └── keypair_curve25519xsalsa20poly1305.c │ ├── crypto_core │ ├── hsalsa20 │ │ ├── core_hsalsa20_api.c │ │ └── ref2 │ │ │ ├── api.h │ │ │ └── core_hsalsa20.c │ ├── salsa20 │ │ ├── core_salsa20_api.c │ │ └── ref │ │ │ ├── api.h │ │ │ └── core_salsa20.c │ ├── salsa2012 │ │ ├── core_salsa2012_api.c │ │ └── ref │ │ │ ├── api.h │ │ │ └── core_salsa2012.c │ └── salsa208 │ │ ├── core_salsa208_api.c │ │ └── ref │ │ ├── api.h │ │ └── core_salsa208.c │ ├── crypto_generichash │ ├── blake2 │ │ ├── generichash_blake2_api.c │ │ └── ref │ │ │ ├── api.h │ │ │ ├── blake2-impl.h │ │ │ ├── blake2.h │ │ │ ├── blake2b-ref.c │ │ │ └── generichash_blake2b.c │ └── crypto_generichash.c │ ├── crypto_hash │ ├── crypto_hash.c │ ├── sha256 │ │ ├── cp │ │ │ ├── api.h │ │ │ └── hash_sha256.c │ │ └── hash_sha256_api.c │ └── sha512 │ │ ├── cp │ │ ├── api.h │ │ └── hash_sha512.c │ │ └── hash_sha512_api.c │ ├── crypto_onetimeauth │ ├── crypto_onetimeauth.c │ └── poly1305 │ │ ├── donna │ │ ├── auth_poly1305_donna.c │ │ ├── poly1305_donna.h │ │ ├── poly1305_donna32.h │ │ ├── poly1305_donna64.h │ │ └── verify_poly1305_donna.c │ │ ├── onetimeauth_poly1305.c │ │ ├── onetimeauth_poly1305_api.c │ │ └── onetimeauth_poly1305_try.c │ ├── crypto_pwhash │ └── scryptsalsa208sha256 │ │ ├── crypto_scrypt-common.c │ │ ├── crypto_scrypt.h │ │ ├── nosse │ │ └── pwhash_scryptsalsa208sha256_nosse.c │ │ ├── pbkdf2-sha256.c │ │ ├── pbkdf2-sha256.h │ │ ├── pwhash_scryptsalsa208sha256.c │ │ ├── scrypt_platform.c │ │ ├── sse │ │ └── pwhash_scryptsalsa208sha256_sse.c │ │ └── sysendian.h │ ├── crypto_scalarmult │ ├── crypto_scalarmult.c │ └── curve25519 │ │ ├── donna_c64 │ │ ├── api.h │ │ ├── base_curve25519_donna_c64.c │ │ └── smult_curve25519_donna_c64.c │ │ ├── ref10 │ │ ├── api.h │ │ ├── base_curve25519_ref10.c │ │ ├── fe.h │ │ ├── fe_0_curve25519_ref10.c │ │ ├── fe_1_curve25519_ref10.c │ │ ├── fe_add_curve25519_ref10.c │ │ ├── fe_copy_curve25519_ref10.c │ │ ├── fe_cswap_curve25519_ref10.c │ │ ├── fe_frombytes_curve25519_ref10.c │ │ ├── fe_invert_curve25519_ref10.c │ │ ├── fe_mul121666_curve25519_ref10.c │ │ ├── fe_mul_curve25519_ref10.c │ │ ├── fe_sq_curve25519_ref10.c │ │ ├── fe_sub_curve25519_ref10.c │ │ ├── fe_tobytes_curve25519_ref10.c │ │ ├── montgomery.h │ │ ├── pow225521.h │ │ └── scalarmult_curve25519_ref10.c │ │ └── scalarmult_curve25519_api.c │ ├── crypto_secretbox │ ├── crypto_secretbox.c │ ├── crypto_secretbox_easy.c │ └── xsalsa20poly1305 │ │ ├── ref │ │ ├── api.h │ │ └── box_xsalsa20poly1305.c │ │ └── secretbox_xsalsa20poly1305_api.c │ ├── crypto_shorthash │ ├── crypto_shorthash.c │ └── siphash24 │ │ ├── ref │ │ ├── api.h │ │ └── shorthash_siphash24.c │ │ └── shorthash_siphash24_api.c │ ├── crypto_sign │ ├── crypto_sign.c │ ├── ed25519 │ │ ├── ref10 │ │ │ ├── api.h │ │ │ ├── base.h │ │ │ ├── base2.h │ │ │ ├── d.h │ │ │ ├── d2.h │ │ │ ├── fe.h │ │ │ ├── fe_0.c │ │ │ ├── fe_1.c │ │ │ ├── fe_add.c │ │ │ ├── fe_cmov.c │ │ │ ├── fe_copy.c │ │ │ ├── fe_frombytes.c │ │ │ ├── fe_invert.c │ │ │ ├── fe_isnegative.c │ │ │ ├── fe_isnonzero.c │ │ │ ├── fe_mul.c │ │ │ ├── fe_neg.c │ │ │ ├── fe_pow22523.c │ │ │ ├── fe_sq.c │ │ │ ├── fe_sq2.c │ │ │ ├── fe_sub.c │ │ │ ├── fe_tobytes.c │ │ │ ├── ge.h │ │ │ ├── ge_add.c │ │ │ ├── ge_add.h │ │ │ ├── ge_double_scalarmult.c │ │ │ ├── ge_frombytes.c │ │ │ ├── ge_madd.c │ │ │ ├── ge_madd.h │ │ │ ├── ge_msub.c │ │ │ ├── ge_msub.h │ │ │ ├── ge_p1p1_to_p2.c │ │ │ ├── ge_p1p1_to_p3.c │ │ │ ├── ge_p2_0.c │ │ │ ├── ge_p2_dbl.c │ │ │ ├── ge_p2_dbl.h │ │ │ ├── ge_p3_0.c │ │ │ ├── ge_p3_dbl.c │ │ │ ├── ge_p3_to_cached.c │ │ │ ├── ge_p3_to_p2.c │ │ │ ├── ge_p3_tobytes.c │ │ │ ├── ge_precomp_0.c │ │ │ ├── ge_scalarmult_base.c │ │ │ ├── ge_sub.c │ │ │ ├── ge_sub.h │ │ │ ├── ge_tobytes.c │ │ │ ├── keypair.c │ │ │ ├── open.c │ │ │ ├── pow22523.h │ │ │ ├── pow225521.h │ │ │ ├── sc.h │ │ │ ├── sc_muladd.c │ │ │ ├── sc_reduce.c │ │ │ ├── sign.c │ │ │ └── sqrtm1.h │ │ └── sign_ed25519_api.c │ └── edwards25519sha512batch │ │ ├── ref │ │ ├── api.h │ │ ├── fe25519.h │ │ ├── fe25519_edwards25519sha512batch.c │ │ ├── ge25519.h │ │ ├── ge25519_edwards25519sha512batch.c │ │ ├── sc25519.h │ │ ├── sc25519_edwards25519sha512batch.c │ │ └── sign_edwards25519sha512batch.c │ │ └── sign_edwards25519sha512batch_api.c │ ├── crypto_stream │ ├── aes128ctr │ │ ├── portable │ │ │ ├── afternm_aes128ctr.c │ │ │ ├── api.h │ │ │ ├── beforenm_aes128ctr.c │ │ │ ├── common.h │ │ │ ├── common_aes128ctr.c │ │ │ ├── consts.h │ │ │ ├── consts_aes128ctr.c │ │ │ ├── int128.h │ │ │ ├── int128_aes128ctr.c │ │ │ ├── stream_aes128ctr.c │ │ │ ├── types.h │ │ │ └── xor_afternm_aes128ctr.c │ │ └── stream_aes128ctr_api.c │ ├── chacha20 │ │ ├── ref │ │ │ ├── api.h │ │ │ └── stream_chacha20_ref.c │ │ └── stream_chacha20_api.c │ ├── crypto_stream.c │ ├── salsa20 │ │ ├── amd64_xmm6 │ │ │ └── api.h │ │ ├── ref │ │ │ ├── api.h │ │ │ ├── stream_salsa20_ref.c │ │ │ └── xor_salsa20_ref.c │ │ └── stream_salsa20_api.c │ ├── salsa2012 │ │ ├── ref │ │ │ ├── api.h │ │ │ ├── stream_salsa2012.c │ │ │ └── xor_salsa2012.c │ │ └── stream_salsa2012_api.c │ ├── salsa208 │ │ ├── ref │ │ │ ├── api.h │ │ │ ├── stream_salsa208.c │ │ │ └── xor_salsa208.c │ │ └── stream_salsa208_api.c │ └── xsalsa20 │ │ ├── ref │ │ ├── api.h │ │ ├── stream_xsalsa20.c │ │ └── xor_xsalsa20.c │ │ └── stream_xsalsa20_api.c │ ├── crypto_verify │ ├── 16 │ │ ├── ref │ │ │ ├── api.h │ │ │ └── verify_16.c │ │ └── verify_16_api.c │ ├── 32 │ │ ├── ref │ │ │ ├── api.h │ │ │ └── verify_32.c │ │ └── verify_32_api.c │ └── 64 │ │ ├── ref │ │ ├── api.h │ │ └── verify_64.c │ │ └── verify_64_api.c │ ├── include │ ├── sodium.h │ └── sodium │ │ ├── core.h │ │ ├── crypto_aead_chacha20poly1305.h │ │ ├── crypto_auth.h │ │ ├── crypto_auth_hmacsha256.h │ │ ├── crypto_auth_hmacsha512.h │ │ ├── crypto_auth_hmacsha512256.h │ │ ├── crypto_box.h │ │ ├── crypto_box_curve25519xsalsa20poly1305.h │ │ ├── crypto_core_hsalsa20.h │ │ ├── crypto_core_salsa20.h │ │ ├── crypto_core_salsa2012.h │ │ ├── crypto_core_salsa208.h │ │ ├── crypto_generichash.h │ │ ├── crypto_generichash_blake2b.h │ │ ├── crypto_hash.h │ │ ├── crypto_hash_sha256.h │ │ ├── crypto_hash_sha512.h │ │ ├── crypto_int32.h │ │ ├── crypto_int64.h │ │ ├── crypto_onetimeauth.h │ │ ├── crypto_onetimeauth_poly1305.h │ │ ├── crypto_pwhash_scryptsalsa208sha256.h │ │ ├── crypto_scalarmult.h │ │ ├── crypto_scalarmult_curve25519.h │ │ ├── crypto_secretbox.h │ │ ├── crypto_secretbox_xsalsa20poly1305.h │ │ ├── crypto_shorthash.h │ │ ├── crypto_shorthash_siphash24.h │ │ ├── crypto_sign.h │ │ ├── crypto_sign_ed25519.h │ │ ├── crypto_sign_edwards25519sha512batch.h │ │ ├── crypto_stream.h │ │ ├── crypto_stream_aes128ctr.h │ │ ├── crypto_stream_chacha20.h │ │ ├── crypto_stream_salsa20.h │ │ ├── crypto_stream_salsa2012.h │ │ ├── crypto_stream_salsa208.h │ │ ├── crypto_stream_xsalsa20.h │ │ ├── crypto_uint16.h │ │ ├── crypto_uint32.h │ │ ├── crypto_uint64.h │ │ ├── crypto_uint8.h │ │ ├── crypto_verify_16.h │ │ ├── crypto_verify_32.h │ │ ├── crypto_verify_64.h │ │ ├── export.h │ │ ├── randombytes.h │ │ ├── randombytes_salsa20_random.h │ │ ├── randombytes_sysrandom.h │ │ ├── runtime.h │ │ ├── utils.h │ │ ├── version.h │ │ └── version.h.in │ ├── randombytes │ ├── randombytes.c │ ├── salsa20 │ │ └── randombytes_salsa20_random.c │ └── sysrandom │ │ └── randombytes_sysrandom.c │ └── sodium │ ├── core.c │ ├── runtime.c │ ├── utils.c │ └── version.c ├── README.md ├── ShadowWeb ├── 3gnet_disable.mobileconfig ├── 3gnet_enable.mobileconfig ├── Default-568h@2x.png ├── Default.png ├── Default@2x.png ├── ProxySettingsTableViewController.h ├── ProxySettingsTableViewController.m ├── QRCodeViewController.h ├── QRCodeViewController.m ├── SWBAboutController.h ├── SWBAboutController.m ├── SWBAppDelegate.h ├── SWBAppDelegate.m ├── SWBNetworkActivityIndicatorManager.h ├── SWBNetworkActivityIndicatorManager.m ├── SWBNewTabButton.h ├── SWBNewTabButton.m ├── SWBPage.h ├── SWBPage.m ├── SWBPageManager.h ├── SWBPageManager.m ├── SWBSmallCloseButton.h ├── SWBSmallCloseButton.m ├── SWBSmallCloseButtonHighlightView.h ├── SWBSmallCloseButtonHighlightView.m ├── SWBTab.h ├── SWBTab.m ├── SWBTabBarView.h ├── SWBTabBarView.m ├── SWBTabView.h ├── SWBTabView.m ├── SWBViewController.h ├── SWBViewController.m ├── SWBWebView.h ├── SWBWebView.m ├── SWBWebViewContainer.h ├── SWBWebViewContainer.m ├── ShadowsocksRunner.h ├── ShadowsocksRunner.m ├── SimpleTableViewSource.h ├── SimpleTableViewSource.m ├── cancel.png ├── en.lproj │ ├── InfoPlist.strings │ └── Localizable.strings ├── encrypt.c ├── encrypt.h ├── libev │ ├── Changes │ ├── LICENSE │ ├── Makefile.am │ ├── Makefile.in │ ├── README │ ├── Symbols.ev │ ├── Symbols.event │ ├── autogen.sh │ ├── config.h │ ├── config.h.in │ ├── configure.ac │ ├── ev++.h │ ├── ev.c │ ├── ev.h │ ├── ev_kqueue.c │ ├── ev_poll.c │ ├── ev_port.c │ ├── ev_select.c │ ├── ev_vars.h │ ├── ev_win32.c │ ├── ev_wrap.h │ ├── event.c │ └── event.h ├── local.h ├── local.m ├── main.m ├── polipo.config ├── polipo_disable.config ├── shadowsocks-Info.plist ├── shadowsocks-Prefix.pch ├── silence.wav ├── socks5.h ├── table.h ├── table.m └── zh-Hans.lproj │ ├── InfoPlist.strings │ └── Localizable.strings ├── ShadowsocksX ├── Application.xib ├── Configuration.h ├── Configuration.m ├── Images.xcassets │ ├── AppIcon-2.appiconset │ │ ├── 114.png │ │ ├── 120.png │ │ ├── 144.png │ │ ├── 57.png │ │ ├── 72.png │ │ └── Contents.json │ ├── AppIcon.appiconset │ │ ├── 128.png │ │ ├── 16.png │ │ ├── 256-1.png │ │ ├── 256.png │ │ ├── 32-1.png │ │ ├── 32.png │ │ ├── 512.png │ │ ├── 64.png │ │ └── Contents.json │ └── LaunchImage.launchimage │ │ ├── Contents.json │ │ ├── Default-568h@2x.png │ │ ├── Default.png │ │ └── Default@2x.png ├── Profile.h ├── Profile.m ├── ProfileManager.h ├── ProfileManager.m ├── QRCodeWindow.xib ├── SWBAppDelegate.h ├── SWBAppDelegate.m ├── SWBApplication.h ├── SWBApplication.m ├── SWBConfigWindowController.h ├── SWBConfigWindowController.m ├── SWBQRCodeWindowController.h ├── SWBQRCodeWindowController.m ├── ShadowsocksX-Info.plist ├── ShadowsocksX-Prefix.pch ├── abp.js ├── en.lproj │ ├── ConfigWindow.xib │ ├── Credits.rtf │ └── InfoPlist.strings ├── install_helper.sh ├── jquery.min.js ├── main.m ├── menu_icon.png ├── menu_icon@2x.png ├── menu_icon_disabled.png ├── menu_icon_disabled@2x.png ├── models │ └── profile.json ├── qrcode.htm ├── qrcode.min.js └── zh-Hans.lproj │ └── ConfigWindow.xib ├── ShadowsocksXTests ├── ShadowsocksXTests-Info.plist ├── ShadowsocksXTests.m └── en.lproj │ └── InfoPlist.strings ├── about.txt ├── appstore.png ├── build.sh ├── ios_128.png ├── osx_128.png ├── packaging └── osx │ ├── arrow.png │ ├── build_dmg.sh │ └── settings.py ├── proxy.pac.gz ├── shadowsocks copy-Info.plist ├── shadowsocks.xcodeproj └── project.pbxproj ├── shadowsocks.xcworkspace ├── contents.xcworkspacedata ├── xcshareddata │ ├── shadowsocks.xccheckout │ └── shadowsocks.xcscmblueprint └── xcuserdata │ ├── bin.xcuserdatad │ └── UserInterfaceState.xcuserstate │ └── binss.xcuserdatad │ └── UserInterfaceState.xcuserstate ├── shadowsocks_sysconf ├── main.m ├── shadowsocks_sysconf-Prefix.pch └── shadowsocks_sysconf.1 └── zxing-objc ├── AUTHORS ├── COPYING ├── NOTICE ├── README.md ├── ZXingObjC.xcodeproj ├── project.pbxproj └── xcuserdata │ ├── bin.xcuserdatad │ └── xcschemes │ │ ├── OS X Framework.xcscheme │ │ ├── ZXingObjC-iOS.xcscheme │ │ ├── ZXingObjC-osx.xcscheme │ │ └── xcschememanagement.plist │ ├── binss.xcuserdatad │ └── xcschemes │ │ ├── OS X Framework.xcscheme │ │ ├── ZXingObjC-iOS.xcscheme │ │ ├── ZXingObjC-osx.xcscheme │ │ ├── ZXingObjCTests-iOS.xcscheme │ │ ├── ZXingObjCTests-osx.xcscheme │ │ └── xcschememanagement.plist │ └── clowwindy.xcuserdatad │ └── xcschemes │ ├── OS X Framework.xcscheme │ ├── ZXingObjC-iOS.xcscheme │ ├── ZXingObjC-osx.xcscheme │ └── xcschememanagement.plist ├── ZXingObjC ├── ZXBarcodeFormat.h ├── ZXBinarizer.h ├── ZXBinarizer.m ├── ZXBinaryBitmap.h ├── ZXBinaryBitmap.m ├── ZXDecodeHints.h ├── ZXDecodeHints.m ├── ZXDimension.h ├── ZXDimension.m ├── ZXEncodeHints.h ├── ZXEncodeHints.m ├── ZXErrors.h ├── ZXErrors.m ├── ZXInvertedLuminanceSource.h ├── ZXInvertedLuminanceSource.m ├── ZXLuminanceSource.h ├── ZXLuminanceSource.m ├── ZXMultiFormatReader.h ├── ZXMultiFormatReader.m ├── ZXMultiFormatWriter.h ├── ZXMultiFormatWriter.m ├── ZXPlanarYUVLuminanceSource.h ├── ZXPlanarYUVLuminanceSource.m ├── ZXRGBLuminanceSource.h ├── ZXRGBLuminanceSource.m ├── ZXReader.h ├── ZXResult.h ├── ZXResult.m ├── ZXResultMetadataType.h ├── ZXResultPoint.h ├── ZXResultPoint.m ├── ZXResultPointCallback.h ├── ZXWriter.h ├── ZXingObjC.h ├── aztec │ ├── ZXAztecDetectorResult.h │ ├── ZXAztecDetectorResult.m │ ├── ZXAztecReader.h │ ├── ZXAztecReader.m │ ├── ZXAztecWriter.h │ ├── ZXAztecWriter.m │ ├── decoder │ │ ├── ZXAztecDecoder.h │ │ └── ZXAztecDecoder.m │ ├── detector │ │ ├── ZXAztecDetector.h │ │ └── ZXAztecDetector.m │ └── encoder │ │ ├── ZXAztecCode.h │ │ ├── ZXAztecCode.m │ │ ├── ZXAztecEncoder.h │ │ └── ZXAztecEncoder.m ├── client │ ├── ZXCGImageLuminanceSource.h │ ├── ZXCGImageLuminanceSource.m │ ├── ZXCapture.h │ ├── ZXCapture.m │ ├── ZXCaptureDelegate.h │ ├── ZXCaptureView.h │ ├── ZXCaptureView.m │ ├── ZXImage.h │ ├── ZXImage.m │ ├── ZXView.h │ └── result │ │ ├── ZXAbstractDoCoMoResultParser.h │ │ ├── ZXAbstractDoCoMoResultParser.m │ │ ├── ZXAddressBookAUResultParser.h │ │ ├── ZXAddressBookAUResultParser.m │ │ ├── ZXAddressBookDoCoMoResultParser.h │ │ ├── ZXAddressBookDoCoMoResultParser.m │ │ ├── ZXAddressBookParsedResult.h │ │ ├── ZXAddressBookParsedResult.m │ │ ├── ZXBizcardResultParser.h │ │ ├── ZXBizcardResultParser.m │ │ ├── ZXBookmarkDoCoMoResultParser.h │ │ ├── ZXBookmarkDoCoMoResultParser.m │ │ ├── ZXCalendarParsedResult.h │ │ ├── ZXCalendarParsedResult.m │ │ ├── ZXEmailAddressParsedResult.h │ │ ├── ZXEmailAddressParsedResult.m │ │ ├── ZXEmailAddressResultParser.h │ │ ├── ZXEmailAddressResultParser.m │ │ ├── ZXEmailDoCoMoResultParser.h │ │ ├── ZXEmailDoCoMoResultParser.m │ │ ├── ZXExpandedProductParsedResult.h │ │ ├── ZXExpandedProductParsedResult.m │ │ ├── ZXExpandedProductResultParser.h │ │ ├── ZXExpandedProductResultParser.m │ │ ├── ZXGeoParsedResult.h │ │ ├── ZXGeoParsedResult.m │ │ ├── ZXGeoResultParser.h │ │ ├── ZXGeoResultParser.m │ │ ├── ZXISBNParsedResult.h │ │ ├── ZXISBNParsedResult.m │ │ ├── ZXISBNResultParser.h │ │ ├── ZXISBNResultParser.m │ │ ├── ZXParsedResult.h │ │ ├── ZXParsedResult.m │ │ ├── ZXParsedResultType.h │ │ ├── ZXProductParsedResult.h │ │ ├── ZXProductParsedResult.m │ │ ├── ZXProductResultParser.h │ │ ├── ZXProductResultParser.m │ │ ├── ZXResultParser.h │ │ ├── ZXResultParser.m │ │ ├── ZXSMSMMSResultParser.h │ │ ├── ZXSMSMMSResultParser.m │ │ ├── ZXSMSParsedResult.h │ │ ├── ZXSMSParsedResult.m │ │ ├── ZXSMSTOMMSTOResultParser.h │ │ ├── ZXSMSTOMMSTOResultParser.m │ │ ├── ZXSMTPResultParser.h │ │ ├── ZXSMTPResultParser.m │ │ ├── ZXTelParsedResult.h │ │ ├── ZXTelParsedResult.m │ │ ├── ZXTelResultParser.h │ │ ├── ZXTelResultParser.m │ │ ├── ZXTextParsedResult.h │ │ ├── ZXTextParsedResult.m │ │ ├── ZXURIParsedResult.h │ │ ├── ZXURIParsedResult.m │ │ ├── ZXURIResultParser.h │ │ ├── ZXURIResultParser.m │ │ ├── ZXURLTOResultParser.h │ │ ├── ZXURLTOResultParser.m │ │ ├── ZXVCardResultParser.h │ │ ├── ZXVCardResultParser.m │ │ ├── ZXVEventResultParser.h │ │ ├── ZXVEventResultParser.m │ │ ├── ZXWifiParsedResult.h │ │ ├── ZXWifiParsedResult.m │ │ ├── ZXWifiResultParser.h │ │ └── ZXWifiResultParser.m ├── common │ ├── ZXBitArray.h │ ├── ZXBitArray.m │ ├── ZXBitMatrix.h │ ├── ZXBitMatrix.m │ ├── ZXBitSource.h │ ├── ZXBitSource.m │ ├── ZXCharacterSetECI.h │ ├── ZXCharacterSetECI.m │ ├── ZXDecoderResult.h │ ├── ZXDecoderResult.m │ ├── ZXDefaultGridSampler.h │ ├── ZXDefaultGridSampler.m │ ├── ZXDetectorResult.h │ ├── ZXDetectorResult.m │ ├── ZXECI.h │ ├── ZXECI.m │ ├── ZXGlobalHistogramBinarizer.h │ ├── ZXGlobalHistogramBinarizer.m │ ├── ZXGridSampler.h │ ├── ZXGridSampler.m │ ├── ZXHybridBinarizer.h │ ├── ZXHybridBinarizer.m │ ├── ZXPerspectiveTransform.h │ ├── ZXPerspectiveTransform.m │ ├── ZXStringUtils.h │ ├── ZXStringUtils.m │ ├── detector │ │ ├── ZXMathUtils.h │ │ ├── ZXMathUtils.m │ │ ├── ZXMonochromeRectangleDetector.h │ │ ├── ZXMonochromeRectangleDetector.m │ │ ├── ZXWhiteRectangleDetector.h │ │ └── ZXWhiteRectangleDetector.m │ └── reedsolomon │ │ ├── ZXGenericGF.h │ │ ├── ZXGenericGF.m │ │ ├── ZXGenericGFPoly.h │ │ ├── ZXGenericGFPoly.m │ │ ├── ZXReedSolomonDecoder.h │ │ ├── ZXReedSolomonDecoder.m │ │ ├── ZXReedSolomonEncoder.h │ │ └── ZXReedSolomonEncoder.m ├── datamatrix │ ├── ZXDataMatrixReader.h │ ├── ZXDataMatrixReader.m │ ├── ZXDataMatrixWriter.h │ ├── ZXDataMatrixWriter.m │ ├── decoder │ │ ├── ZXDataMatrixBitMatrixParser.h │ │ ├── ZXDataMatrixBitMatrixParser.m │ │ ├── ZXDataMatrixDataBlock.h │ │ ├── ZXDataMatrixDataBlock.m │ │ ├── ZXDataMatrixDecodedBitStreamParser.h │ │ ├── ZXDataMatrixDecodedBitStreamParser.m │ │ ├── ZXDataMatrixDecoder.h │ │ ├── ZXDataMatrixDecoder.m │ │ ├── ZXDataMatrixVersion.h │ │ └── ZXDataMatrixVersion.m │ ├── detector │ │ ├── ZXDataMatrixDetector.h │ │ └── ZXDataMatrixDetector.m │ └── encoder │ │ ├── ZXASCIIEncoder.h │ │ ├── ZXASCIIEncoder.m │ │ ├── ZXBase256Encoder.h │ │ ├── ZXBase256Encoder.m │ │ ├── ZXC40Encoder.h │ │ ├── ZXC40Encoder.m │ │ ├── ZXDataMatrixEncoder.h │ │ ├── ZXDataMatrixErrorCorrection.h │ │ ├── ZXDataMatrixErrorCorrection.m │ │ ├── ZXDataMatrixSymbolInfo144.h │ │ ├── ZXDataMatrixSymbolInfo144.m │ │ ├── ZXDefaultPlacement.h │ │ ├── ZXDefaultPlacement.m │ │ ├── ZXEdifactEncoder.h │ │ ├── ZXEdifactEncoder.m │ │ ├── ZXEncoderContext.h │ │ ├── ZXEncoderContext.m │ │ ├── ZXHighLevelEncoder.h │ │ ├── ZXHighLevelEncoder.m │ │ ├── ZXSymbolInfo.h │ │ ├── ZXSymbolInfo.m │ │ ├── ZXSymbolShapeHint.h │ │ ├── ZXSymbolShapeHint.m │ │ ├── ZXTextEncoder.h │ │ ├── ZXTextEncoder.m │ │ ├── ZXX12Encoder.h │ │ └── ZXX12Encoder.m ├── maxicode │ ├── ZXMaxiCodeReader.h │ ├── ZXMaxiCodeReader.m │ └── decoder │ │ ├── ZXMaxiCodeBitMatrixParser.h │ │ ├── ZXMaxiCodeBitMatrixParser.m │ │ ├── ZXMaxiCodeDecodedBitStreamParser.h │ │ ├── ZXMaxiCodeDecodedBitStreamParser.m │ │ ├── ZXMaxiCodeDecoder.h │ │ └── ZXMaxiCodeDecoder.m ├── multi │ ├── ZXByQuadrantReader.h │ ├── ZXByQuadrantReader.m │ ├── ZXGenericMultipleBarcodeReader.h │ ├── ZXGenericMultipleBarcodeReader.m │ ├── ZXMultipleBarcodeReader.h │ └── qrcode │ │ ├── ZXQRCodeMultiReader.h │ │ ├── ZXQRCodeMultiReader.m │ │ └── detector │ │ ├── ZXMultiDetector.h │ │ ├── ZXMultiDetector.m │ │ ├── ZXMultiFinderPatternFinder.h │ │ └── ZXMultiFinderPatternFinder.m ├── oned │ ├── ZXCodaBarReader.h │ ├── ZXCodaBarReader.m │ ├── ZXCodaBarWriter.h │ ├── ZXCodaBarWriter.m │ ├── ZXCode128Reader.h │ ├── ZXCode128Reader.m │ ├── ZXCode128Writer.h │ ├── ZXCode128Writer.m │ ├── ZXCode39Reader.h │ ├── ZXCode39Reader.m │ ├── ZXCode39Writer.h │ ├── ZXCode39Writer.m │ ├── ZXCode93Reader.h │ ├── ZXCode93Reader.m │ ├── ZXEAN13Reader.h │ ├── ZXEAN13Reader.m │ ├── ZXEAN13Writer.h │ ├── ZXEAN13Writer.m │ ├── ZXEAN8Reader.h │ ├── ZXEAN8Reader.m │ ├── ZXEAN8Writer.h │ ├── ZXEAN8Writer.m │ ├── ZXEANManufacturerOrgSupport.h │ ├── ZXEANManufacturerOrgSupport.m │ ├── ZXITFReader.h │ ├── ZXITFReader.m │ ├── ZXITFWriter.h │ ├── ZXITFWriter.m │ ├── ZXMultiFormatOneDReader.h │ ├── ZXMultiFormatOneDReader.m │ ├── ZXMultiFormatUPCEANReader.h │ ├── ZXMultiFormatUPCEANReader.m │ ├── ZXOneDReader.h │ ├── ZXOneDReader.m │ ├── ZXOneDimensionalCodeWriter.h │ ├── ZXOneDimensionalCodeWriter.m │ ├── ZXUPCAReader.h │ ├── ZXUPCAReader.m │ ├── ZXUPCAWriter.h │ ├── ZXUPCAWriter.m │ ├── ZXUPCEANExtension2Support.h │ ├── ZXUPCEANExtension2Support.m │ ├── ZXUPCEANExtension5Support.h │ ├── ZXUPCEANExtension5Support.m │ ├── ZXUPCEANExtensionSupport.h │ ├── ZXUPCEANExtensionSupport.m │ ├── ZXUPCEANReader.h │ ├── ZXUPCEANReader.m │ ├── ZXUPCEANWriter.h │ ├── ZXUPCEANWriter.m │ ├── ZXUPCEReader.h │ ├── ZXUPCEReader.m │ └── rss │ │ ├── ZXAbstractRSSReader.h │ │ ├── ZXAbstractRSSReader.m │ │ ├── ZXDataCharacter.h │ │ ├── ZXDataCharacter.m │ │ ├── ZXPair.h │ │ ├── ZXPair.m │ │ ├── ZXRSS14Reader.h │ │ ├── ZXRSS14Reader.m │ │ ├── ZXRSSFinderPattern.h │ │ ├── ZXRSSFinderPattern.m │ │ ├── ZXRSSUtils.h │ │ ├── ZXRSSUtils.m │ │ └── expanded │ │ ├── ZXBitArrayBuilder.h │ │ ├── ZXBitArrayBuilder.m │ │ ├── ZXExpandedPair.h │ │ ├── ZXExpandedPair.m │ │ ├── ZXExpandedRow.h │ │ ├── ZXExpandedRow.m │ │ ├── ZXRSSExpandedReader.h │ │ ├── ZXRSSExpandedReader.m │ │ └── decoders │ │ ├── ZXAI013103decoder.h │ │ ├── ZXAI013103decoder.m │ │ ├── ZXAI01320xDecoder.h │ │ ├── ZXAI01320xDecoder.m │ │ ├── ZXAI01392xDecoder.h │ │ ├── ZXAI01392xDecoder.m │ │ ├── ZXAI01393xDecoder.h │ │ ├── ZXAI01393xDecoder.m │ │ ├── ZXAI013x0x1xDecoder.h │ │ ├── ZXAI013x0x1xDecoder.m │ │ ├── ZXAI013x0xDecoder.h │ │ ├── ZXAI013x0xDecoder.m │ │ ├── ZXAI01AndOtherAIs.h │ │ ├── ZXAI01AndOtherAIs.m │ │ ├── ZXAI01decoder.h │ │ ├── ZXAI01decoder.m │ │ ├── ZXAI01weightDecoder.h │ │ ├── ZXAI01weightDecoder.m │ │ ├── ZXAbstractExpandedDecoder.h │ │ ├── ZXAbstractExpandedDecoder.m │ │ ├── ZXAnyAIDecoder.h │ │ ├── ZXAnyAIDecoder.m │ │ ├── ZXBlockParsedResult.h │ │ ├── ZXBlockParsedResult.m │ │ ├── ZXCurrentParsingState.h │ │ ├── ZXCurrentParsingState.m │ │ ├── ZXDecodedChar.h │ │ ├── ZXDecodedChar.m │ │ ├── ZXDecodedInformation.h │ │ ├── ZXDecodedInformation.m │ │ ├── ZXDecodedNumeric.h │ │ ├── ZXDecodedNumeric.m │ │ ├── ZXDecodedObject.h │ │ ├── ZXDecodedObject.m │ │ ├── ZXFieldParser.h │ │ ├── ZXFieldParser.m │ │ ├── ZXGeneralAppIdDecoder.h │ │ └── ZXGeneralAppIdDecoder.m ├── pdf417 │ ├── ZXPDF417Common.h │ ├── ZXPDF417Common.m │ ├── ZXPDF417Reader.h │ ├── ZXPDF417Reader.m │ ├── ZXPDF417ResultMetadata.h │ ├── ZXPDF417ResultMetadata.m │ ├── ZXPDF417Writer.h │ ├── ZXPDF417Writer.m │ ├── decoder │ │ ├── ZXPDF417BarcodeMetadata.h │ │ ├── ZXPDF417BarcodeMetadata.m │ │ ├── ZXPDF417BarcodeValue.h │ │ ├── ZXPDF417BarcodeValue.m │ │ ├── ZXPDF417BoundingBox.h │ │ ├── ZXPDF417BoundingBox.m │ │ ├── ZXPDF417Codeword.h │ │ ├── ZXPDF417Codeword.m │ │ ├── ZXPDF417CodewordDecoder.h │ │ ├── ZXPDF417CodewordDecoder.m │ │ ├── ZXPDF417DecodedBitStreamParser.h │ │ ├── ZXPDF417DecodedBitStreamParser.m │ │ ├── ZXPDF417DetectionResult.h │ │ ├── ZXPDF417DetectionResult.m │ │ ├── ZXPDF417DetectionResultColumn.h │ │ ├── ZXPDF417DetectionResultColumn.m │ │ ├── ZXPDF417DetectionResultRowIndicatorColumn.h │ │ ├── ZXPDF417DetectionResultRowIndicatorColumn.m │ │ ├── ZXPDF417ScanningDecoder.h │ │ ├── ZXPDF417ScanningDecoder.m │ │ └── ec │ │ │ ├── ZXModulusGF.h │ │ │ ├── ZXModulusGF.m │ │ │ ├── ZXModulusPoly.h │ │ │ ├── ZXModulusPoly.m │ │ │ ├── ZXPDF417ECErrorCorrection.h │ │ │ └── ZXPDF417ECErrorCorrection.m │ ├── detector │ │ ├── ZXPDF417Detector.h │ │ ├── ZXPDF417Detector.m │ │ ├── ZXPDF417DetectorResult.h │ │ └── ZXPDF417DetectorResult.m │ └── encoder │ │ ├── ZXBarcodeMatrix.h │ │ ├── ZXBarcodeMatrix.m │ │ ├── ZXBarcodeRow.h │ │ ├── ZXBarcodeRow.m │ │ ├── ZXCompaction.h │ │ ├── ZXDimensions.h │ │ ├── ZXDimensions.m │ │ ├── ZXPDF417.h │ │ ├── ZXPDF417.m │ │ ├── ZXPDF417ErrorCorrection.h │ │ ├── ZXPDF417ErrorCorrection.m │ │ ├── ZXPDF417HighLevelEncoder.h │ │ └── ZXPDF417HighLevelEncoder.m └── qrcode │ ├── ZXQRCodeReader.h │ ├── ZXQRCodeReader.m │ ├── ZXQRCodeWriter.h │ ├── ZXQRCodeWriter.m │ ├── decoder │ ├── ZXDataMask.h │ ├── ZXDataMask.m │ ├── ZXErrorCorrectionLevel.h │ ├── ZXErrorCorrectionLevel.m │ ├── ZXFormatInformation.h │ ├── ZXFormatInformation.m │ ├── ZXMode.h │ ├── ZXMode.m │ ├── ZXQRCodeBitMatrixParser.h │ ├── ZXQRCodeBitMatrixParser.m │ ├── ZXQRCodeDataBlock.h │ ├── ZXQRCodeDataBlock.m │ ├── ZXQRCodeDecodedBitStreamParser.h │ ├── ZXQRCodeDecodedBitStreamParser.m │ ├── ZXQRCodeDecoder.h │ ├── ZXQRCodeDecoder.m │ ├── ZXQRCodeVersion.h │ └── ZXQRCodeVersion.m │ ├── detector │ ├── ZXAlignmentPattern.h │ ├── ZXAlignmentPattern.m │ ├── ZXAlignmentPatternFinder.h │ ├── ZXAlignmentPatternFinder.m │ ├── ZXFinderPatternFinder.h │ ├── ZXFinderPatternFinder.m │ ├── ZXFinderPatternInfo.h │ ├── ZXFinderPatternInfo.m │ ├── ZXQRCodeDetector.h │ ├── ZXQRCodeDetector.m │ ├── ZXQRCodeFinderPattern.h │ └── ZXQRCodeFinderPattern.m │ └── encoder │ ├── ZXBlockPair.h │ ├── ZXBlockPair.m │ ├── ZXByteMatrix.h │ ├── ZXByteMatrix.m │ ├── ZXEncoder.h │ ├── ZXEncoder.m │ ├── ZXMaskUtil.h │ ├── ZXMaskUtil.m │ ├── ZXMatrixUtil.h │ ├── ZXMatrixUtil.m │ ├── ZXQRCode.h │ └── ZXQRCode.m ├── ios-Prefix.pch └── osx-Prefix.pch /.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | .idea/ 3 | shadowsocks.xcodeproj/project.xcworkspace/ 4 | shadowsocks.xcodeproj/xcuserdata/ 5 | .DS_STORE 6 | *.dmg 7 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "AppProxyCap"] 2 | path = AppProxyCap 3 | url = https://github.com/freewizard/AppProxyCap.git 4 | [submodule "OpenSSL-for-iPhone"] 5 | path = OpenSSL-for-iPhone 6 | url = https://github.com/clowwindy/OpenSSL-for-iPhone.git 7 | [submodule "GCDWebServer"] 8 | path = GCDWebServer 9 | url = https://github.com/swisspol/GCDWebServer 10 | [submodule "iProxy"] 11 | path = iProxy 12 | url = https://github.com/clowwindy/iProxy.git 13 | [submodule "NSData-Base64"] 14 | path = NSData-Base64 15 | url = https://github.com/l4u/NSData-Base64.git 16 | [submodule "GZIP"] 17 | path = GZIP 18 | url = https://github.com/nicklockwood/GZIP.git 19 | [submodule "Masonry"] 20 | path = Masonry 21 | url = https://github.com/Masonry/Masonry.git 22 | [submodule "AFNetworking"] 23 | path = AFNetworking 24 | url = https://github.com/AFNetworking/AFNetworking.git 25 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: objective-c 2 | xcode_sdk: iphonesimulator 3 | script: ./build.sh 4 | -------------------------------------------------------------------------------- /Crashlytics.framework/Crashlytics: -------------------------------------------------------------------------------- 1 | Versions/Current/Crashlytics -------------------------------------------------------------------------------- /Crashlytics.framework/Headers: -------------------------------------------------------------------------------- 1 | Versions/Current/Headers -------------------------------------------------------------------------------- /Crashlytics.framework/Resources: -------------------------------------------------------------------------------- 1 | Versions/Current/Resources -------------------------------------------------------------------------------- /Crashlytics.framework/Versions/A/Crashlytics: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/Crashlytics.framework/Versions/A/Crashlytics -------------------------------------------------------------------------------- /Crashlytics.framework/Versions/Current: -------------------------------------------------------------------------------- 1 | A -------------------------------------------------------------------------------- /Crashlytics.framework/run: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/Crashlytics.framework/run -------------------------------------------------------------------------------- /OSXChangeLog.md: -------------------------------------------------------------------------------- 1 | 1.0.5 2 | ------ 3 | - Update PAC file 4 | - Add code sign 5 | 6 | 1.0.4 7 | ------ 8 | - Fix system proxy settings cleared when exiting with pac turned off 9 | 10 | 1.0.3 11 | ------ 12 | - Fix 100% CPU problem when using table encryption. 13 | - Fix "Please fill in the blank" message prompted when public server is selected. 14 | 15 | 1.0.2 16 | ------ 17 | - Authorize only once. 18 | 19 | 1.0.1 20 | ------ 21 | - Fix image uploading. 22 | 23 | 1.0 24 | ------ 25 | - Initial version. 26 | 27 | -------------------------------------------------------------------------------- /Podfile: -------------------------------------------------------------------------------- 1 | platform :ios, '9.2' 2 | pod 'libsodium', '~> 1.0.3' 3 | -------------------------------------------------------------------------------- /Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - libsodium (1.0.3) 3 | 4 | DEPENDENCIES: 5 | - libsodium (~> 1.0.3) 6 | 7 | SPEC CHECKSUMS: 8 | libsodium: be547e31dc75725629acc5717dc0a40fc05ef243 9 | 10 | COCOAPODS: 0.39.0 11 | -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_auth/hmacsha256/cp/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_auth/hmacsha256/cp/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_auth/hmacsha512/cp/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_auth/hmacsha512/cp/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_auth/hmacsha512256/cp/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_auth/hmacsha512256/cp/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_box/curve25519xsalsa20poly1305/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_core/hsalsa20/ref2/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_core/hsalsa20/ref2/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_core/salsa20/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_core/salsa20/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_core/salsa2012/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_core/salsa2012/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_core/salsa208/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_core/salsa208/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_generichash/blake2/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_generichash/blake2/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_generichash/blake2/ref/blake2-impl.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2-impl.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_generichash/blake2/ref/blake2.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_hash/sha256/cp/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_hash/sha256/cp/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_hash/sha512/cp/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_hash/sha512/cp/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_onetimeauth/poly1305/donna/poly1305_donna.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_onetimeauth/poly1305/donna/poly1305_donna32.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna32.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_onetimeauth/poly1305/donna/poly1305_donna64.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna64.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_pwhash/scryptsalsa208sha256/crypto_scrypt.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/crypto_scrypt.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_pwhash/scryptsalsa208sha256/pbkdf2-sha256.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/pbkdf2-sha256.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_pwhash/scryptsalsa208sha256/sysendian.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/sysendian.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_scalarmult/curve25519/donna_c64/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_scalarmult/curve25519/ref10/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_scalarmult/curve25519/ref10/fe.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_scalarmult/curve25519/ref10/montgomery.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/montgomery.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_scalarmult/curve25519/ref10/pow225521.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/pow225521.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_secretbox/xsalsa20poly1305/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_secretbox/xsalsa20poly1305/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_shorthash/siphash24/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_shorthash/siphash24/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_sign/ed25519/ref10/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_sign/ed25519/ref10/base.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/base.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_sign/ed25519/ref10/base2.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/base2.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_sign/ed25519/ref10/d.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/d.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_sign/ed25519/ref10/d2.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/d2.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_sign/ed25519/ref10/fe.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_sign/ed25519/ref10/ge.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_sign/ed25519/ref10/ge_add.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_add.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_sign/ed25519/ref10/ge_madd.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_madd.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_sign/ed25519/ref10/ge_msub.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_msub.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_sign/ed25519/ref10/ge_p2_dbl.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p2_dbl.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_sign/ed25519/ref10/ge_sub.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_sub.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_sign/ed25519/ref10/pow22523.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/pow22523.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_sign/ed25519/ref10/pow225521.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/pow225521.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_sign/ed25519/ref10/sc.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/sc.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_sign/ed25519/ref10/sqrtm1.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/sqrtm1.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_sign/edwards25519sha512batch/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/edwards25519sha512batch/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_sign/edwards25519sha512batch/ref/fe25519.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/edwards25519sha512batch/ref/fe25519.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_sign/edwards25519sha512batch/ref/ge25519.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/edwards25519sha512batch/ref/ge25519.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_sign/edwards25519sha512batch/ref/sc25519.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/edwards25519sha512batch/ref/sc25519.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_stream/aes128ctr/portable/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_stream/aes128ctr/portable/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_stream/aes128ctr/portable/common.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_stream/aes128ctr/portable/common.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_stream/aes128ctr/portable/consts.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_stream/aes128ctr/portable/consts.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_stream/aes128ctr/portable/int128.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_stream/aes128ctr/portable/int128.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_stream/aes128ctr/portable/types.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_stream/aes128ctr/portable/types.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_stream/chacha20/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_stream/chacha20/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_stream/salsa20/amd64_xmm6/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_stream/salsa20/amd64_xmm6/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_stream/salsa20/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_stream/salsa20/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_stream/salsa2012/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_stream/salsa2012/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_stream/salsa208/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_stream/salsa208/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_stream/xsalsa20/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_stream/xsalsa20/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_verify/16/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_verify/16/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_verify/32/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_verify/32/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/crypto_verify/64/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_verify/64/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium.h: -------------------------------------------------------------------------------- 1 | ../../../libsodium/src/libsodium/include/sodium.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/core.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/core.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_aead_chacha20poly1305.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_aead_chacha20poly1305.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_auth.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_auth.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_auth_hmacsha256.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha256.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_auth_hmacsha512.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha512.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_auth_hmacsha512256.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha512256.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_box.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_box.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_box_curve25519xsalsa20poly1305.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_box_curve25519xsalsa20poly1305.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_core_hsalsa20.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_core_hsalsa20.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_core_salsa20.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_core_salsa20.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_core_salsa2012.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_core_salsa2012.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_core_salsa208.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_core_salsa208.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_generichash.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_generichash.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_generichash_blake2b.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_generichash_blake2b.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_hash.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_hash.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_hash_sha256.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_hash_sha256.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_hash_sha512.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_hash_sha512.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_int32.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_int32.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_int64.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_int64.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_onetimeauth.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_onetimeauth.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_onetimeauth_poly1305.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_onetimeauth_poly1305.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_pwhash_scryptsalsa208sha256.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_pwhash_scryptsalsa208sha256.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_scalarmult.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_scalarmult.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_scalarmult_curve25519.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_scalarmult_curve25519.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_secretbox.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_secretbox.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_secretbox_xsalsa20poly1305.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_secretbox_xsalsa20poly1305.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_shorthash.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_shorthash.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_shorthash_siphash24.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_shorthash_siphash24.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_sign.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_sign.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_sign_ed25519.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_sign_ed25519.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_sign_edwards25519sha512batch.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_stream.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_stream.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_stream_aes128ctr.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_stream_aes128ctr.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_stream_chacha20.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_stream_chacha20.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_stream_salsa20.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_stream_salsa20.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_stream_salsa2012.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_stream_salsa2012.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_stream_salsa208.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_stream_salsa208.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_stream_xsalsa20.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_stream_xsalsa20.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_uint16.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_uint16.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_uint32.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_uint32.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_uint64.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_uint64.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_uint8.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_uint8.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_verify_16.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_verify_16.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_verify_32.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_verify_32.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/crypto_verify_64.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_verify_64.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/export.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/export.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/randombytes.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/randombytes.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/randombytes_salsa20_random.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/randombytes_salsa20_random.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/randombytes_sysrandom.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/randombytes_sysrandom.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/runtime.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/runtime.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/utils.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/utils.h -------------------------------------------------------------------------------- /Pods/Headers/Private/libsodium/sodium/version.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/version.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_auth/hmacsha256/cp/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_auth/hmacsha256/cp/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_auth/hmacsha512/cp/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_auth/hmacsha512/cp/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_auth/hmacsha512256/cp/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_auth/hmacsha512256/cp/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_box/curve25519xsalsa20poly1305/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_core/hsalsa20/ref2/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_core/hsalsa20/ref2/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_core/salsa20/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_core/salsa20/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_core/salsa2012/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_core/salsa2012/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_core/salsa208/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_core/salsa208/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_generichash/blake2/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_generichash/blake2/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_generichash/blake2/ref/blake2-impl.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2-impl.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_generichash/blake2/ref/blake2.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_hash/sha256/cp/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_hash/sha256/cp/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_hash/sha512/cp/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_hash/sha512/cp/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_onetimeauth/poly1305/donna/poly1305_donna.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_onetimeauth/poly1305/donna/poly1305_donna32.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna32.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_onetimeauth/poly1305/donna/poly1305_donna64.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna64.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_pwhash/scryptsalsa208sha256/crypto_scrypt.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/crypto_scrypt.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_pwhash/scryptsalsa208sha256/pbkdf2-sha256.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/pbkdf2-sha256.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_pwhash/scryptsalsa208sha256/sysendian.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/sysendian.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_scalarmult/curve25519/donna_c64/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_scalarmult/curve25519/ref10/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_scalarmult/curve25519/ref10/fe.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_scalarmult/curve25519/ref10/montgomery.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/montgomery.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_scalarmult/curve25519/ref10/pow225521.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/pow225521.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_secretbox/xsalsa20poly1305/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_secretbox/xsalsa20poly1305/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_shorthash/siphash24/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_shorthash/siphash24/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_sign/ed25519/ref10/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_sign/ed25519/ref10/base.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/base.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_sign/ed25519/ref10/base2.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/base2.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_sign/ed25519/ref10/d.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/d.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_sign/ed25519/ref10/d2.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/d2.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_sign/ed25519/ref10/fe.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_sign/ed25519/ref10/ge.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_sign/ed25519/ref10/ge_add.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_add.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_sign/ed25519/ref10/ge_madd.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_madd.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_sign/ed25519/ref10/ge_msub.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_msub.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_sign/ed25519/ref10/ge_p2_dbl.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p2_dbl.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_sign/ed25519/ref10/ge_sub.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_sub.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_sign/ed25519/ref10/pow22523.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/pow22523.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_sign/ed25519/ref10/pow225521.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/pow225521.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_sign/ed25519/ref10/sc.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/sc.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_sign/ed25519/ref10/sqrtm1.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/ed25519/ref10/sqrtm1.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_sign/edwards25519sha512batch/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/edwards25519sha512batch/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_sign/edwards25519sha512batch/ref/fe25519.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/edwards25519sha512batch/ref/fe25519.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_sign/edwards25519sha512batch/ref/ge25519.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/edwards25519sha512batch/ref/ge25519.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_sign/edwards25519sha512batch/ref/sc25519.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_sign/edwards25519sha512batch/ref/sc25519.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_stream/aes128ctr/portable/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_stream/aes128ctr/portable/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_stream/aes128ctr/portable/common.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_stream/aes128ctr/portable/common.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_stream/aes128ctr/portable/consts.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_stream/aes128ctr/portable/consts.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_stream/aes128ctr/portable/int128.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_stream/aes128ctr/portable/int128.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_stream/aes128ctr/portable/types.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_stream/aes128ctr/portable/types.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_stream/chacha20/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_stream/chacha20/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_stream/salsa20/amd64_xmm6/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_stream/salsa20/amd64_xmm6/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_stream/salsa20/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_stream/salsa20/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_stream/salsa2012/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_stream/salsa2012/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_stream/salsa208/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_stream/salsa208/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_stream/xsalsa20/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_stream/xsalsa20/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_verify/16/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_verify/16/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_verify/32/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_verify/32/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/crypto_verify/64/ref/api.h: -------------------------------------------------------------------------------- 1 | ../../../../../libsodium/src/libsodium/crypto_verify/64/ref/api.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium.h: -------------------------------------------------------------------------------- 1 | ../../../libsodium/src/libsodium/include/sodium.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/core.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/core.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_aead_chacha20poly1305.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_aead_chacha20poly1305.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_auth.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_auth.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_auth_hmacsha256.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha256.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_auth_hmacsha512.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha512.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_auth_hmacsha512256.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha512256.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_box.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_box.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_box_curve25519xsalsa20poly1305.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_box_curve25519xsalsa20poly1305.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_core_hsalsa20.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_core_hsalsa20.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_core_salsa20.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_core_salsa20.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_core_salsa2012.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_core_salsa2012.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_core_salsa208.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_core_salsa208.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_generichash.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_generichash.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_generichash_blake2b.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_generichash_blake2b.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_hash.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_hash.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_hash_sha256.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_hash_sha256.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_hash_sha512.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_hash_sha512.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_int32.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_int32.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_int64.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_int64.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_onetimeauth.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_onetimeauth.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_onetimeauth_poly1305.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_onetimeauth_poly1305.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_pwhash_scryptsalsa208sha256.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_pwhash_scryptsalsa208sha256.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_scalarmult.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_scalarmult.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_scalarmult_curve25519.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_scalarmult_curve25519.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_secretbox.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_secretbox.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_secretbox_xsalsa20poly1305.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_secretbox_xsalsa20poly1305.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_shorthash.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_shorthash.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_shorthash_siphash24.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_shorthash_siphash24.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_sign.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_sign.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_sign_ed25519.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_sign_ed25519.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_sign_edwards25519sha512batch.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_stream.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_stream.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_stream_aes128ctr.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_stream_aes128ctr.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_stream_chacha20.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_stream_chacha20.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_stream_salsa20.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_stream_salsa20.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_stream_salsa2012.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_stream_salsa2012.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_stream_salsa208.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_stream_salsa208.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_stream_xsalsa20.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_stream_xsalsa20.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_uint16.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_uint16.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_uint32.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_uint32.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_uint64.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_uint64.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_uint8.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_uint8.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_verify_16.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_verify_16.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_verify_32.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_verify_32.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/crypto_verify_64.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/crypto_verify_64.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/export.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/export.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/randombytes.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/randombytes.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/randombytes_salsa20_random.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/randombytes_salsa20_random.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/randombytes_sysrandom.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/randombytes_sysrandom.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/runtime.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/runtime.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/utils.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/utils.h -------------------------------------------------------------------------------- /Pods/Headers/Public/libsodium/sodium/version.h: -------------------------------------------------------------------------------- 1 | ../../../../libsodium/src/libsodium/include/sodium/version.h -------------------------------------------------------------------------------- /Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - libsodium (1.0.3) 3 | 4 | DEPENDENCIES: 5 | - libsodium (~> 1.0.3) 6 | 7 | SPEC CHECKSUMS: 8 | libsodium: be547e31dc75725629acc5717dc0a40fc05ef243 9 | 10 | COCOAPODS: 0.39.0 11 | -------------------------------------------------------------------------------- /Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Pods/Pods.xcodeproj/project.xcworkspace/xcuserdata/binss.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/Pods/Pods.xcodeproj/project.xcworkspace/xcuserdata/binss.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Pods/Pods.xcodeproj/xcuserdata/binss.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Pods.xcscheme 8 | 9 | isShown 10 | 11 | 12 | libsodium.xcscheme 13 | 14 | isShown 15 | 16 | 17 | 18 | SuppressBuildableAutocreation 19 | 20 | 1BA0651B929BF31AE174E50001C345A5 21 | 22 | primary 23 | 24 | 25 | 2BBB07671F2703B4D3902EC0E62B2E33 26 | 27 | primary 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods/Pods-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods : NSObject 3 | @end 4 | @implementation PodsDummy_Pods 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods/Pods.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/libsodium" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/libsodium" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"libsodium" 5 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods/Pods.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/libsodium" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/libsodium" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"libsodium" 5 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Pods/Target Support Files/libsodium/libsodium-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_libsodium : NSObject 3 | @end 4 | @implementation PodsDummy_libsodium 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/libsodium/libsodium-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Pods/Target Support Files/libsodium/libsodium.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/libsodium" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/libsodium" 3 | PODS_ROOT = ${SRCROOT} 4 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /Pods/libsodium/LICENSE: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013-2015 3 | * Frank Denis 4 | * 5 | * Permission to use, copy, modify, and/or distribute this software for any 6 | * purpose with or without fee is hereby granted, provided that the above 7 | * copyright notice and this permission notice appear in all copies. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | */ 17 | -------------------------------------------------------------------------------- /Pods/libsodium/README: -------------------------------------------------------------------------------- 1 | See README.markdown 2 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_auth/crypto_auth.c: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_auth.h" 3 | 4 | size_t 5 | crypto_auth_bytes(void) 6 | { 7 | return crypto_auth_BYTES; 8 | } 9 | 10 | size_t 11 | crypto_auth_keybytes(void) 12 | { 13 | return crypto_auth_KEYBYTES; 14 | } 15 | 16 | const char * 17 | crypto_auth_primitive(void) 18 | { 19 | return crypto_auth_PRIMITIVE; 20 | } 21 | 22 | int 23 | crypto_auth(unsigned char *out, const unsigned char *in, 24 | unsigned long long inlen, const unsigned char *k) 25 | { 26 | return crypto_auth_hmacsha512256(out, in, inlen, k); 27 | } 28 | 29 | int 30 | crypto_auth_verify(const unsigned char *h, const unsigned char *in, 31 | unsigned long long inlen,const unsigned char *k) 32 | { 33 | return crypto_auth_hmacsha512256_verify(h, in, inlen, k); 34 | } 35 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_auth/hmacsha256/auth_hmacsha256_api.c: -------------------------------------------------------------------------------- 1 | #include "crypto_auth_hmacsha256.h" 2 | 3 | size_t 4 | crypto_auth_hmacsha256_bytes(void) { 5 | return crypto_auth_hmacsha256_BYTES; 6 | } 7 | 8 | size_t 9 | crypto_auth_hmacsha256_keybytes(void) { 10 | return crypto_auth_hmacsha256_KEYBYTES; 11 | } 12 | 13 | size_t 14 | crypto_auth_hmacsha256_statebytes(void) { 15 | return sizeof(crypto_auth_hmacsha256_state); 16 | } 17 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_auth/hmacsha256/cp/api.h: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_auth_hmacsha256.h" 3 | 4 | #define crypto_auth crypto_auth_hmacsha256 5 | #define crypto_auth_verify crypto_auth_hmacsha256_verify 6 | #define crypto_auth_BYTES crypto_auth_hmacsha256_BYTES 7 | #define crypto_auth_KEYBYTES crypto_auth_hmacsha256_KEYBYTES 8 | #define crypto_auth_IMPLEMENTATION crypto_auth_hmacsha256_IMPLEMENTATION 9 | #define crypto_auth_VERSION crypto_auth_hmacsha256_VERSION 10 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_auth/hmacsha256/cp/verify_hmacsha256.c: -------------------------------------------------------------------------------- 1 | #include "api.h" 2 | #include "crypto_verify_32.h" 3 | #include "utils.h" 4 | 5 | int crypto_auth_verify(const unsigned char *h,const unsigned char *in,unsigned long long inlen,const unsigned char *k) 6 | { 7 | unsigned char correct[32]; 8 | crypto_auth(correct,in,inlen,k); 9 | return crypto_verify_32(h,correct) | (-(h == correct)) | 10 | sodium_memcmp(correct,h,32); 11 | } 12 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_auth/hmacsha512/auth_hmacsha512_api.c: -------------------------------------------------------------------------------- 1 | #include "crypto_auth_hmacsha512.h" 2 | 3 | size_t 4 | crypto_auth_hmacsha512_bytes(void) { 5 | return crypto_auth_hmacsha512_BYTES; 6 | } 7 | 8 | size_t 9 | crypto_auth_hmacsha512_keybytes(void) { 10 | return crypto_auth_hmacsha512_KEYBYTES; 11 | } 12 | 13 | size_t 14 | crypto_auth_hmacsha512_statebytes(void) { 15 | return sizeof(crypto_auth_hmacsha512_state); 16 | } 17 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_auth/hmacsha512/cp/api.h: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_auth_hmacsha512.h" 3 | 4 | #define crypto_auth crypto_auth_hmacsha512 5 | #define crypto_auth_verify crypto_auth_hmacsha512_verify 6 | #define crypto_auth_BYTES crypto_auth_hmacsha512_BYTES 7 | #define crypto_auth_KEYBYTES crypto_auth_hmacsha512_KEYBYTES 8 | #define crypto_auth_IMPLEMENTATION crypto_auth_hmacsha512_IMPLEMENTATION 9 | #define crypto_auth_VERSION crypto_auth_hmacsha512_VERSION 10 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_auth/hmacsha512/cp/verify_hmacsha512.c: -------------------------------------------------------------------------------- 1 | #include "api.h" 2 | #include "crypto_verify_64.h" 3 | #include "utils.h" 4 | 5 | int crypto_auth_verify(const unsigned char *h, const unsigned char *in, 6 | unsigned long long inlen, const unsigned char *k) 7 | { 8 | unsigned char correct[64]; 9 | crypto_auth(correct,in,inlen,k); 10 | return crypto_verify_64(h,correct) | (-(h == correct)) | 11 | sodium_memcmp(correct,h,64); 12 | } 13 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_auth/hmacsha512256/auth_hmacsha512256_api.c: -------------------------------------------------------------------------------- 1 | #include "crypto_auth_hmacsha512256.h" 2 | 3 | size_t 4 | crypto_auth_hmacsha512256_bytes(void) { 5 | return crypto_auth_hmacsha512256_BYTES; 6 | } 7 | 8 | size_t 9 | crypto_auth_hmacsha512256_keybytes(void) { 10 | return crypto_auth_hmacsha512256_KEYBYTES; 11 | } 12 | 13 | size_t 14 | crypto_auth_hmacsha512256_statebytes(void) { 15 | return sizeof(crypto_auth_hmacsha512256_state); 16 | } 17 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_auth/hmacsha512256/cp/api.h: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_auth_hmacsha512256.h" 3 | 4 | #define crypto_auth crypto_auth_hmacsha512256 5 | #define crypto_auth_verify crypto_auth_hmacsha512256_verify 6 | #define crypto_auth_BYTES crypto_auth_hmacsha512256_BYTES 7 | #define crypto_auth_KEYBYTES crypto_auth_hmacsha512256_KEYBYTES 8 | #define crypto_auth_IMPLEMENTATION crypto_auth_hmacsha512256_IMPLEMENTATION 9 | #define crypto_auth_VERSION crypto_auth_hmacsha512256_VERSION 10 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_auth/hmacsha512256/cp/verify_hmacsha512256.c: -------------------------------------------------------------------------------- 1 | #include "api.h" 2 | #include "crypto_verify_32.h" 3 | #include "utils.h" 4 | 5 | int crypto_auth_verify(const unsigned char *h, const unsigned char *in, 6 | unsigned long long inlen, const unsigned char *k) 7 | { 8 | unsigned char correct[32]; 9 | crypto_auth(correct,in,inlen,k); 10 | return crypto_verify_32(h,correct) | (-(h == correct)) | 11 | sodium_memcmp(correct,h,32); 12 | } 13 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/after_curve25519xsalsa20poly1305.c: -------------------------------------------------------------------------------- 1 | #include "api.h" 2 | #include "crypto_secretbox_xsalsa20poly1305.h" 3 | 4 | int crypto_box_afternm( 5 | unsigned char *c, 6 | const unsigned char *m,unsigned long long mlen, 7 | const unsigned char *n, 8 | const unsigned char *k 9 | ) 10 | { 11 | return crypto_secretbox_xsalsa20poly1305(c,m,mlen,n,k); 12 | } 13 | 14 | int crypto_box_open_afternm( 15 | unsigned char *m, 16 | const unsigned char *c,unsigned long long clen, 17 | const unsigned char *n, 18 | const unsigned char *k 19 | ) 20 | { 21 | return crypto_secretbox_xsalsa20poly1305_open(m,c,clen,n,k); 22 | } 23 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/before_curve25519xsalsa20poly1305.c: -------------------------------------------------------------------------------- 1 | #include "api.h" 2 | #include "crypto_core_hsalsa20.h" 3 | #include "crypto_scalarmult_curve25519.h" 4 | 5 | static const unsigned char sigma[16] = { 6 | 'e', 'x', 'p', 'a', 'n', 'd', ' ', '3', '2', '-', 'b', 'y', 't', 'e', ' ', 'k' 7 | }; 8 | static const unsigned char n[16] = {0}; 9 | 10 | int crypto_box_beforenm( 11 | unsigned char *k, 12 | const unsigned char *pk, 13 | const unsigned char *sk 14 | ) 15 | { 16 | unsigned char s[32]; 17 | crypto_scalarmult_curve25519(s,sk,pk); 18 | return crypto_core_hsalsa20(k,n,s,sigma); 19 | } 20 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/keypair_curve25519xsalsa20poly1305.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "crypto_hash_sha512.h" 4 | #include "crypto_scalarmult_curve25519.h" 5 | #include "api.h" 6 | #include "randombytes.h" 7 | 8 | int crypto_box_seed_keypair( 9 | unsigned char *pk, 10 | unsigned char *sk, 11 | const unsigned char *seed 12 | ) 13 | { 14 | unsigned char hash[64]; 15 | crypto_hash_sha512(hash,seed,32); 16 | memmove(sk,hash,32); 17 | return crypto_scalarmult_curve25519_base(pk,sk); 18 | } 19 | 20 | int crypto_box_keypair( 21 | unsigned char *pk, 22 | unsigned char *sk 23 | ) 24 | { 25 | randombytes_buf(sk,32); 26 | return crypto_scalarmult_curve25519_base(pk,sk); 27 | } 28 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_core/hsalsa20/core_hsalsa20_api.c: -------------------------------------------------------------------------------- 1 | #include "crypto_core_hsalsa20.h" 2 | 3 | size_t 4 | crypto_core_hsalsa20_outputbytes(void) { 5 | return crypto_core_hsalsa20_OUTPUTBYTES; 6 | } 7 | 8 | size_t 9 | crypto_core_hsalsa20_inputbytes(void) { 10 | return crypto_core_hsalsa20_INPUTBYTES; 11 | } 12 | 13 | size_t 14 | crypto_core_hsalsa20_keybytes(void) { 15 | return crypto_core_hsalsa20_KEYBYTES; 16 | } 17 | 18 | size_t 19 | crypto_core_hsalsa20_constbytes(void) { 20 | return crypto_core_hsalsa20_CONSTBYTES; 21 | } 22 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_core/hsalsa20/ref2/api.h: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_core_hsalsa20.h" 3 | 4 | #define crypto_core crypto_core_hsalsa20 5 | #define crypto_core_OUTPUTBYTES crypto_core_hsalsa20_OUTPUTBYTES 6 | #define crypto_core_INPUTBYTES crypto_core_hsalsa20_INPUTBYTES 7 | #define crypto_core_KEYBYTES crypto_core_hsalsa20_KEYBYTES 8 | #define crypto_core_CONSTBYTES crypto_core_hsalsa20_CONSTBYTES 9 | #define crypto_core_IMPLEMENTATION crypto_core_hsalsa20_IMPLEMENTATION 10 | #define crypto_core_VERSION crypto_core_hsalsa20_VERSION 11 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_core/salsa20/core_salsa20_api.c: -------------------------------------------------------------------------------- 1 | #include "crypto_core_salsa20.h" 2 | 3 | size_t 4 | crypto_core_salsa20_outputbytes(void) { 5 | return crypto_core_salsa20_OUTPUTBYTES; 6 | } 7 | 8 | size_t 9 | crypto_core_salsa20_inputbytes(void) { 10 | return crypto_core_salsa20_INPUTBYTES; 11 | } 12 | 13 | size_t 14 | crypto_core_salsa20_keybytes(void) { 15 | return crypto_core_salsa20_KEYBYTES; 16 | } 17 | 18 | size_t 19 | crypto_core_salsa20_constbytes(void) { 20 | return crypto_core_salsa20_CONSTBYTES; 21 | } 22 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_core/salsa20/ref/api.h: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_core_salsa20.h" 3 | 4 | #define crypto_core crypto_core_salsa20 5 | #define crypto_core_OUTPUTBYTES crypto_core_salsa20_OUTPUTBYTES 6 | #define crypto_core_INPUTBYTES crypto_core_salsa20_INPUTBYTES 7 | #define crypto_core_KEYBYTES crypto_core_salsa20_KEYBYTES 8 | #define crypto_core_CONSTBYTES crypto_core_salsa20_CONSTBYTES 9 | #define crypto_core_IMPLEMENTATION crypto_core_salsa20_IMPLEMENTATION 10 | #define crypto_core_VERSION crypto_core_salsa20_VERSION 11 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_core/salsa2012/core_salsa2012_api.c: -------------------------------------------------------------------------------- 1 | #include "crypto_core_salsa2012.h" 2 | 3 | size_t 4 | crypto_core_salsa2012_outputbytes(void) { 5 | return crypto_core_salsa2012_OUTPUTBYTES; 6 | } 7 | 8 | size_t 9 | crypto_core_salsa2012_inputbytes(void) { 10 | return crypto_core_salsa2012_INPUTBYTES; 11 | } 12 | 13 | size_t 14 | crypto_core_salsa2012_keybytes(void) { 15 | return crypto_core_salsa2012_KEYBYTES; 16 | } 17 | 18 | size_t 19 | crypto_core_salsa2012_constbytes(void) { 20 | return crypto_core_salsa2012_CONSTBYTES; 21 | } 22 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_core/salsa2012/ref/api.h: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_core_salsa2012.h" 3 | 4 | #define crypto_core crypto_core_salsa2012 5 | #define crypto_core_OUTPUTBYTES crypto_core_salsa2012_OUTPUTBYTES 6 | #define crypto_core_INPUTBYTES crypto_core_salsa2012_INPUTBYTES 7 | #define crypto_core_KEYBYTES crypto_core_salsa2012_KEYBYTES 8 | #define crypto_core_CONSTBYTES crypto_core_salsa2012_CONSTBYTES 9 | #define crypto_core_IMPLEMENTATION crypto_core_salsa2012_IMPLEMENTATION 10 | #define crypto_core_VERSION crypto_core_salsa2012_VERSION 11 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_core/salsa208/core_salsa208_api.c: -------------------------------------------------------------------------------- 1 | #include "crypto_core_salsa208.h" 2 | 3 | size_t 4 | crypto_core_salsa208_outputbytes(void) { 5 | return crypto_core_salsa208_OUTPUTBYTES; 6 | } 7 | 8 | size_t 9 | crypto_core_salsa208_inputbytes(void) { 10 | return crypto_core_salsa208_INPUTBYTES; 11 | } 12 | 13 | size_t 14 | crypto_core_salsa208_keybytes(void) { 15 | return crypto_core_salsa208_KEYBYTES; 16 | } 17 | 18 | size_t 19 | crypto_core_salsa208_constbytes(void) { 20 | return crypto_core_salsa208_CONSTBYTES; 21 | } 22 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_core/salsa208/ref/api.h: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_core_salsa208.h" 3 | 4 | #define crypto_core crypto_core_salsa208 5 | #define crypto_core_OUTPUTBYTES crypto_core_salsa208_OUTPUTBYTES 6 | #define crypto_core_INPUTBYTES crypto_core_salsa208_INPUTBYTES 7 | #define crypto_core_KEYBYTES crypto_core_salsa208_KEYBYTES 8 | #define crypto_core_CONSTBYTES crypto_core_salsa208_CONSTBYTES 9 | #define crypto_core_IMPLEMENTATION crypto_core_salsa208_IMPLEMENTATION 10 | #define crypto_core_VERSION crypto_core_salsa208_VERSION 11 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_generichash/blake2/ref/api.h: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_generichash_blake2b.h" 3 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_hash/crypto_hash.c: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_hash.h" 3 | 4 | size_t 5 | crypto_hash_bytes(void) 6 | { 7 | return crypto_hash_BYTES; 8 | } 9 | 10 | int 11 | crypto_hash(unsigned char *out, const unsigned char *in, 12 | unsigned long long inlen) 13 | { 14 | return crypto_hash_sha512(out, in, inlen); 15 | } 16 | 17 | const char * 18 | crypto_hash_primitive(void) { 19 | return crypto_hash_PRIMITIVE; 20 | } 21 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_hash/sha256/cp/api.h: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_hash_sha256.h" 3 | 4 | #define crypto_hash crypto_hash_sha256 5 | #define crypto_hash_init crypto_hash_sha256_init 6 | #define crypto_hash_update crypto_hash_sha256_update 7 | #define crypto_hash_final crypto_hash_sha256_final 8 | #define crypto_hash_BYTES crypto_hash_sha256_BYTES 9 | #define crypto_hash_IMPLEMENTATION crypto_hash_sha256_IMPLEMENTATION 10 | #define crypto_hash_VERSION crypto_hash_sha256_VERSION 11 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_hash/sha256/hash_sha256_api.c: -------------------------------------------------------------------------------- 1 | #include "crypto_hash_sha256.h" 2 | 3 | size_t 4 | crypto_hash_sha256_bytes(void) { 5 | return crypto_hash_sha256_BYTES; 6 | } 7 | 8 | size_t 9 | crypto_hash_sha256_statebytes(void) { 10 | return sizeof(crypto_hash_sha256_state); 11 | } 12 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_hash/sha512/cp/api.h: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_hash_sha512.h" 3 | 4 | #define crypto_hash crypto_hash_sha512 5 | #define crypto_hash_init crypto_hash_sha512_init 6 | #define crypto_hash_update crypto_hash_sha512_update 7 | #define crypto_hash_final crypto_hash_sha512_final 8 | #define crypto_hash_BYTES crypto_hash_sha512_BYTES 9 | #define crypto_hash_IMPLEMENTATION crypto_hash_sha512_IMPLEMENTATION 10 | #define crypto_hash_VERSION crypto_hash_sha512_VERSION 11 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_hash/sha512/hash_sha512_api.c: -------------------------------------------------------------------------------- 1 | #include "crypto_hash_sha512.h" 2 | 3 | size_t 4 | crypto_hash_sha512_bytes(void) { 5 | return crypto_hash_sha512_BYTES; 6 | } 7 | 8 | size_t 9 | crypto_hash_sha512_statebytes(void) { 10 | return sizeof(crypto_hash_sha512_state); 11 | } 12 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/verify_poly1305_donna.c: -------------------------------------------------------------------------------- 1 | #include "crypto_onetimeauth_poly1305.h" 2 | #include "crypto_verify_16.h" 3 | #include "poly1305_donna.h" 4 | 5 | int 6 | crypto_onetimeauth_poly1305_donna_verify(const unsigned char *h, 7 | const unsigned char *in, 8 | unsigned long long inlen, 9 | const unsigned char *k) 10 | { 11 | unsigned char correct[16]; 12 | 13 | crypto_onetimeauth_poly1305_donna(correct,in,inlen,k); 14 | return crypto_verify_16(h,correct); 15 | } 16 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305_api.c: -------------------------------------------------------------------------------- 1 | #include "crypto_onetimeauth_poly1305.h" 2 | 3 | size_t 4 | crypto_onetimeauth_poly1305_bytes(void) { 5 | return crypto_onetimeauth_poly1305_BYTES; 6 | } 7 | 8 | size_t 9 | crypto_onetimeauth_poly1305_keybytes(void) { 10 | return crypto_onetimeauth_poly1305_KEYBYTES; 11 | } 12 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305_try.c: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | #include 4 | #include "crypto_onetimeauth.h" 5 | #include "crypto_onetimeauth_poly1305.h" 6 | #include "utils.h" 7 | #include "donna/poly1305_donna.h" 8 | 9 | crypto_onetimeauth_poly1305_implementation * 10 | crypto_onetimeauth_pick_best_implementation(void) 11 | { 12 | return &crypto_onetimeauth_poly1305_donna_implementation; 13 | } 14 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_scalarmult.h" 3 | 4 | size_t 5 | crypto_scalarmult_bytes(void) 6 | { 7 | return crypto_scalarmult_BYTES; 8 | } 9 | 10 | size_t 11 | crypto_scalarmult_scalarbytes(void) 12 | { 13 | return crypto_scalarmult_SCALARBYTES; 14 | } 15 | 16 | const char * 17 | crypto_scalarmult_primitive(void) 18 | { 19 | return crypto_scalarmult_PRIMITIVE; 20 | } 21 | 22 | int 23 | crypto_scalarmult_base(unsigned char *q, const unsigned char *n) 24 | { 25 | return crypto_scalarmult_curve25519_base(q, n); 26 | } 27 | 28 | int 29 | crypto_scalarmult(unsigned char *q, const unsigned char *n, 30 | const unsigned char *p) 31 | { 32 | return crypto_scalarmult_curve25519(q, n, p); 33 | } 34 | 35 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/api.h: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_scalarmult_curve25519.h" 3 | 4 | #define crypto_scalarmult_curve25519_implementation_name \ 5 | crypto_scalarmult_curve25519_donna_c64_implementation_name 6 | 7 | #define crypto_scalarmult crypto_scalarmult_curve25519 8 | #define crypto_scalarmult_base crypto_scalarmult_curve25519_base 9 | 10 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/base_curve25519_donna_c64.c: -------------------------------------------------------------------------------- 1 | 2 | #include "api.h" 3 | 4 | #ifdef HAVE_TI_MODE 5 | 6 | static const unsigned char basepoint[32] = {9}; 7 | 8 | int crypto_scalarmult_base(unsigned char *q,const unsigned char *n) 9 | { 10 | return crypto_scalarmult(q, n, basepoint); 11 | } 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/api.h: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_scalarmult_curve25519.h" 3 | 4 | #define crypto_scalarmult crypto_scalarmult_curve25519 5 | #define crypto_scalarmult_base crypto_scalarmult_curve25519_base 6 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/base_curve25519_ref10.c: -------------------------------------------------------------------------------- 1 | 2 | #include "api.h" 3 | #include "crypto_scalarmult.h" 4 | 5 | #ifndef HAVE_TI_MODE 6 | 7 | static const unsigned char basepoint[32] = {9}; 8 | 9 | int crypto_scalarmult_base(unsigned char *q,const unsigned char *n) 10 | { 11 | return crypto_scalarmult(q,n,basepoint); 12 | } 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_0_curve25519_ref10.c: -------------------------------------------------------------------------------- 1 | #include "fe.h" 2 | 3 | #ifndef HAVE_TI_MODE 4 | 5 | /* 6 | h = 0 7 | */ 8 | 9 | void fe_0(fe h) 10 | { 11 | h[0] = 0; 12 | h[1] = 0; 13 | h[2] = 0; 14 | h[3] = 0; 15 | h[4] = 0; 16 | h[5] = 0; 17 | h[6] = 0; 18 | h[7] = 0; 19 | h[8] = 0; 20 | h[9] = 0; 21 | } 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_1_curve25519_ref10.c: -------------------------------------------------------------------------------- 1 | #include "fe.h" 2 | 3 | #ifndef HAVE_TI_MODE 4 | 5 | /* 6 | h = 1 7 | */ 8 | 9 | void fe_1(fe h) 10 | { 11 | h[0] = 1; 12 | h[1] = 0; 13 | h[2] = 0; 14 | h[3] = 0; 15 | h[4] = 0; 16 | h[5] = 0; 17 | h[6] = 0; 18 | h[7] = 0; 19 | h[8] = 0; 20 | h[9] = 0; 21 | } 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_copy_curve25519_ref10.c: -------------------------------------------------------------------------------- 1 | #include "fe.h" 2 | 3 | #ifndef HAVE_TI_MODE 4 | 5 | /* 6 | h = f 7 | */ 8 | 9 | void fe_copy(fe h,fe f) 10 | { 11 | crypto_int32 f0 = f[0]; 12 | crypto_int32 f1 = f[1]; 13 | crypto_int32 f2 = f[2]; 14 | crypto_int32 f3 = f[3]; 15 | crypto_int32 f4 = f[4]; 16 | crypto_int32 f5 = f[5]; 17 | crypto_int32 f6 = f[6]; 18 | crypto_int32 f7 = f[7]; 19 | crypto_int32 f8 = f[8]; 20 | crypto_int32 f9 = f[9]; 21 | h[0] = f0; 22 | h[1] = f1; 23 | h[2] = f2; 24 | h[3] = f3; 25 | h[4] = f4; 26 | h[5] = f5; 27 | h[6] = f6; 28 | h[7] = f7; 29 | h[8] = f8; 30 | h[9] = f9; 31 | } 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_invert_curve25519_ref10.c: -------------------------------------------------------------------------------- 1 | #include "fe.h" 2 | 3 | #ifndef HAVE_TI_MODE 4 | 5 | void fe_invert(fe out,fe z) 6 | { 7 | fe t0; 8 | fe t1; 9 | fe t2; 10 | fe t3; 11 | int i; 12 | 13 | #include "pow225521.h" 14 | 15 | return; 16 | } 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_scalarmult/curve25519/scalarmult_curve25519_api.c: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_scalarmult_curve25519.h" 3 | 4 | size_t 5 | crypto_scalarmult_curve25519_bytes(void) 6 | { 7 | return crypto_scalarmult_curve25519_BYTES; 8 | } 9 | 10 | size_t 11 | crypto_scalarmult_curve25519_scalarbytes(void) 12 | { 13 | return crypto_scalarmult_curve25519_SCALARBYTES; 14 | } 15 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_secretbox/xsalsa20poly1305/ref/api.h: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_secretbox_xsalsa20poly1305.h" 3 | 4 | #define crypto_secretbox crypto_secretbox_xsalsa20poly1305 5 | #define crypto_secretbox_open crypto_secretbox_xsalsa20poly1305_open 6 | #define crypto_secretbox_KEYBYTES crypto_secretbox_xsalsa20poly1305_KEYBYTES 7 | #define crypto_secretbox_NONCEBYTES crypto_secretbox_xsalsa20poly1305_NONCEBYTES 8 | #define crypto_secretbox_ZEROBYTES crypto_secretbox_xsalsa20poly1305_ZEROBYTES 9 | #define crypto_secretbox_BOXZEROBYTES crypto_secretbox_xsalsa20poly1305_BOXZEROBYTES 10 | #define crypto_secretbox_IMPLEMENTATION crypto_secretbox_xsalsa20poly1305_IMPLEMENTATION 11 | #define crypto_secretbox_VERSION crypto_secretbox_xsalsa20poly1305_VERSION 12 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_secretbox/xsalsa20poly1305/secretbox_xsalsa20poly1305_api.c: -------------------------------------------------------------------------------- 1 | #include "crypto_secretbox_xsalsa20poly1305.h" 2 | 3 | size_t 4 | crypto_secretbox_xsalsa20poly1305_keybytes(void) { 5 | return crypto_secretbox_xsalsa20poly1305_KEYBYTES; 6 | } 7 | 8 | size_t 9 | crypto_secretbox_xsalsa20poly1305_noncebytes(void) { 10 | return crypto_secretbox_xsalsa20poly1305_NONCEBYTES; 11 | } 12 | 13 | size_t 14 | crypto_secretbox_xsalsa20poly1305_zerobytes(void) { 15 | return crypto_secretbox_xsalsa20poly1305_ZEROBYTES; 16 | } 17 | 18 | size_t 19 | crypto_secretbox_xsalsa20poly1305_boxzerobytes(void) { 20 | return crypto_secretbox_xsalsa20poly1305_BOXZEROBYTES; 21 | } 22 | 23 | size_t 24 | crypto_secretbox_xsalsa20poly1305_macbytes(void) { 25 | return crypto_secretbox_xsalsa20poly1305_MACBYTES; 26 | } 27 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_shorthash/crypto_shorthash.c: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_shorthash.h" 3 | 4 | size_t 5 | crypto_shorthash_bytes(void) 6 | { 7 | return crypto_shorthash_BYTES; 8 | } 9 | 10 | size_t 11 | crypto_shorthash_keybytes(void) 12 | { 13 | return crypto_shorthash_KEYBYTES; 14 | } 15 | 16 | const char * 17 | crypto_shorthash_primitive(void) 18 | { 19 | return crypto_shorthash_PRIMITIVE; 20 | } 21 | 22 | int 23 | crypto_shorthash(unsigned char *out, const unsigned char *in, 24 | unsigned long long inlen, const unsigned char *k) 25 | { 26 | return crypto_shorthash_siphash24(out, in, inlen, k); 27 | } 28 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_shorthash/siphash24/ref/api.h: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_shorthash_siphash24.h" 3 | 4 | #define crypto_shorthash crypto_shorthash_siphash24 5 | #define crypto_shorthash_BYTES crypto_shorthash_siphash24_BYTES 6 | #define crypto_shorthash_IMPLEMENTATION crypto_shorthash_siphash24_IMPLEMENTATION 7 | #define crypto_shorthash_VERSION crypto_shorthash_siphash24_VERSION 8 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_shorthash/siphash24/shorthash_siphash24_api.c: -------------------------------------------------------------------------------- 1 | #include "crypto_shorthash_siphash24.h" 2 | 3 | size_t 4 | crypto_shorthash_siphash24_bytes(void) { 5 | return crypto_shorthash_siphash24_BYTES; 6 | } 7 | 8 | size_t 9 | crypto_shorthash_siphash24_keybytes(void) { 10 | return crypto_shorthash_siphash24_KEYBYTES; 11 | } 12 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/api.h: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_sign_ed25519.h" 3 | 4 | #define crypto_sign crypto_sign_ed25519 5 | #define crypto_sign_detached crypto_sign_ed25519_detached 6 | #define crypto_sign_open crypto_sign_ed25519_open 7 | #define crypto_sign_verify_detached crypto_sign_ed25519_verify_detached 8 | #define crypto_sign_keypair crypto_sign_ed25519_keypair 9 | #define crypto_sign_seed_keypair crypto_sign_ed25519_seed_keypair 10 | #define crypto_sign_BYTES crypto_sign_ed25519_BYTES 11 | #define crypto_sign_SEEDBYTES crypto_sign_ed25519_SEEDBYTES 12 | #define crypto_sign_PUBLICKEYBYTES crypto_sign_ed25519_PUBLICKEYBYTES 13 | #define crypto_sign_SECRETKEYBYTES crypto_sign_ed25519_SECRETKEYBYTES 14 | #define crypto_sign_IMPLEMENTATION crypto_sign_ed25519_IMPLEMENTATION 15 | #define crypto_sign_VERSION crypto_sign_ed25519_VERSION 16 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/d.h: -------------------------------------------------------------------------------- 1 | -10913610,13857413,-15372611,6949391,114729,-8787816,-6275908,-3247719,-18696448,-12055116 2 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/d2.h: -------------------------------------------------------------------------------- 1 | -21827239,-5839606,-30745221,13898782,229458,15978800,-12551817,-6495438,29715968,9444199 2 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_0.c: -------------------------------------------------------------------------------- 1 | #include "fe.h" 2 | 3 | /* 4 | h = 0 5 | */ 6 | 7 | void fe_0(fe h) 8 | { 9 | h[0] = 0; 10 | h[1] = 0; 11 | h[2] = 0; 12 | h[3] = 0; 13 | h[4] = 0; 14 | h[5] = 0; 15 | h[6] = 0; 16 | h[7] = 0; 17 | h[8] = 0; 18 | h[9] = 0; 19 | } 20 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_1.c: -------------------------------------------------------------------------------- 1 | #include "fe.h" 2 | 3 | /* 4 | h = 1 5 | */ 6 | 7 | void fe_1(fe h) 8 | { 9 | h[0] = 1; 10 | h[1] = 0; 11 | h[2] = 0; 12 | h[3] = 0; 13 | h[4] = 0; 14 | h[5] = 0; 15 | h[6] = 0; 16 | h[7] = 0; 17 | h[8] = 0; 18 | h[9] = 0; 19 | } 20 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_copy.c: -------------------------------------------------------------------------------- 1 | #include "fe.h" 2 | 3 | /* 4 | h = f 5 | */ 6 | 7 | void fe_copy(fe h,const fe f) 8 | { 9 | crypto_int32 f0 = f[0]; 10 | crypto_int32 f1 = f[1]; 11 | crypto_int32 f2 = f[2]; 12 | crypto_int32 f3 = f[3]; 13 | crypto_int32 f4 = f[4]; 14 | crypto_int32 f5 = f[5]; 15 | crypto_int32 f6 = f[6]; 16 | crypto_int32 f7 = f[7]; 17 | crypto_int32 f8 = f[8]; 18 | crypto_int32 f9 = f[9]; 19 | h[0] = f0; 20 | h[1] = f1; 21 | h[2] = f2; 22 | h[3] = f3; 23 | h[4] = f4; 24 | h[5] = f5; 25 | h[6] = f6; 26 | h[7] = f7; 27 | h[8] = f8; 28 | h[9] = f9; 29 | } 30 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_invert.c: -------------------------------------------------------------------------------- 1 | #include "fe.h" 2 | 3 | void fe_invert(fe out,const fe z) 4 | { 5 | fe t0; 6 | fe t1; 7 | fe t2; 8 | fe t3; 9 | int i; 10 | 11 | #include "pow225521.h" 12 | 13 | return; 14 | } 15 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_isnegative.c: -------------------------------------------------------------------------------- 1 | #include "fe.h" 2 | 3 | /* 4 | return 1 if f is in {1,3,5,...,q-2} 5 | return 0 if f is in {0,2,4,...,q-1} 6 | 7 | Preconditions: 8 | |f| bounded by 1.1*2^26,1.1*2^25,1.1*2^26,1.1*2^25,etc. 9 | */ 10 | 11 | int fe_isnegative(const fe f) 12 | { 13 | unsigned char s[32]; 14 | fe_tobytes(s,f); 15 | return s[0] & 1; 16 | } 17 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_isnonzero.c: -------------------------------------------------------------------------------- 1 | #include "fe.h" 2 | #include "crypto_verify_32.h" 3 | 4 | /* 5 | return 1 if f == 0 6 | return 0 if f != 0 7 | 8 | Preconditions: 9 | |f| bounded by 1.1*2^26,1.1*2^25,1.1*2^26,1.1*2^25,etc. 10 | */ 11 | 12 | static unsigned char zero[32]; 13 | 14 | int fe_isnonzero(const fe f) 15 | { 16 | unsigned char s[32]; 17 | fe_tobytes(s,f); 18 | return crypto_verify_32(s,zero); 19 | } 20 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_pow22523.c: -------------------------------------------------------------------------------- 1 | #include "fe.h" 2 | 3 | void fe_pow22523(fe out,const fe z) 4 | { 5 | fe t0; 6 | fe t1; 7 | fe t2; 8 | int i; 9 | 10 | #include "pow22523.h" 11 | 12 | return; 13 | } 14 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_add.c: -------------------------------------------------------------------------------- 1 | #include "ge.h" 2 | 3 | /* 4 | r = p + q 5 | */ 6 | 7 | void ge_add(ge_p1p1 *r,const ge_p3 *p,const ge_cached *q) 8 | { 9 | fe t0; 10 | #include "ge_add.h" 11 | } 12 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_madd.c: -------------------------------------------------------------------------------- 1 | #include "ge.h" 2 | 3 | /* 4 | r = p + q 5 | */ 6 | 7 | void ge_madd(ge_p1p1 *r,const ge_p3 *p,const ge_precomp *q) 8 | { 9 | fe t0; 10 | #include "ge_madd.h" 11 | } 12 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_msub.c: -------------------------------------------------------------------------------- 1 | #include "ge.h" 2 | 3 | /* 4 | r = p - q 5 | */ 6 | 7 | void ge_msub(ge_p1p1 *r,const ge_p3 *p,const ge_precomp *q) 8 | { 9 | fe t0; 10 | #include "ge_msub.h" 11 | } 12 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p1p1_to_p2.c: -------------------------------------------------------------------------------- 1 | #include "ge.h" 2 | 3 | /* 4 | r = p 5 | */ 6 | 7 | extern void ge_p1p1_to_p2(ge_p2 *r,const ge_p1p1 *p) 8 | { 9 | fe_mul(r->X,p->X,p->T); 10 | fe_mul(r->Y,p->Y,p->Z); 11 | fe_mul(r->Z,p->Z,p->T); 12 | } 13 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p1p1_to_p3.c: -------------------------------------------------------------------------------- 1 | #include "ge.h" 2 | 3 | /* 4 | r = p 5 | */ 6 | 7 | extern void ge_p1p1_to_p3(ge_p3 *r,const ge_p1p1 *p) 8 | { 9 | fe_mul(r->X,p->X,p->T); 10 | fe_mul(r->Y,p->Y,p->Z); 11 | fe_mul(r->Z,p->Z,p->T); 12 | fe_mul(r->T,p->X,p->Y); 13 | } 14 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p2_0.c: -------------------------------------------------------------------------------- 1 | #include "ge.h" 2 | 3 | void ge_p2_0(ge_p2 *h) 4 | { 5 | fe_0(h->X); 6 | fe_1(h->Y); 7 | fe_1(h->Z); 8 | } 9 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p2_dbl.c: -------------------------------------------------------------------------------- 1 | #include "ge.h" 2 | 3 | /* 4 | r = 2 * p 5 | */ 6 | 7 | void ge_p2_dbl(ge_p1p1 *r,const ge_p2 *p) 8 | { 9 | fe t0; 10 | #include "ge_p2_dbl.h" 11 | } 12 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p3_0.c: -------------------------------------------------------------------------------- 1 | #include "ge.h" 2 | 3 | void ge_p3_0(ge_p3 *h) 4 | { 5 | fe_0(h->X); 6 | fe_1(h->Y); 7 | fe_1(h->Z); 8 | fe_0(h->T); 9 | } 10 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p3_dbl.c: -------------------------------------------------------------------------------- 1 | #include "ge.h" 2 | 3 | /* 4 | r = 2 * p 5 | */ 6 | 7 | void ge_p3_dbl(ge_p1p1 *r,const ge_p3 *p) 8 | { 9 | ge_p2 q; 10 | ge_p3_to_p2(&q,p); 11 | ge_p2_dbl(r,&q); 12 | } 13 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p3_to_cached.c: -------------------------------------------------------------------------------- 1 | #include "ge.h" 2 | 3 | /* 4 | r = p 5 | */ 6 | 7 | static const fe d2 = { 8 | #include "d2.h" 9 | } ; 10 | 11 | extern void ge_p3_to_cached(ge_cached *r,const ge_p3 *p) 12 | { 13 | fe_add(r->YplusX,p->Y,p->X); 14 | fe_sub(r->YminusX,p->Y,p->X); 15 | fe_copy(r->Z,p->Z); 16 | fe_mul(r->T2d,p->T,d2); 17 | } 18 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p3_to_p2.c: -------------------------------------------------------------------------------- 1 | #include "ge.h" 2 | 3 | /* 4 | r = p 5 | */ 6 | 7 | extern void ge_p3_to_p2(ge_p2 *r,const ge_p3 *p) 8 | { 9 | fe_copy(r->X,p->X); 10 | fe_copy(r->Y,p->Y); 11 | fe_copy(r->Z,p->Z); 12 | } 13 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p3_tobytes.c: -------------------------------------------------------------------------------- 1 | #include "ge.h" 2 | 3 | void ge_p3_tobytes(unsigned char *s,const ge_p3 *h) 4 | { 5 | fe recip; 6 | fe x; 7 | fe y; 8 | 9 | fe_invert(recip,h->Z); 10 | fe_mul(x,h->X,recip); 11 | fe_mul(y,h->Y,recip); 12 | fe_tobytes(s,y); 13 | s[31] ^= fe_isnegative(x) << 7; 14 | } 15 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_precomp_0.c: -------------------------------------------------------------------------------- 1 | #include "ge.h" 2 | 3 | void ge_precomp_0(ge_precomp *h) 4 | { 5 | fe_1(h->yplusx); 6 | fe_1(h->yminusx); 7 | fe_0(h->xy2d); 8 | } 9 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_sub.c: -------------------------------------------------------------------------------- 1 | #include "ge.h" 2 | 3 | /* 4 | r = p - q 5 | */ 6 | 7 | void ge_sub(ge_p1p1 *r,const ge_p3 *p,const ge_cached *q) 8 | { 9 | fe t0; 10 | #include "ge_sub.h" 11 | } 12 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_tobytes.c: -------------------------------------------------------------------------------- 1 | #include "ge.h" 2 | 3 | void ge_tobytes(unsigned char *s,const ge_p2 *h) 4 | { 5 | fe recip; 6 | fe x; 7 | fe y; 8 | 9 | fe_invert(recip,h->Z); 10 | fe_mul(x,h->X,recip); 11 | fe_mul(y,h->Y,recip); 12 | fe_tobytes(s,y); 13 | s[31] ^= fe_isnegative(x) << 7; 14 | } 15 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/sc.h: -------------------------------------------------------------------------------- 1 | #ifndef SC_H 2 | #define SC_H 3 | 4 | /* 5 | The set of scalars is \Z/l 6 | where l = 2^252 + 27742317777372353535851937790883648493. 7 | */ 8 | 9 | #define sc_reduce crypto_sign_ed25519_ref10_sc_reduce 10 | #define sc_muladd crypto_sign_ed25519_ref10_sc_muladd 11 | 12 | extern void sc_reduce(unsigned char *); 13 | extern void sc_muladd(unsigned char *,const unsigned char *,const unsigned char *,const unsigned char *); 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/ed25519/ref10/sqrtm1.h: -------------------------------------------------------------------------------- 1 | -32595792,-7943725,9377950,3500415,12389472,-272473,-25146209,-2005654,326686,11406482 2 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/edwards25519sha512batch/ref/api.h: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_sign_edwards25519sha512batch.h" 3 | 4 | #define crypto_sign crypto_sign_edwards25519sha512batch 5 | #define crypto_sign_open crypto_sign_edwards25519sha512batch_open 6 | #define crypto_sign_keypair crypto_sign_edwards25519sha512batch_keypair 7 | #define crypto_sign_BYTES crypto_sign_edwards25519sha512batch_BYTES 8 | #define crypto_sign_PUBLICKEYBYTES crypto_sign_edwards25519sha512batch_PUBLICKEYBYTES 9 | #define crypto_sign_SECRETKEYBYTES crypto_sign_edwards25519sha512batch_SECRETKEYBYTES 10 | #define crypto_sign_IMPLEMENTATION crypto_sign_edwards25519sha512batch_IMPLEMENTATION 11 | #define crypto_sign_VERSION crypto_sign_edwards25519sha512batch_VERSION 12 | 13 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_sign/edwards25519sha512batch/sign_edwards25519sha512batch_api.c: -------------------------------------------------------------------------------- 1 | #include "crypto_sign_edwards25519sha512batch.h" 2 | 3 | size_t 4 | crypto_sign_edwards25519sha512batch_bytes(void) { 5 | return crypto_sign_edwards25519sha512batch_BYTES; 6 | } 7 | 8 | size_t 9 | crypto_sign_edwards25519sha512batch_publickeybytes(void) { 10 | return crypto_sign_edwards25519sha512batch_PUBLICKEYBYTES; 11 | } 12 | 13 | size_t 14 | crypto_sign_edwards25519sha512batch_secretkeybytes(void) { 15 | return crypto_sign_edwards25519sha512batch_SECRETKEYBYTES; 16 | } 17 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/api.h: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_stream_aes128ctr.h" 3 | 4 | #define crypto_stream crypto_stream_aes128ctr 5 | #define crypto_stream_xor crypto_stream_aes128ctr_xor 6 | #define crypto_stream_beforenm crypto_stream_aes128ctr_beforenm 7 | #define crypto_stream_afternm crypto_stream_aes128ctr_afternm 8 | #define crypto_stream_xor_afternm crypto_stream_aes128ctr_xor_afternm 9 | #define crypto_stream_KEYBYTES crypto_stream_aes128ctr_KEYBYTES 10 | #define crypto_stream_NONCEBYTES crypto_stream_aes128ctr_NONCEBYTES 11 | #define crypto_stream_BEFORENMBYTES crypto_stream_aes128ctr_BEFORENMBYTES 12 | #define crypto_stream_IMPLEMENTATION crypto_stream_aes128ctr_IMPLEMENTATION 13 | #define crypto_stream_VERSION crypto_stream_aes128ctr_VERSION 14 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/stream_aes128ctr.c: -------------------------------------------------------------------------------- 1 | #include "api.h" 2 | 3 | int crypto_stream( 4 | unsigned char *out, 5 | unsigned long long outlen, 6 | const unsigned char *n, 7 | const unsigned char *k 8 | ) 9 | { 10 | unsigned char d[crypto_stream_BEFORENMBYTES]; 11 | crypto_stream_beforenm(d, k); 12 | crypto_stream_afternm(out, outlen, n, d); 13 | return 0; 14 | } 15 | 16 | int crypto_stream_xor( 17 | unsigned char *out, 18 | const unsigned char *in, 19 | unsigned long long inlen, 20 | const unsigned char *n, 21 | const unsigned char *k 22 | ) 23 | { 24 | unsigned char d[crypto_stream_BEFORENMBYTES]; 25 | crypto_stream_beforenm(d, k); 26 | crypto_stream_xor_afternm(out, in, inlen, n, d); 27 | return 0; 28 | } 29 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/types.h: -------------------------------------------------------------------------------- 1 | #ifndef TYPES_H 2 | #define TYPES_H 3 | 4 | #include "crypto_uint32.h" 5 | typedef crypto_uint32 uint32; 6 | 7 | #include "crypto_uint64.h" 8 | typedef crypto_uint64 uint64; 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_stream/aes128ctr/stream_aes128ctr_api.c: -------------------------------------------------------------------------------- 1 | #include "crypto_stream_aes128ctr.h" 2 | 3 | size_t 4 | crypto_stream_aes128ctr_keybytes(void) { 5 | return crypto_stream_aes128ctr_KEYBYTES; 6 | } 7 | 8 | size_t 9 | crypto_stream_aes128ctr_noncebytes(void) { 10 | return crypto_stream_aes128ctr_NONCEBYTES; 11 | } 12 | 13 | size_t 14 | crypto_stream_aes128ctr_beforenmbytes(void) { 15 | return crypto_stream_aes128ctr_BEFORENMBYTES; 16 | } 17 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_stream/chacha20/ref/api.h: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_stream_chacha20.h" 3 | 4 | int 5 | crypto_stream_chacha20_ref(unsigned char *c, unsigned long long clen, 6 | const unsigned char *n, const unsigned char *k); 7 | 8 | int 9 | crypto_stream_chacha20_ref_xor_ic(unsigned char *c, const unsigned char *m, 10 | unsigned long long mlen, 11 | const unsigned char *n, uint64_t ic, 12 | const unsigned char *k); 13 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_stream/crypto_stream.c: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_stream.h" 3 | 4 | size_t 5 | crypto_stream_keybytes(void) 6 | { 7 | return crypto_stream_KEYBYTES; 8 | } 9 | 10 | size_t 11 | crypto_stream_noncebytes(void) 12 | { 13 | return crypto_stream_NONCEBYTES; 14 | } 15 | 16 | const char * 17 | crypto_stream_primitive(void) 18 | { 19 | return crypto_stream_PRIMITIVE; 20 | } 21 | 22 | int 23 | crypto_stream(unsigned char *c, unsigned long long clen, 24 | const unsigned char *n, const unsigned char *k) 25 | { 26 | return crypto_stream_xsalsa20(c, clen, n, k); 27 | } 28 | 29 | 30 | int 31 | crypto_stream_xor(unsigned char *c, const unsigned char *m, 32 | unsigned long long mlen, const unsigned char *n, 33 | const unsigned char *k) 34 | { 35 | return crypto_stream_xsalsa20_xor(c, m, mlen, n, k); 36 | } 37 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_stream/salsa20/amd64_xmm6/api.h: -------------------------------------------------------------------------------- 1 | #include "crypto_stream_salsa20.h" 2 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_stream/salsa20/ref/api.h: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_stream_salsa20.h" 3 | 4 | #define crypto_stream crypto_stream_salsa20 5 | #define crypto_stream_xor crypto_stream_salsa20_xor 6 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_stream/salsa20/stream_salsa20_api.c: -------------------------------------------------------------------------------- 1 | #include "crypto_stream_salsa20.h" 2 | 3 | size_t 4 | crypto_stream_salsa20_keybytes(void) { 5 | return crypto_stream_salsa20_KEYBYTES; 6 | } 7 | 8 | size_t 9 | crypto_stream_salsa20_noncebytes(void) { 10 | return crypto_stream_salsa20_NONCEBYTES; 11 | } 12 | 13 | int 14 | crypto_stream_salsa20_xor(unsigned char *c, const unsigned char *m, 15 | unsigned long long mlen, const unsigned char *n, 16 | const unsigned char *k) 17 | { 18 | return crypto_stream_salsa20_xor_ic(c, m, mlen, n, 0U, k); 19 | } 20 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_stream/salsa2012/ref/api.h: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_stream_salsa2012.h" 3 | 4 | #define crypto_stream crypto_stream_salsa2012 5 | #define crypto_stream_xor crypto_stream_salsa2012_xor 6 | #define crypto_stream_KEYBYTES crypto_stream_salsa2012_KEYBYTES 7 | #define crypto_stream_NONCEBYTES crypto_stream_salsa2012_NONCEBYTES 8 | #define crypto_stream_IMPLEMENTATION crypto_stream_salsa2012_IMPLEMENTATION 9 | #define crypto_stream_VERSION crypto_stream_salsa2012_VERSION 10 | 11 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_stream/salsa2012/stream_salsa2012_api.c: -------------------------------------------------------------------------------- 1 | #include "crypto_stream_salsa2012.h" 2 | 3 | size_t 4 | crypto_stream_salsa2012_keybytes(void) { 5 | return crypto_stream_salsa2012_KEYBYTES; 6 | } 7 | 8 | size_t 9 | crypto_stream_salsa2012_noncebytes(void) { 10 | return crypto_stream_salsa2012_NONCEBYTES; 11 | } 12 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_stream/salsa208/ref/api.h: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_stream_salsa208.h" 3 | 4 | #define crypto_stream crypto_stream_salsa208 5 | #define crypto_stream_xor crypto_stream_salsa208_xor 6 | #define crypto_stream_KEYBYTES crypto_stream_salsa208_KEYBYTES 7 | #define crypto_stream_NONCEBYTES crypto_stream_salsa208_NONCEBYTES 8 | #define crypto_stream_IMPLEMENTATION crypto_stream_salsa208_IMPLEMENTATION 9 | #define crypto_stream_VERSION crypto_stream_salsa208_VERSION 10 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_stream/salsa208/stream_salsa208_api.c: -------------------------------------------------------------------------------- 1 | #include "crypto_stream_salsa208.h" 2 | 3 | size_t 4 | crypto_stream_salsa208_keybytes(void) { 5 | return crypto_stream_salsa208_KEYBYTES; 6 | } 7 | 8 | size_t 9 | crypto_stream_salsa208_noncebytes(void) { 10 | return crypto_stream_salsa208_NONCEBYTES; 11 | } 12 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_stream/xsalsa20/ref/api.h: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_stream_xsalsa20.h" 3 | 4 | #define crypto_stream crypto_stream_xsalsa20 5 | #define crypto_stream_xor_ic crypto_stream_xsalsa20_xor_ic 6 | #define crypto_stream_xor crypto_stream_xsalsa20_xor 7 | #define crypto_stream_KEYBYTES crypto_stream_xsalsa20_KEYBYTES 8 | #define crypto_stream_NONCEBYTES crypto_stream_xsalsa20_NONCEBYTES 9 | #define crypto_stream_IMPLEMENTATION crypto_stream_xsalsa20_IMPLEMENTATION 10 | #define crypto_stream_VERSION crypto_stream_xsalsa20_VERSION 11 | 12 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_stream/xsalsa20/ref/stream_xsalsa20.c: -------------------------------------------------------------------------------- 1 | /* 2 | version 20080914 3 | D. J. Bernstein 4 | Public domain. 5 | */ 6 | 7 | #include "api.h" 8 | #include "crypto_core_hsalsa20.h" 9 | #include "crypto_stream_salsa20.h" 10 | #include "utils.h" 11 | 12 | static const unsigned char sigma[16] = { 13 | 'e', 'x', 'p', 'a', 'n', 'd', ' ', '3', '2', '-', 'b', 'y', 't', 'e', ' ', 'k' 14 | }; 15 | 16 | int crypto_stream( 17 | unsigned char *c,unsigned long long clen, 18 | const unsigned char *n, 19 | const unsigned char *k 20 | ) 21 | { 22 | unsigned char subkey[32]; 23 | int ret; 24 | crypto_core_hsalsa20(subkey,n,k,sigma); 25 | ret = crypto_stream_salsa20(c,clen,n + 16,subkey); 26 | sodium_memzero(subkey, sizeof subkey); 27 | return ret; 28 | } 29 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_stream/xsalsa20/stream_xsalsa20_api.c: -------------------------------------------------------------------------------- 1 | #include "crypto_stream_xsalsa20.h" 2 | 3 | size_t 4 | crypto_stream_xsalsa20_keybytes(void) { 5 | return crypto_stream_xsalsa20_KEYBYTES; 6 | } 7 | 8 | size_t 9 | crypto_stream_xsalsa20_noncebytes(void) { 10 | return crypto_stream_xsalsa20_NONCEBYTES; 11 | } 12 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_verify/16/ref/api.h: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_verify_16.h" 3 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_verify/16/ref/verify_16.c: -------------------------------------------------------------------------------- 1 | #include "api.h" 2 | 3 | int crypto_verify_16(const unsigned char *x,const unsigned char *y) 4 | { 5 | unsigned int differentbits = 0; 6 | #define F(i) differentbits |= x[i] ^ y[i]; 7 | F(0) 8 | F(1) 9 | F(2) 10 | F(3) 11 | F(4) 12 | F(5) 13 | F(6) 14 | F(7) 15 | F(8) 16 | F(9) 17 | F(10) 18 | F(11) 19 | F(12) 20 | F(13) 21 | F(14) 22 | F(15) 23 | return (1 & ((differentbits - 1) >> 8)) - 1; 24 | } 25 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_verify/16/verify_16_api.c: -------------------------------------------------------------------------------- 1 | #include "crypto_verify_16.h" 2 | 3 | size_t 4 | crypto_verify_16_bytes(void) { 5 | return crypto_verify_16_BYTES; 6 | } 7 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_verify/32/ref/api.h: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_verify_32.h" 3 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_verify/32/ref/verify_32.c: -------------------------------------------------------------------------------- 1 | #include "api.h" 2 | 3 | int crypto_verify_32(const unsigned char *x,const unsigned char *y) 4 | { 5 | unsigned int differentbits = 0; 6 | #define F(i) differentbits |= x[i] ^ y[i]; 7 | F(0) 8 | F(1) 9 | F(2) 10 | F(3) 11 | F(4) 12 | F(5) 13 | F(6) 14 | F(7) 15 | F(8) 16 | F(9) 17 | F(10) 18 | F(11) 19 | F(12) 20 | F(13) 21 | F(14) 22 | F(15) 23 | F(16) 24 | F(17) 25 | F(18) 26 | F(19) 27 | F(20) 28 | F(21) 29 | F(22) 30 | F(23) 31 | F(24) 32 | F(25) 33 | F(26) 34 | F(27) 35 | F(28) 36 | F(29) 37 | F(30) 38 | F(31) 39 | return (1 & ((differentbits - 1) >> 8)) - 1; 40 | } 41 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_verify/32/verify_32_api.c: -------------------------------------------------------------------------------- 1 | #include "crypto_verify_32.h" 2 | 3 | size_t 4 | crypto_verify_32_bytes(void) { 5 | return crypto_verify_32_BYTES; 6 | } 7 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_verify/64/ref/api.h: -------------------------------------------------------------------------------- 1 | 2 | #include "crypto_verify_64.h" 3 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/crypto_verify/64/verify_64_api.c: -------------------------------------------------------------------------------- 1 | #include "crypto_verify_64.h" 2 | 3 | size_t 4 | crypto_verify_64_bytes(void) { 5 | return crypto_verify_64_BYTES; 6 | } 7 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/include/sodium/core.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_core_H 3 | #define sodium_core_H 4 | 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | SODIUM_EXPORT 12 | int sodium_init(void); 13 | 14 | #ifdef __cplusplus 15 | } 16 | #endif 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/include/sodium/crypto_int32.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_int32_H 2 | #define crypto_int32_H 3 | 4 | #include 5 | 6 | typedef int32_t crypto_int32; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/include/sodium/crypto_int64.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_int64_H 2 | #define crypto_int64_H 3 | 4 | #include 5 | 6 | typedef int64_t crypto_int64; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/include/sodium/crypto_scalarmult_curve25519.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_scalarmult_curve25519_H 2 | #define crypto_scalarmult_curve25519_H 3 | 4 | #include 5 | 6 | #include "export.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | #define crypto_scalarmult_curve25519_BYTES 32U 13 | SODIUM_EXPORT 14 | size_t crypto_scalarmult_curve25519_bytes(void); 15 | 16 | #define crypto_scalarmult_curve25519_SCALARBYTES 32U 17 | SODIUM_EXPORT 18 | size_t crypto_scalarmult_curve25519_scalarbytes(void); 19 | 20 | SODIUM_EXPORT 21 | int crypto_scalarmult_curve25519(unsigned char *q, const unsigned char *n, 22 | const unsigned char *p); 23 | 24 | SODIUM_EXPORT 25 | int crypto_scalarmult_curve25519_base(unsigned char *q, const unsigned char *n); 26 | 27 | #ifdef __cplusplus 28 | } 29 | #endif 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/include/sodium/crypto_shorthash_siphash24.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_shorthash_siphash24_H 2 | #define crypto_shorthash_siphash24_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | # if __GNUC__ 9 | # pragma GCC diagnostic ignored "-Wlong-long" 10 | # endif 11 | extern "C" { 12 | #endif 13 | 14 | #define crypto_shorthash_siphash24_BYTES 8U 15 | SODIUM_EXPORT 16 | size_t crypto_shorthash_siphash24_bytes(void); 17 | 18 | #define crypto_shorthash_siphash24_KEYBYTES 16U 19 | SODIUM_EXPORT 20 | size_t crypto_shorthash_siphash24_keybytes(void); 21 | 22 | SODIUM_EXPORT 23 | int crypto_shorthash_siphash24(unsigned char *out, const unsigned char *in, 24 | unsigned long long inlen, const unsigned char *k); 25 | 26 | #ifdef __cplusplus 27 | } 28 | #endif 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/include/sodium/crypto_uint16.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint16_H 2 | #define crypto_uint16_H 3 | 4 | #include 5 | 6 | typedef uint16_t crypto_uint16; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/include/sodium/crypto_uint32.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint32_H 2 | #define crypto_uint32_H 3 | 4 | #include 5 | 6 | typedef uint32_t crypto_uint32; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/include/sodium/crypto_uint64.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint64_H 2 | #define crypto_uint64_H 3 | 4 | #include 5 | 6 | typedef uint64_t crypto_uint64; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/include/sodium/crypto_uint8.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint8_H 2 | #define crypto_uint8_H 3 | 4 | #include 5 | 6 | typedef uint8_t crypto_uint8; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/include/sodium/crypto_verify_16.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_verify_16_H 2 | #define crypto_verify_16_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_verify_16_BYTES 16U 12 | SODIUM_EXPORT 13 | size_t crypto_verify_16_bytes(void); 14 | 15 | SODIUM_EXPORT 16 | int crypto_verify_16(const unsigned char *x, const unsigned char *y); 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/include/sodium/crypto_verify_32.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_verify_32_H 2 | #define crypto_verify_32_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_verify_32_BYTES 32U 12 | SODIUM_EXPORT 13 | size_t crypto_verify_32_bytes(void); 14 | 15 | SODIUM_EXPORT 16 | int crypto_verify_32(const unsigned char *x, const unsigned char *y); 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/include/sodium/crypto_verify_64.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_verify_64_H 2 | #define crypto_verify_64_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_verify_64_BYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_verify_64_bytes(void); 14 | 15 | SODIUM_EXPORT 16 | int crypto_verify_64(const unsigned char *x, const unsigned char *y); 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/include/sodium/export.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_export_H 3 | #define sodium_export_H 4 | 5 | #ifndef __GNUC__ 6 | # ifdef __attribute__ 7 | # undef __attribute__ 8 | # endif 9 | # define __attribute__(a) 10 | #endif 11 | 12 | #ifdef SODIUM_STATIC 13 | # define SODIUM_EXPORT 14 | #else 15 | # if defined(_MSC_VER) 16 | # ifdef SODIUM_DLL_EXPORT 17 | # define SODIUM_EXPORT __declspec(dllexport) 18 | # else 19 | # define SODIUM_EXPORT __declspec(dllimport) 20 | # endif 21 | # else 22 | # if defined(__SUNPRO_C) 23 | # define SODIUM_EXPORT __attribute__ __global 24 | # elif defined(_MSG_VER) 25 | # define SODIUM_EXPORT extern __declspec(dllexport) 26 | # else 27 | # define SODIUM_EXPORT __attribute__ ((visibility ("default"))) 28 | # endif 29 | # endif 30 | #endif 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/include/sodium/runtime.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_runtime_H 3 | #define sodium_runtime_H 4 | 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | SODIUM_EXPORT 12 | int sodium_runtime_get_cpu_features(void); 13 | 14 | SODIUM_EXPORT 15 | int sodium_runtime_has_neon(void); 16 | 17 | SODIUM_EXPORT 18 | int sodium_runtime_has_sse2(void); 19 | 20 | SODIUM_EXPORT 21 | int sodium_runtime_has_sse3(void); 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/include/sodium/version.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_version_H 3 | #define sodium_version_H 4 | 5 | #include "export.h" 6 | 7 | #define SODIUM_VERSION_STRING "1.0.3" 8 | 9 | #define SODIUM_LIBRARY_VERSION_MAJOR 7 10 | #define SODIUM_LIBRARY_VERSION_MINOR 5 11 | 12 | #ifdef __cplusplus 13 | extern "C" { 14 | #endif 15 | 16 | SODIUM_EXPORT 17 | const char *sodium_version_string(void); 18 | 19 | SODIUM_EXPORT 20 | int sodium_library_version_major(void); 21 | 22 | SODIUM_EXPORT 23 | int sodium_library_version_minor(void); 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/include/sodium/version.h.in: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_version_H 3 | #define sodium_version_H 4 | 5 | #include "export.h" 6 | 7 | #define SODIUM_VERSION_STRING "@VERSION@" 8 | 9 | #define SODIUM_LIBRARY_VERSION_MAJOR @SODIUM_LIBRARY_VERSION_MAJOR@ 10 | #define SODIUM_LIBRARY_VERSION_MINOR @SODIUM_LIBRARY_VERSION_MINOR@ 11 | 12 | #ifdef __cplusplus 13 | extern "C" { 14 | #endif 15 | 16 | SODIUM_EXPORT 17 | const char *sodium_version_string(void); 18 | 19 | SODIUM_EXPORT 20 | int sodium_library_version_major(void); 21 | 22 | SODIUM_EXPORT 23 | int sodium_library_version_minor(void); 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/sodium/core.c: -------------------------------------------------------------------------------- 1 | 2 | #include "core.h" 3 | #include "crypto_onetimeauth.h" 4 | #include "randombytes.h" 5 | #include "runtime.h" 6 | #include "utils.h" 7 | 8 | static int initialized; 9 | 10 | int 11 | sodium_init(void) 12 | { 13 | if (initialized != 0) { 14 | return 1; 15 | } 16 | sodium_runtime_get_cpu_features(); 17 | if (crypto_onetimeauth_pick_best_implementation() == NULL) { 18 | return -1; /* LCOV_EXCL_LINE */ 19 | } 20 | randombytes_stir(); 21 | _sodium_alloc_init(); 22 | initialized = 1; 23 | 24 | return 0; 25 | } 26 | -------------------------------------------------------------------------------- /Pods/libsodium/src/libsodium/sodium/version.c: -------------------------------------------------------------------------------- 1 | 2 | #include "version.h" 3 | 4 | const char * 5 | sodium_version_string(void) 6 | { 7 | return SODIUM_VERSION_STRING; 8 | } 9 | 10 | int 11 | sodium_library_version_major(void) 12 | { 13 | return SODIUM_LIBRARY_VERSION_MAJOR; 14 | } 15 | 16 | int 17 | sodium_library_version_minor(void) 18 | { 19 | return SODIUM_LIBRARY_VERSION_MINOR; 20 | } 21 | -------------------------------------------------------------------------------- /ShadowWeb/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ShadowWeb/Default-568h@2x.png -------------------------------------------------------------------------------- /ShadowWeb/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ShadowWeb/Default.png -------------------------------------------------------------------------------- /ShadowWeb/Default@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ShadowWeb/Default@2x.png -------------------------------------------------------------------------------- /ShadowWeb/ProxySettingsTableViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ProxySettingsTableViewController.h 3 | // shadowsocks-iOS 4 | // 5 | // Created by clowwindy on 12-12-31. 6 | // Copyright (c) 2012年 clowwindy. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ProxySettingsTableViewController : UITableViewController { 12 | UITextField *ipField; 13 | UITextField *portField; 14 | UITextField *passwordField; 15 | } 16 | 17 | @property (nonatomic, weak) UIPopoverController *myPopoverController; 18 | @end 19 | -------------------------------------------------------------------------------- /ShadowWeb/QRCodeViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by clowwindy on 14-2-17. 3 | // Copyright (c) 2014 clowwindy. All rights reserved. 4 | // 5 | 6 | #import 7 | #import 8 | 9 | typedef void (^QRCodeViewControllerReturnBlock)(NSString *code); 10 | 11 | @interface QRCodeViewController : UIViewController 12 | 13 | -(id)initWithReturnBlock:(QRCodeViewControllerReturnBlock)block; 14 | 15 | @end -------------------------------------------------------------------------------- /ShadowWeb/SWBAboutController.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by clowwindy on 7/7/13. 3 | // Copyright (c) 2013 clowwindy. All rights reserved. 4 | // 5 | // To change the template use AppCode | Preferences | File Templates. 6 | // 7 | 8 | 9 | #import 10 | #import 11 | #import 12 | 13 | 14 | 15 | @interface SWBAboutController : UITableViewController { 16 | 17 | } 18 | 19 | @property (nonatomic, weak) UIPopoverController *myPopoverController; 20 | 21 | @end -------------------------------------------------------------------------------- /ShadowWeb/SWBAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // SWBAppDelegate.h 3 | // ShadowWeb 4 | // 5 | // Created by clowwindy on 2/16/13. 6 | // Copyright (c) 2013 clowwindy. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "SWBNetworkActivityIndicatorManager.h" 12 | 13 | #define appNetworkActivityIndicatorManager [(SWBAppDelegate *)[UIApplication sharedApplication].delegate networkActivityIndicatorManager] 14 | 15 | @class SWBViewController; 16 | 17 | @interface SWBAppDelegate : UIResponder 18 | 19 | @property (strong, nonatomic) UIWindow *window; 20 | 21 | @property (strong, nonatomic) SWBViewController *viewController; 22 | 23 | @property (nonatomic, strong) SWBNetworkActivityIndicatorManager *networkActivityIndicatorManager; 24 | 25 | - (void)setPolipo:(BOOL)enabled; 26 | - (void)updateProxyMode; 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /ShadowWeb/SWBNetworkActivityIndicatorManager.h: -------------------------------------------------------------------------------- 1 | // 2 | // SWBNetworkActivityIndicatorManager.h 3 | // AquaWeb 4 | // 5 | // Created by clowwindy on 11-7-3. 6 | // Copyright 2011年 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | @interface SWBNetworkActivityIndicatorManager : NSObject { 13 | NSMutableSet *sources; 14 | } 15 | 16 | -(void)setSourceActivityStatusIsBusy:(id)source busy:(BOOL)busy; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /ShadowWeb/SWBNetworkActivityIndicatorManager.m: -------------------------------------------------------------------------------- 1 | // 2 | // SWBNetworkActivityIndicatorManager.m 3 | // AquaWeb 4 | // 5 | // Created by clowwindy on 11-7-3. 6 | // Copyright 2011年 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #import "SWBNetworkActivityIndicatorManager.h" 10 | 11 | 12 | @implementation SWBNetworkActivityIndicatorManager 13 | 14 | - (id)init { 15 | self = [super init]; 16 | if (self) { 17 | sources = [[NSMutableSet alloc] init]; 18 | } 19 | return self; 20 | } 21 | 22 | -(void)setSourceActivityStatusIsBusy:(id)source busy:(BOOL)busy { 23 | if (busy&&![sources containsObject:source]) { 24 | [sources addObject:source]; 25 | } else if([sources containsObject:source]){ 26 | [sources removeObject:source]; 27 | } 28 | [[UIApplication sharedApplication] setNetworkActivityIndicatorVisible:([sources count] > 0)]; 29 | } 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /ShadowWeb/SWBNewTabButton.h: -------------------------------------------------------------------------------- 1 | // 2 | // SWBNewTabButton.h 3 | // SWBuaWeb 4 | // 5 | // Created by clowwindy on 11-6-12. 6 | // Copyright 2011年 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | @interface SWBNewTabButton : UIButton { 13 | 14 | } 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /ShadowWeb/SWBPage.h: -------------------------------------------------------------------------------- 1 | // 2 | // AQPage.h 3 | // AquaWeb 4 | // 5 | // Created by clowwindy on 11-6-18. 6 | // Copyright (c) 2011年 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | @interface SWBPage : NSObject { 13 | 14 | } 15 | @property (nonatomic, strong) NSString * title; 16 | @property (nonatomic, strong) NSString * url; 17 | @property (nonatomic, strong) NSNumber * selected; 18 | @property (nonatomic, assign) NSInteger tag; /* not saved into JSON */ 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /ShadowWeb/SWBPage.m: -------------------------------------------------------------------------------- 1 | // 2 | // AQPage.m 3 | // AquaWeb 4 | // 5 | // Created by clowwindy on 11-6-18. 6 | // Copyright (c) 2011年 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #import "SWBPage.h" 10 | 11 | 12 | @implementation SWBPage 13 | @synthesize title; 14 | @synthesize url; 15 | @synthesize selected; 16 | @synthesize tag; 17 | 18 | - (BOOL)isSelected { 19 | return [self.selected boolValue]; 20 | } 21 | @end 22 | -------------------------------------------------------------------------------- /ShadowWeb/SWBPageManager.h: -------------------------------------------------------------------------------- 1 | // 2 | // AQPageManager.h 3 | // AquaWeb 4 | // 5 | // Created by clowwindy on 11-6-18. 6 | // Copyright 2011年 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "SWBPage.h" 11 | 12 | @interface SWBPageManager : NSObject { 13 | NSMutableArray *pages; 14 | NSMutableDictionary *tagToPageMapping; 15 | } 16 | 17 | @property (nonatomic,readonly) NSArray *pages; 18 | @property (nonatomic,readonly) NSMutableDictionary *tagToPageMapping; 19 | @property (nonatomic,readonly) NSInteger selectedIndex; 20 | 21 | -(SWBPage *)addPageWithTag:(NSInteger)tag; 22 | -(void)removePage:(NSInteger)tag; 23 | 24 | -(void)initMappingAndTabsByPages; 25 | 26 | -(SWBPage *)pageByTag:(NSInteger)tag; 27 | 28 | -(void)save; 29 | -(void)load; 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /ShadowWeb/SWBSmallCloseButton.h: -------------------------------------------------------------------------------- 1 | // 2 | // SWBSmallCloseButton.h 3 | // SWBuaWeb 4 | // 5 | // Created by clowwindy on 11-6-10. 6 | // Copyright 2011年 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "SWBSmallCloseButtonHighlightView.h" 11 | 12 | @interface SWBSmallCloseButton : UIButton { 13 | SWBSmallCloseButtonHighlightView *highlightView; 14 | } 15 | 16 | @property (nonatomic, assign) CGFloat radius; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /ShadowWeb/SWBSmallCloseButtonHighlightView.h: -------------------------------------------------------------------------------- 1 | // 2 | // SWBSmallCloseButtonHighlightView.h 3 | // SWBuaWeb 4 | // 5 | // Created by clowwindy on 11-6-10. 6 | // Copyright 2011年 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | @interface SWBSmallCloseButtonHighlightView : UIView { 13 | 14 | } 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /ShadowWeb/SWBTab.h: -------------------------------------------------------------------------------- 1 | // 2 | // SWBTab.h 3 | // SWBuaWeb 4 | // 5 | // Created by clowwindy on 11-6-12. 6 | // Copyright 2011年 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | @interface SWBTab : NSObject { 13 | NSInteger tag; 14 | } 15 | 16 | - (id)initWithTag:(NSInteger)aTag; 17 | 18 | @property (nonatomic, strong) NSString *title; 19 | @property (nonatomic, readonly) NSInteger tag; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /ShadowWeb/SWBTab.m: -------------------------------------------------------------------------------- 1 | // 2 | // SWBTab.m 3 | // SWBuaWeb 4 | // 5 | // Created by clowwindy on 11-6-12. 6 | // Copyright 2011年 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #import "SWBTab.h" 10 | 11 | 12 | @implementation SWBTab 13 | 14 | @synthesize title, tag; 15 | 16 | - (id)initWithTag:(NSInteger)aTag { 17 | self = [super init]; 18 | if (self) { 19 | self->tag = aTag; 20 | } 21 | return self; 22 | } 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /ShadowWeb/SWBTabView.h: -------------------------------------------------------------------------------- 1 | // 2 | // SWBTabView.h 3 | // SWBuaWeb 4 | // 5 | // Created by clowwindy on 11-6-10. 6 | // Copyright 2011年 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "SWBSmallCloseButton.h" 11 | 12 | @protocol SWBTabViewDelegate 13 | 14 | @required 15 | 16 | -(void) tabViewDidClickCloseButton:(id)sender; 17 | 18 | @end 19 | 20 | @interface SWBTabView : UIControl { 21 | SWBSmallCloseButton *closeButton; 22 | UILabel *titleLabel; 23 | UIActivityIndicatorView *indicatorView; 24 | } 25 | 26 | @property (nonatomic, assign) BOOL focused; 27 | @property (nonatomic, weak) id delegate; 28 | @property (nonatomic, strong) IBOutlet NSString *title; 29 | @property (nonatomic, assign) BOOL loading; 30 | @property (weak, nonatomic, readonly) UILabel *titleLabel; 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /ShadowWeb/SWBWebView.h: -------------------------------------------------------------------------------- 1 | // 2 | // SWBWebView.h 3 | // AquaWeb 4 | // 5 | // Created by clowwindy on 11-6-16. 6 | // Copyright 2011年 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | @interface SWBWebView : UIWebView { 13 | 14 | } 15 | 16 | - (NSString *)pageTitle; 17 | - (NSString *)locationHref; 18 | - (CGSize)windowSize; 19 | - (CGPoint)scrollOffset; 20 | - (NSString *)lastClickedLink; 21 | - (NSString *)lastClickedLinkText; 22 | - (NSString *)lastImageSrc; 23 | - (void)openLastClickedLink; 24 | - (NSString *)selection; 25 | 26 | @property (nonatomic, readonly) UIScrollView *scrollView; 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /ShadowWeb/ShadowsocksRunner.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by clowwindy on 14-2-27. 3 | // Copyright (c) 2014 clowwindy. All rights reserved. 4 | // 5 | 6 | #import 7 | 8 | 9 | #define kShadowsocksIPKey @"proxy ip" 10 | #define kShadowsocksPortKey @"proxy port" 11 | #define kShadowsocksPasswordKey @"proxy password" 12 | #define kShadowsocksEncryptionKey @"proxy encryption" 13 | #define kShadowsocksProxyModeKey @"proxy mode" 14 | #define kShadowsocksUsePublicServer @"public server" 15 | 16 | 17 | @interface ShadowsocksRunner : NSObject 18 | 19 | + (BOOL)settingsAreNotComplete; 20 | + (BOOL)runProxy; 21 | + (void)reloadConfig; 22 | + (BOOL)openSSURL:(NSURL *)url; 23 | + (NSURL *)generateSSURL; 24 | + (NSString *)configForKey:(NSString *)key; 25 | + (void)saveConfigForKey:(NSString *)key value:(NSString *)value; 26 | + (void)setUsingPublicServer:(BOOL)use; 27 | + (BOOL)isUsingPublicServer; 28 | 29 | 30 | @end -------------------------------------------------------------------------------- /ShadowWeb/SimpleTableViewSource.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by clowwindy on 6/6/13. 3 | // Copyright (c) 2013 clowwindy. All rights reserved. 4 | // 5 | // To change the template use AppCode | Preferences | File Templates. 6 | // 7 | 8 | 9 | #import 10 | 11 | typedef void (^SimpleTableViewSourceSelectionBlock)(NSObject *value); 12 | 13 | @interface SimpleTableViewSource : NSObject 14 | 15 | -(id)initWithLabels:(NSArray *)labels values:(NSArray *)values initialValue:(NSObject *)value selectionBlock:(SimpleTableViewSourceSelectionBlock)block; 16 | 17 | @end -------------------------------------------------------------------------------- /ShadowWeb/cancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ShadowWeb/cancel.png -------------------------------------------------------------------------------- /ShadowWeb/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /ShadowWeb/en.lproj/Localizable.strings: -------------------------------------------------------------------------------- 1 | /* 2 | Localizable.strings 3 | ShadowWeb 4 | 5 | Created by clowwindy on 6/17/13. 6 | Copyright (c) 2013 clowwindy. All rights reserved. 7 | */ 8 | -------------------------------------------------------------------------------- /ShadowWeb/libev/Makefile.am: -------------------------------------------------------------------------------- 1 | AUTOMAKE_OPTIONS = foreign 2 | 3 | VERSION_INFO = 4:0:0 4 | 5 | EXTRA_DIST = LICENSE Changes libev.m4 autogen.sh \ 6 | ev_vars.h ev_wrap.h \ 7 | ev_epoll.c ev_select.c ev_poll.c ev_kqueue.c ev_port.c ev_win32.c \ 8 | ev.3 ev.pod Symbols.ev Symbols.event 9 | 10 | man_MANS = ev.3 11 | 12 | include_HEADERS = ev.h ev++.h event.h 13 | 14 | lib_LTLIBRARIES = libev.la 15 | 16 | libev_la_SOURCES = ev.c event.c 17 | libev_la_LDFLAGS = -version-info $(VERSION_INFO) 18 | 19 | ev.3: ev.pod 20 | pod2man -n LIBEV -r "libev-$(VERSION)" -c "libev - high performance full featured event loop" -s3 <$< >$@ 21 | -------------------------------------------------------------------------------- /ShadowWeb/libev/Symbols.event: -------------------------------------------------------------------------------- 1 | event_active 2 | event_add 3 | event_base_dispatch 4 | event_base_free 5 | event_base_loop 6 | event_base_loopexit 7 | event_base_once 8 | event_base_priority_init 9 | event_base_set 10 | event_del 11 | event_dispatch 12 | event_get_method 13 | event_get_version 14 | event_init 15 | event_loop 16 | event_loopexit 17 | event_once 18 | event_pending 19 | event_priority_init 20 | event_priority_set 21 | event_set 22 | -------------------------------------------------------------------------------- /ShadowWeb/libev/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | autoreconf --install --symlink --force 4 | -------------------------------------------------------------------------------- /ShadowWeb/libev/configure.ac: -------------------------------------------------------------------------------- 1 | orig_CFLAGS="$CFLAGS" 2 | 3 | AC_INIT 4 | AC_CONFIG_SRCDIR([ev_epoll.c]) 5 | 6 | AM_INIT_AUTOMAKE(libev,4.11) dnl also update ev.h! 7 | AC_CONFIG_HEADERS([config.h]) 8 | AM_MAINTAINER_MODE 9 | 10 | AC_PROG_CC 11 | 12 | dnl Supply default CFLAGS, if not specified 13 | if test -z "$orig_CFLAGS"; then 14 | if test x$GCC = xyes; then 15 | CFLAGS="-g -O3" 16 | fi 17 | fi 18 | 19 | AC_PROG_INSTALL 20 | AC_PROG_LIBTOOL 21 | 22 | m4_include([libev.m4]) 23 | 24 | AC_CONFIG_FILES([Makefile]) 25 | AC_OUTPUT 26 | -------------------------------------------------------------------------------- /ShadowWeb/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // ShadowWeb 4 | // 5 | // Created by clowwindy on 2/16/13. 6 | // Copyright (c) 2013 clowwindy. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppProxyCap.h" 12 | #import "SWBAppDelegate.h" 13 | 14 | int main(int argc, char *argv[]) 15 | { 16 | @autoreleasepool { 17 | [AppProxyCap activate]; 18 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([SWBAppDelegate class])); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /ShadowWeb/shadowsocks-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'ShadowWeb' target in the 'ShadowWeb' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_4_0 8 | #warning "This project uses features only available in iOS SDK 4.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | 16 | 17 | // polipo 18 | #define HAS_STDINT_H 19 | 20 | #define _L(s) NSLocalizedString(@#s, nil) -------------------------------------------------------------------------------- /ShadowWeb/silence.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ShadowWeb/silence.wav -------------------------------------------------------------------------------- /ShadowWeb/socks5.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define SOCKS_VERSION 0x05 4 | #define SOCKS_CMD_CONNECT 0x01 5 | #define SOCKS_IPV4 0x01 6 | #define SOCKS_DOMAIN 0x03 7 | #define SOCKS_IPV6 0x04 8 | #define SOCKS_CMD_NOT_SUPPORTED 0x07 9 | 10 | #pragma pack(1) 11 | 12 | struct method_select_request 13 | { 14 | char ver; 15 | char nmethods; 16 | char methods[255]; 17 | }; 18 | 19 | struct method_select_response 20 | { 21 | char ver; 22 | char method; 23 | }; 24 | 25 | struct socks5_request 26 | { 27 | char ver; 28 | char cmd; 29 | char rsv; 30 | char atyp; 31 | }; 32 | 33 | struct socks5_response 34 | { 35 | char ver; 36 | char rep; 37 | char rsv; 38 | char atyp; 39 | }; 40 | 41 | #pragma pack() 42 | 43 | -------------------------------------------------------------------------------- /ShadowWeb/table.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | unsigned char encrypt_table[256]; 5 | unsigned char decrypt_table[256]; 6 | void get_table(const unsigned char* key); 7 | void table_encrypt(unsigned char *buf, size_t len); 8 | void table_decrypt(unsigned char *buf, size_t len); 9 | 10 | unsigned int _i; 11 | unsigned long long _a; 12 | -------------------------------------------------------------------------------- /ShadowWeb/zh-Hans.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /ShadowsocksX/Configuration.h: -------------------------------------------------------------------------------- 1 | // Generated by json_to_model 2 | 3 | #import 4 | #import "Profile.h" 5 | 6 | 7 | @interface Configuration : NSObject 8 | 9 | - (id)initWithJSONData:(NSData *)data; 10 | - (id)initWithJSONDictionary:(NSDictionary *)dictionary; 11 | - (NSDictionary *)JSONDictionary; 12 | - (NSData *)JSONData; 13 | 14 | 15 | @property (nonatomic, assign) NSInteger current; 16 | 17 | @property (nonatomic, strong) NSArray * profiles; 18 | 19 | 20 | @end 21 | 22 | -------------------------------------------------------------------------------- /ShadowsocksX/Images.xcassets/AppIcon-2.appiconset/114.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ShadowsocksX/Images.xcassets/AppIcon-2.appiconset/114.png -------------------------------------------------------------------------------- /ShadowsocksX/Images.xcassets/AppIcon-2.appiconset/120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ShadowsocksX/Images.xcassets/AppIcon-2.appiconset/120.png -------------------------------------------------------------------------------- /ShadowsocksX/Images.xcassets/AppIcon-2.appiconset/144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ShadowsocksX/Images.xcassets/AppIcon-2.appiconset/144.png -------------------------------------------------------------------------------- /ShadowsocksX/Images.xcassets/AppIcon-2.appiconset/57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ShadowsocksX/Images.xcassets/AppIcon-2.appiconset/57.png -------------------------------------------------------------------------------- /ShadowsocksX/Images.xcassets/AppIcon-2.appiconset/72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ShadowsocksX/Images.xcassets/AppIcon-2.appiconset/72.png -------------------------------------------------------------------------------- /ShadowsocksX/Images.xcassets/AppIcon.appiconset/128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ShadowsocksX/Images.xcassets/AppIcon.appiconset/128.png -------------------------------------------------------------------------------- /ShadowsocksX/Images.xcassets/AppIcon.appiconset/16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ShadowsocksX/Images.xcassets/AppIcon.appiconset/16.png -------------------------------------------------------------------------------- /ShadowsocksX/Images.xcassets/AppIcon.appiconset/256-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ShadowsocksX/Images.xcassets/AppIcon.appiconset/256-1.png -------------------------------------------------------------------------------- /ShadowsocksX/Images.xcassets/AppIcon.appiconset/256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ShadowsocksX/Images.xcassets/AppIcon.appiconset/256.png -------------------------------------------------------------------------------- /ShadowsocksX/Images.xcassets/AppIcon.appiconset/32-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ShadowsocksX/Images.xcassets/AppIcon.appiconset/32-1.png -------------------------------------------------------------------------------- /ShadowsocksX/Images.xcassets/AppIcon.appiconset/32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ShadowsocksX/Images.xcassets/AppIcon.appiconset/32.png -------------------------------------------------------------------------------- /ShadowsocksX/Images.xcassets/AppIcon.appiconset/512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ShadowsocksX/Images.xcassets/AppIcon.appiconset/512.png -------------------------------------------------------------------------------- /ShadowsocksX/Images.xcassets/AppIcon.appiconset/64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ShadowsocksX/Images.xcassets/AppIcon.appiconset/64.png -------------------------------------------------------------------------------- /ShadowsocksX/Images.xcassets/LaunchImage.launchimage/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ShadowsocksX/Images.xcassets/LaunchImage.launchimage/Default-568h@2x.png -------------------------------------------------------------------------------- /ShadowsocksX/Images.xcassets/LaunchImage.launchimage/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ShadowsocksX/Images.xcassets/LaunchImage.launchimage/Default.png -------------------------------------------------------------------------------- /ShadowsocksX/Images.xcassets/LaunchImage.launchimage/Default@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ShadowsocksX/Images.xcassets/LaunchImage.launchimage/Default@2x.png -------------------------------------------------------------------------------- /ShadowsocksX/Profile.h: -------------------------------------------------------------------------------- 1 | // Generated by json_to_model 2 | 3 | #import 4 | 5 | 6 | @interface Profile : NSObject 7 | 8 | - (id)initWithJSONData:(NSData *)data; 9 | - (id)initWithJSONDictionary:(NSDictionary *)dictionary; 10 | - (NSDictionary *)JSONDictionary; 11 | - (NSData *)JSONData; 12 | 13 | 14 | @property (nonatomic, copy) NSString * server; 15 | 16 | @property (nonatomic, assign) NSInteger serverPort; 17 | 18 | @property (nonatomic, copy) NSString * remarks; 19 | 20 | @property (nonatomic, copy) NSString * password; 21 | 22 | @property (nonatomic, copy) NSString * method; 23 | 24 | 25 | @end 26 | 27 | -------------------------------------------------------------------------------- /ShadowsocksX/ProfileManager.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by clowwindy on 11/3/14. 3 | // Copyright (c) 2014 clowwindy. All rights reserved. 4 | // 5 | 6 | #import 7 | #import "Configuration.h" 8 | 9 | @interface ProfileManager : NSObject 10 | 11 | + (Configuration *)configuration; 12 | + (void)saveConfiguration:(Configuration *)configuration; 13 | + (void)reloadShadowsocksRunner; 14 | 15 | @end -------------------------------------------------------------------------------- /ShadowsocksX/SWBAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // SWBAppDelegate.h 3 | // ShadowsocksX 4 | // 5 | // Created by clowwindy on 14-2-19. 6 | // Copyright (c) 2014年 clowwindy. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface SWBAppDelegate : NSObject 12 | 13 | @property (assign) IBOutlet NSWindow *window; 14 | @property (nonatomic, strong) NSStatusItem* item; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /ShadowsocksX/SWBApplication.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by clowwindy on 3/1/14. 3 | // Copyright (c) 2014 clowwindy. All rights reserved. 4 | // 5 | 6 | #import 7 | 8 | 9 | @interface SWBApplication : NSApplication 10 | @end -------------------------------------------------------------------------------- /ShadowsocksX/SWBQRCodeWindowController.h: -------------------------------------------------------------------------------- 1 | // 2 | // QRCodeWindowController.h 3 | // shadowsocks 4 | // 5 | // Created by clowwindy on 10/12/14. 6 | // Copyright (c) 2014 clowwindy. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface SWBQRCodeWindowController : NSWindowController 13 | 14 | @property (nonatomic, strong) IBOutlet WebView *webView; 15 | @property (nonatomic, copy) NSString *qrCode; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /ShadowsocksX/ShadowsocksX-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #ifdef __OBJC__ 8 | #import 9 | #endif 10 | 11 | #define _L(s) NSLocalizedString(@#s, nil) -------------------------------------------------------------------------------- /ShadowsocksX/en.lproj/Credits.rtf: -------------------------------------------------------------------------------- 1 | {\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;} 2 | {\colortbl;\red255\green255\blue255;} 3 | \paperw9840\paperh8400 4 | \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural 5 | 6 | \f0\b\fs24 \cf0 Engineering: 7 | \b0 \ 8 | Some people\ 9 | \ 10 | 11 | \b Human Interface Design: 12 | \b0 \ 13 | Some other people\ 14 | \ 15 | 16 | \b Testing: 17 | \b0 \ 18 | Hopefully not nobody\ 19 | \ 20 | 21 | \b Documentation: 22 | \b0 \ 23 | Whoever\ 24 | \ 25 | 26 | \b With special thanks to: 27 | \b0 \ 28 | Mom\ 29 | } 30 | -------------------------------------------------------------------------------- /ShadowsocksX/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /ShadowsocksX/install_helper.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # install_helper.sh 4 | # shadowsocks 5 | # 6 | # Created by clowwindy on 14-3-15. 7 | 8 | cd `dirname "${BASH_SOURCE[0]}"` 9 | sudo mkdir -p "/Library/Application Support/ShadowsocksX/" 10 | sudo cp shadowsocks_sysconf "/Library/Application Support/ShadowsocksX/" 11 | sudo chown root:admin "/Library/Application Support/ShadowsocksX/shadowsocks_sysconf" 12 | sudo chmod +s "/Library/Application Support/ShadowsocksX/shadowsocks_sysconf" 13 | 14 | echo done -------------------------------------------------------------------------------- /ShadowsocksX/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // ShadowsocksX 4 | // 5 | // Created by clowwindy on 14-2-19. 6 | // Copyright (c) 2014年 clowwindy. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | int main(int argc, const char * argv[]) 12 | { 13 | return NSApplicationMain(argc, argv); 14 | } 15 | -------------------------------------------------------------------------------- /ShadowsocksX/menu_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ShadowsocksX/menu_icon.png -------------------------------------------------------------------------------- /ShadowsocksX/menu_icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ShadowsocksX/menu_icon@2x.png -------------------------------------------------------------------------------- /ShadowsocksX/menu_icon_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ShadowsocksX/menu_icon_disabled.png -------------------------------------------------------------------------------- /ShadowsocksX/menu_icon_disabled@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ShadowsocksX/menu_icon_disabled@2x.png -------------------------------------------------------------------------------- /ShadowsocksX/models/profile.json: -------------------------------------------------------------------------------- 1 | { 2 | "__class__": "Configuration", 3 | "current": 0, 4 | "profiles": [{ 5 | "__class__": "Profile", 6 | "server":"1.2.3.4", 7 | "server_port":8388, 8 | "password":"barfoo!", 9 | "method":"aes-256-cfb", 10 | "remarks":"test" 11 | }] 12 | } 13 | -------------------------------------------------------------------------------- /ShadowsocksX/qrcode.htm: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 16 |
17 | -------------------------------------------------------------------------------- /ShadowsocksXTests/ShadowsocksXTests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | clowwindy.${PRODUCT_NAME:rfc1034identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /ShadowsocksXTests/ShadowsocksXTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // ShadowsocksXTests.m 3 | // ShadowsocksXTests 4 | // 5 | // Created by clowwindy on 14-2-19. 6 | // Copyright (c) 2014年 clowwindy. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ShadowsocksXTests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation ShadowsocksXTests 16 | 17 | - (void)setUp 18 | { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown 24 | { 25 | // Put teardown code here. This method is called after the invocation of each test method in the class. 26 | [super tearDown]; 27 | } 28 | 29 | - (void)testExample 30 | { 31 | XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); 32 | } 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /ShadowsocksXTests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /appstore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/appstore.png -------------------------------------------------------------------------------- /build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | cd AppProxyCap/ 4 | git submodule init 5 | git submodule update 6 | cd .. 7 | xcodebuild -sdk iphonesimulator 8 | -------------------------------------------------------------------------------- /ios_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/ios_128.png -------------------------------------------------------------------------------- /osx_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/osx_128.png -------------------------------------------------------------------------------- /packaging/osx/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/packaging/osx/arrow.png -------------------------------------------------------------------------------- /packaging/osx/build_dmg.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [ $# -ne 1 ] 4 | then 5 | echo 'build_dmg.sh version' 6 | exit 1 7 | fi 8 | 9 | dmgbuild -s settings.py 'Shadowsocks' ShadowsocksX-$1.dmg 10 | rsync --progress -e ssh ShadowsocksX-$1.dmg frs.sourceforge.net:/home/frs/project/shadowsocksgui/dist/ 11 | 12 | -------------------------------------------------------------------------------- /proxy.pac.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/proxy.pac.gz -------------------------------------------------------------------------------- /shadowsocks.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /shadowsocks.xcworkspace/xcuserdata/bin.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/shadowsocks.xcworkspace/xcuserdata/bin.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /shadowsocks.xcworkspace/xcuserdata/binss.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binss/shadowsocks-iOS/6cf762c08491e5b34e84034bf383da52194b82d3/shadowsocks.xcworkspace/xcuserdata/binss.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /shadowsocks_sysconf/shadowsocks_sysconf-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #ifdef __OBJC__ 8 | #import 9 | #endif 10 | -------------------------------------------------------------------------------- /zxing-objc/NOTICE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | NOTICES FOR BARCODE4J 3 | -------------------------------------------------------------------------------- 4 | 5 | Barcode4J 6 | Copyright 2002-2010 Jeremias Märki 7 | Copyright 2005-2006 Dietmar Bürkle 8 | 9 | Portions of this software were contributed under section 5 of the 10 | Apache License. Contributors are listed under: 11 | http://barcode4j.sourceforge.net/contributors.html 12 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/ZXEncodeHints.m: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXEncodeHints.h" 18 | 19 | @implementation ZXEncodeHints 20 | 21 | + (id)hints { 22 | return [[self alloc] init]; 23 | } 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/aztec/ZXAztecWriter.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXWriter.h" 18 | 19 | @interface ZXAztecWriter : NSObject 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/aztec/encoder/ZXAztecCode.m: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXAztecCode.h" 18 | 19 | @implementation ZXAztecCode 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/client/ZXCaptureView.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #include "ZXView.h" 18 | 19 | @interface ZXCaptureView : ZXView 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/client/ZXCaptureView.m: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #include "ZXCaptureView.h" 18 | 19 | @implementation ZXCaptureView 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/client/ZXView.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #if TARGET_OS_EMBEDDED || TARGET_IPHONE_SIMULATOR 18 | #import 19 | #define ZXView UIView 20 | #else 21 | #import 22 | #define ZXView NSView 23 | #endif 24 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/client/result/ZXBookmarkDoCoMoResultParser.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXAbstractDoCoMoResultParser.h" 18 | 19 | @interface ZXBookmarkDoCoMoResultParser : ZXAbstractDoCoMoResultParser 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/client/result/ZXExpandedProductResultParser.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXResultParser.h" 18 | 19 | /** 20 | * Parses strings of digits that represent a RSS Extended code. 21 | */ 22 | 23 | @interface ZXExpandedProductResultParser : ZXResultParser 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/client/result/ZXISBNResultParser.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXResultParser.h" 18 | 19 | /** 20 | * Parses strings of digits that represent a ISBN. 21 | */ 22 | 23 | @interface ZXISBNResultParser : ZXResultParser 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/client/result/ZXProductResultParser.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXResultParser.h" 18 | 19 | /** 20 | * Parses strings of digits that represent a UPC code. 21 | */ 22 | 23 | @interface ZXProductResultParser : ZXResultParser 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/client/result/ZXTelResultParser.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXResultParser.h" 18 | 19 | /** 20 | * Parses a "tel:" URI result, which specifies a phone number. 21 | */ 22 | 23 | @interface ZXTelResultParser : ZXResultParser 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/common/ZXDefaultGridSampler.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXGridSampler.h" 18 | 19 | @class ZXBitMatrix, ZXPerspectiveTransform; 20 | 21 | @interface ZXDefaultGridSampler : ZXGridSampler 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/common/detector/ZXMathUtils.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | @interface ZXMathUtils : NSObject 18 | 19 | + (int)round:(float)d; 20 | + (float)distance:(float)aX aY:(float)aY bX:(float)bX bY:(float)bY; 21 | + (float)distanceInt:(int)aX aY:(int)aY bX:(int)bX bY:(int)bY; 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/datamatrix/ZXDataMatrixWriter.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXWriter.h" 18 | 19 | /** 20 | * This object renders a Data Matrix code as a BitMatrix 2D array of greyscale values. 21 | */ 22 | 23 | @interface ZXDataMatrixWriter : NSObject 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/datamatrix/encoder/ZXASCIIEncoder.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXDataMatrixEncoder.h" 18 | 19 | @interface ZXASCIIEncoder : NSObject 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/datamatrix/encoder/ZXBase256Encoder.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXDataMatrixEncoder.h" 18 | 19 | @interface ZXBase256Encoder : NSObject 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/datamatrix/encoder/ZXDataMatrixEncoder.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | @class ZXEncoderContext; 18 | 19 | @protocol ZXDataMatrixEncoder 20 | 21 | - (int)encodingMode; 22 | - (void)encode:(ZXEncoderContext *)context; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/datamatrix/encoder/ZXDataMatrixSymbolInfo144.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXSymbolInfo.h" 18 | 19 | @interface ZXDataMatrixSymbolInfo144 : ZXSymbolInfo 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/datamatrix/encoder/ZXEdifactEncoder.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXDataMatrixEncoder.h" 18 | 19 | @interface ZXEdifactEncoder : NSObject 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/datamatrix/encoder/ZXTextEncoder.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXC40Encoder.h" 18 | 19 | @interface ZXTextEncoder : ZXC40Encoder 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/datamatrix/encoder/ZXX12Encoder.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXC40Encoder.h" 18 | 19 | @interface ZXX12Encoder : ZXC40Encoder 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/oned/ZXCodaBarWriter.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXOneDimensionalCodeWriter.h" 18 | 19 | @interface ZXCodaBarWriter : ZXOneDimensionalCodeWriter 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/oned/ZXCode128Writer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXOneDimensionalCodeWriter.h" 18 | 19 | /** 20 | * This object renders a CODE128 code as a ZXBitMatrix. 21 | */ 22 | 23 | @interface ZXCode128Writer : ZXOneDimensionalCodeWriter 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/oned/ZXCode39Writer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXOneDimensionalCodeWriter.h" 18 | 19 | /** 20 | * This object renders a CODE39 code as a {@link BitMatrix}. 21 | */ 22 | 23 | @interface ZXCode39Writer : ZXOneDimensionalCodeWriter 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/oned/ZXCode93Reader.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXOneDReader.h" 18 | 19 | /** 20 | * Decodes Code 93 barcodes. 21 | */ 22 | 23 | @interface ZXCode93Reader : ZXOneDReader 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/oned/ZXEAN13Reader.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXUPCEANReader.h" 18 | 19 | /** 20 | * Implements decoding of the EAN-13 format. 21 | */ 22 | 23 | extern int FIRST_DIGIT_ENCODINGS[10]; 24 | 25 | @interface ZXEAN13Reader : ZXUPCEANReader 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/oned/ZXEAN13Writer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXUPCEANWriter.h" 18 | 19 | /** 20 | * This object renders an EAN13 code as a {@link BitMatrix}. 21 | */ 22 | 23 | @interface ZXEAN13Writer : ZXUPCEANWriter 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/oned/ZXEAN8Reader.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXUPCEANReader.h" 18 | 19 | /** 20 | * Implements decoding of the EAN-8 format. 21 | */ 22 | 23 | @interface ZXEAN8Reader : ZXUPCEANReader 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/oned/ZXEAN8Writer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXUPCEANWriter.h" 18 | 19 | /** 20 | * This object renders an EAN8 code as a ZXBitMatrix. 21 | */ 22 | 23 | @interface ZXEAN8Writer : ZXUPCEANWriter 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/oned/ZXITFWriter.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXOneDimensionalCodeWriter.h" 18 | 19 | /** 20 | * This object renders a ITF code as a {@link BitMatrix}. 21 | */ 22 | 23 | @interface ZXITFWriter : ZXOneDimensionalCodeWriter 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/oned/ZXMultiFormatOneDReader.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXOneDReader.h" 18 | 19 | @class ZXDecodeHints; 20 | 21 | @interface ZXMultiFormatOneDReader : ZXOneDReader 22 | 23 | - (id)initWithHints:(ZXDecodeHints *)hints; 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/oned/ZXUPCAReader.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXUPCEANReader.h" 18 | 19 | /** 20 | * Implements decoding of the UPC-A format. 21 | */ 22 | 23 | @interface ZXUPCAReader : ZXUPCEANReader 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/oned/ZXUPCAWriter.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXWriter.h" 18 | 19 | /** 20 | * This object renders a UPC-A code as a ZXBitMatrix. 21 | */ 22 | 23 | @interface ZXUPCAWriter : NSObject 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/oned/rss/expanded/ZXBitArrayBuilder.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | @class ZXBitArray; 18 | 19 | @interface ZXBitArrayBuilder : NSObject 20 | 21 | + (ZXBitArray *)buildBitArray:(NSArray *)pairs; 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/oned/rss/expanded/decoders/ZXAI01320xDecoder.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXAI013x0xDecoder.h" 18 | 19 | @interface ZXAI01320xDecoder : ZXAI013x0xDecoder 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/oned/rss/expanded/decoders/ZXAI01392xDecoder.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXAI01decoder.h" 18 | 19 | @interface ZXAI01392xDecoder : ZXAI01decoder 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/oned/rss/expanded/decoders/ZXAI01393xDecoder.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXAI01decoder.h" 18 | 19 | @interface ZXAI01393xDecoder : ZXAI01decoder 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/oned/rss/expanded/decoders/ZXAI013x0xDecoder.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXAI01weightDecoder.h" 18 | 19 | @interface ZXAI013x0xDecoder : ZXAI01weightDecoder 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/oned/rss/expanded/decoders/ZXAI01AndOtherAIs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXAI01decoder.h" 18 | 19 | @interface ZXAI01AndOtherAIs : ZXAI01decoder 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/oned/rss/expanded/decoders/ZXAnyAIDecoder.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXAbstractExpandedDecoder.h" 18 | 19 | @interface ZXAnyAIDecoder : ZXAbstractExpandedDecoder 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/oned/rss/expanded/decoders/ZXDecodedObject.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | @interface ZXDecodedObject : NSObject 18 | 19 | @property (nonatomic, assign, readonly) int theNewPosition; 20 | 21 | - (id)initWithNewPosition:(int)newPosition; 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/oned/rss/expanded/decoders/ZXFieldParser.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | @interface ZXFieldParser : NSObject 18 | 19 | + (NSString *)parseFieldsInGeneralPurpose:(NSString *)rawInformation error:(NSError **)error; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/pdf417/ZXPDF417ResultMetadata.m: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXPDF417ResultMetadata.h" 18 | 19 | @implementation ZXPDF417ResultMetadata 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/pdf417/ZXPDF417Writer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXCompaction.h" 18 | #import "ZXWriter.h" 19 | 20 | @interface ZXPDF417Writer : NSObject 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/pdf417/decoder/ZXPDF417BarcodeValue.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | @interface ZXPDF417BarcodeValue : NSObject 18 | 19 | - (void)setValue:(int)value; 20 | - (NSArray *)value; 21 | - (NSNumber *)confidence:(int)value; 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/pdf417/decoder/ZXPDF417CodewordDecoder.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | @interface ZXPDF417CodewordDecoder : NSObject 18 | 19 | + (int)decodedValue:(NSArray *)moduleBitCount; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/pdf417/encoder/ZXCompaction.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | typedef enum { 18 | ZX_COMPACTION_AUTO, 19 | ZX_COMPACTION_TEXT, 20 | ZX_COMPACTION_BYTE, 21 | ZX_COMPACTION_NUMERIC 22 | } ZXCompaction; -------------------------------------------------------------------------------- /zxing-objc/ZXingObjC/qrcode/ZXQRCodeWriter.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 ZXing authors 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #import "ZXWriter.h" 18 | 19 | /** 20 | * This object renders a QR Code as a BitMatrix 2D array of greyscale values. 21 | */ 22 | 23 | @interface ZXQRCodeWriter : NSObject 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /zxing-objc/ios-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'ZXingObjC' target in the 'ZXingObjC' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /zxing-objc/osx-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'ZXingObjC' target in the 'ZXingObjC' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | 7 | #import 8 | 9 | #endif 10 | --------------------------------------------------------------------------------