Permalink
Browse files

libssh2 universal build now working.

  • Loading branch information...
1 parent 8025212 commit c3724959c96423bcf23714726563f7bf12cdb6f6 @dodgio dodgio committed Aug 17, 2011
Showing with 45,469 additions and 0 deletions.
  1. BIN libcrypto_097_from_10_5_sdk/libcrypto_leopard_sdk.dylib
  2. +127 −0 libcrypto_097_from_10_5_sdk/openssl/aes.h
  3. +1,113 −0 libcrypto_097_from_10_5_sdk/openssl/asn1.h
  4. +560 −0 libcrypto_097_from_10_5_sdk/openssl/asn1_mac.h
  5. +846 −0 libcrypto_097_from_10_5_sdk/openssl/asn1t.h
  6. +695 −0 libcrypto_097_from_10_5_sdk/openssl/bio.h
  7. +130 −0 libcrypto_097_from_10_5_sdk/openssl/blowfish.h
  8. +583 −0 libcrypto_097_from_10_5_sdk/openssl/bn.h
  9. +105 −0 libcrypto_097_from_10_5_sdk/openssl/buffer.h
  10. +106 −0 libcrypto_097_from_10_5_sdk/openssl/cast.h
  11. +59 −0 libcrypto_097_from_10_5_sdk/openssl/comp.h
  12. +250 −0 libcrypto_097_from_10_5_sdk/openssl/conf.h
  13. +89 −0 libcrypto_097_from_10_5_sdk/openssl/conf_api.h
  14. +518 −0 libcrypto_097_from_10_5_sdk/openssl/crypto.h
  15. +244 −0 libcrypto_097_from_10_5_sdk/openssl/des.h
  16. +441 −0 libcrypto_097_from_10_5_sdk/openssl/des_old.h
  17. +219 −0 libcrypto_097_from_10_5_sdk/openssl/dh.h
  18. +274 −0 libcrypto_097_from_10_5_sdk/openssl/dsa.h
  19. +322 −0 libcrypto_097_from_10_5_sdk/openssl/dso.h
  20. +276 −0 libcrypto_097_from_10_5_sdk/openssl/e_os2.h
  21. +19 −0 libcrypto_097_from_10_5_sdk/openssl/ebcdic.h
  22. +243 −0 libcrypto_097_from_10_5_sdk/openssl/ec.h
  23. +729 −0 libcrypto_097_from_10_5_sdk/openssl/engine.h
  24. +302 −0 libcrypto_097_from_10_5_sdk/openssl/err.h
  25. +958 −0 libcrypto_097_from_10_5_sdk/openssl/evp.h
  26. +111 −0 libcrypto_097_from_10_5_sdk/openssl/hmac.h
  27. +256 −0 libcrypto_097_from_10_5_sdk/openssl/krb5_asn.h
  28. +179 −0 libcrypto_097_from_10_5_sdk/openssl/kssl.h
  29. +199 −0 libcrypto_097_from_10_5_sdk/openssl/lhash.h
  30. +94 −0 libcrypto_097_from_10_5_sdk/openssl/md2.h
  31. +119 −0 libcrypto_097_from_10_5_sdk/openssl/md4.h
  32. +119 −0 libcrypto_097_from_10_5_sdk/openssl/md5.h
  33. +97 −0 libcrypto_097_from_10_5_sdk/openssl/mdc2.h
  34. +2,987 −0 libcrypto_097_from_10_5_sdk/openssl/obj_mac.h
  35. +1,044 −0 libcrypto_097_from_10_5_sdk/openssl/objects.h
  36. +619 −0 libcrypto_097_from_10_5_sdk/openssl/ocsp.h
  37. +206 −0 libcrypto_097_from_10_5_sdk/openssl/opensslconf.h
  38. +89 −0 libcrypto_097_from_10_5_sdk/openssl/opensslv.h
  39. +122 −0 libcrypto_097_from_10_5_sdk/openssl/ossl_typ.h
  40. +672 −0 libcrypto_097_from_10_5_sdk/openssl/pem.h
  41. +70 −0 libcrypto_097_from_10_5_sdk/openssl/pem2.h
  42. +323 −0 libcrypto_097_from_10_5_sdk/openssl/pkcs12.h
  43. +451 −0 libcrypto_097_from_10_5_sdk/openssl/pkcs7.h
  44. +143 −0 libcrypto_097_from_10_5_sdk/openssl/rand.h
  45. +104 −0 libcrypto_097_from_10_5_sdk/openssl/rc2.h
  46. +91 −0 libcrypto_097_from_10_5_sdk/openssl/rc4.h
  47. +119 −0 libcrypto_097_from_10_5_sdk/openssl/rc5.h
  48. +106 −0 libcrypto_097_from_10_5_sdk/openssl/ripemd.h
  49. +419 −0 libcrypto_097_from_10_5_sdk/openssl/rsa.h
  50. +1,574 −0 libcrypto_097_from_10_5_sdk/openssl/safestack.h
  51. +128 −0 libcrypto_097_from_10_5_sdk/openssl/sha.h
  52. +1,853 −0 libcrypto_097_from_10_5_sdk/openssl/ssl.h
  53. +268 −0 libcrypto_097_from_10_5_sdk/openssl/ssl2.h
  54. +83 −0 libcrypto_097_from_10_5_sdk/openssl/ssl23.h
  55. +526 −0 libcrypto_097_from_10_5_sdk/openssl/ssl3.h
  56. +108 −0 libcrypto_097_from_10_5_sdk/openssl/stack.h
  57. +275 −0 libcrypto_097_from_10_5_sdk/openssl/symhacks.h
  58. +195 −0 libcrypto_097_from_10_5_sdk/openssl/tls1.h
  59. +81 −0 libcrypto_097_from_10_5_sdk/openssl/tmdiff.h
  60. +108 −0 libcrypto_097_from_10_5_sdk/openssl/txt_db.h
  61. +387 −0 libcrypto_097_from_10_5_sdk/openssl/ui.h
  62. +83 −0 libcrypto_097_from_10_5_sdk/openssl/ui_compat.h
  63. +1,259 −0 libcrypto_097_from_10_5_sdk/openssl/x509.h
  64. +422 −0 libcrypto_097_from_10_5_sdk/openssl/x509_vfy.h
  65. +687 −0 libcrypto_097_from_10_5_sdk/openssl/x509v3.h
  66. BIN libssh2.dylib
  67. +556 −0 libssh2.xcodeproj/project.pbxproj
  68. +7 −0 libssh2.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  69. +17,338 −0 libssh2.xcodeproj/project.xcworkspace/xcuserdata/warren.xcuserdatad/UserInterfaceState.xcuserstate
  70. +1,475 −0 libssh2.xcodeproj/warren.mode2v3
  71. +33 −0 libssh2.xcodeproj/warren.pbxuser
  72. +54 −0 libssh2.xcodeproj/xcuserdata/warren.xcuserdatad/xcschemes/libssh2.xcscheme
  73. +22 −0 libssh2.xcodeproj/xcuserdata/warren.xcuserdatad/xcschemes/xcschememanagement.plist
Binary file not shown.
@@ -0,0 +1,127 @@
+/* crypto/aes/aes.h -*- mode:C; c-file-style: "eay" -*- */
+/* ====================================================================
+ * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. All advertising materials mentioning features or use of this
+ * software must display the following acknowledgment:
+ * "This product includes software developed by the OpenSSL Project
+ * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
+ *
+ * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
+ * endorse or promote products derived from this software without
+ * prior written permission. For written permission, please contact
+ * openssl-core@openssl.org.
+ *
+ * 5. Products derived from this software may not be called "OpenSSL"
+ * nor may "OpenSSL" appear in their names without prior written
+ * permission of the OpenSSL Project.
+ *
+ * 6. Redistributions of any form whatsoever must retain the following
+ * acknowledgment:
+ * "This product includes software developed by the OpenSSL Project
+ * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ * ====================================================================
+ *
+ */
+
+#ifndef HEADER_AES_H
+#define HEADER_AES_H
+
+#include <openssl/e_os2.h>
+
+#ifdef OPENSSL_NO_AES
+#error AES is disabled.
+#endif
+
+#define AES_ENCRYPT 1
+#define AES_DECRYPT 0
+
+/* Because array size can't be a const in C, the following two are macros.
+ Both sizes are in bytes. */
+#define AES_MAXNR 14
+#define AES_BLOCK_SIZE 16
+
+#if defined(OPENSSL_FIPS)
+#define FIPS_AES_SIZE_T int
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* This should be a hidden type, but EVP requires that the size be known */
+struct aes_key_st {
+ unsigned long rd_key[4 *(AES_MAXNR + 1)];
+ int rounds;
+};
+typedef struct aes_key_st AES_KEY;
+
+const char *AES_options(void);
+
+int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
+ AES_KEY *key);
+int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
+ AES_KEY *key);
+
+void AES_encrypt(const unsigned char *in, unsigned char *out,
+ const AES_KEY *key);
+void AES_decrypt(const unsigned char *in, unsigned char *out,
+ const AES_KEY *key);
+
+void AES_ecb_encrypt(const unsigned char *in, unsigned char *out,
+ const AES_KEY *key, const int enc);
+void AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
+ const unsigned long length, const AES_KEY *key,
+ unsigned char *ivec, const int enc);
+void AES_cfb128_encrypt(const unsigned char *in, unsigned char *out,
+ const unsigned long length, const AES_KEY *key,
+ unsigned char *ivec, int *num, const int enc);
+void AES_cfb1_encrypt(const unsigned char *in, unsigned char *out,
+ const unsigned long length, const AES_KEY *key,
+ unsigned char *ivec, int *num, const int enc);
+void AES_cfb8_encrypt(const unsigned char *in, unsigned char *out,
+ const unsigned long length, const AES_KEY *key,
+ unsigned char *ivec, int *num, const int enc);
+void AES_cfbr_encrypt_block(const unsigned char *in,unsigned char *out,
+ const int nbits,const AES_KEY *key,
+ unsigned char *ivec,const int enc);
+void AES_ofb128_encrypt(const unsigned char *in, unsigned char *out,
+ const unsigned long length, const AES_KEY *key,
+ unsigned char *ivec, int *num);
+void AES_ctr128_encrypt(const unsigned char *in, unsigned char *out,
+ const unsigned long length, const AES_KEY *key,
+ unsigned char ivec[AES_BLOCK_SIZE],
+ unsigned char ecount_buf[AES_BLOCK_SIZE],
+ unsigned int *num);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* !HEADER_AES_H */
Oops, something went wrong.

0 comments on commit c372495

Please sign in to comment.