• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CCCrypt()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CCCrypt()


  • Subject: Re: CCCrypt()
  • From: Graham Lee <email@hidden>
  • Date: Thu, 24 Jun 2010 09:29:00 +0100

On 24 Jun 2010, at 07:43, Richard Hood wrote:

> does anyone know in which library the CCCrypt() routine is defined? I've linked against libcrypto.dylib where it's defined in the header and libSystem.dylib where the man page says it is but I'm still getting undefined symbol errors on link.
>

Hi Richard,

what errors do you get? You certainly should be able to link just against libSystem without problems:
jormungand:common_crypto_example leeg$ nm /usr/lib/libSystem.dylib | grep CCC
00000000001065df T _CCCrypt
000000000006ee17 T _CCCryptorCreate
00000000001064b3 T _CCCryptorCreateFromData
0000000000106446 T _CCCryptorFinal
0000000000106466 T _CCCryptorGetOutputLength
000000000006fb93 T _CCCryptorRelease
0000000000106486 T _CCCryptorReset
000000000006f06d T _CCCryptorUpdate

Which SDK are you linking against?

Graham.

--
Graham Lee
http://blog.securemacprogramming.com/
Author of Professional Cocoa Application Security
http://www.amazon.co.uk/gp/product/0470525959?ie=UTF8&tag=thaeofer-21&linkCode=as2&camp=1634&creative=6738&creativeASIN=0470525959

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: CCCrypt()
      • From: Richard Hood <email@hidden>
References: 
 >CCCrypt() (From: Richard Hood <email@hidden>)

  • Prev by Date: Re: LightTable Sample CoreAnimation Code
  • Next by Date: Re: Restoring a NSTreeController selection
  • Previous by thread: CCCrypt()
  • Next by thread: Re: CCCrypt()
  • Index(es):
    • Date
    • Thread