SecKeyRawVerify et al is missing from Mac OS X Security.framework headers

Originator:joachimb
Number:rdar://25398055 Date Originated:28-Mar-2016 03:08 PM
Status:Open Resolved:
Product:OS X SDK Product Version:Xcode 7.3 GM
Classification:Other Bug Reproducible:Always
 
SecKeyRawVerify, SecKeyRawSign, kSecPaddingPKCS1SHA256 and more are available on iOS, and are marked as “available from Mac OS X 10.7 and newer” in the iOS SDK, yet these symbols are completely missing from the Mac OS X SDK Security.framework headers. Providing copy-paste externs for them seem to work, so it seems like it’s just a missing export in the header.

Steps to Reproduce:
1. #import <Security/Security.h>
2. Use SecKeyRawVerify in iOS projects
3. Be happy!
4. Use same source file in Mac project

Expected Results:
5. Still happy!

Actual Results:
5. Get error that the symbol is missing

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!