/macosx-10.9.5/Security-55471.14.18/sec/Security/ |
H A D | SecCertificateRequest.h | 84 @param publicKey Public key 96 CFDictionaryRef parameters, SecKeyRef publicKey, SecKeyRef privateKey) CF_RETURNS_RETAINED; 99 CFDictionaryRef parameters, SecKeyRef publicKey, SecKeyRef privateKey) CF_RETURNS_RETAINED; 104 @param publicKey (optional/out) SecKeyRef public key to certify 109 bool SecVerifyCertificateRequest(CFDataRef csr, SecKeyRef *publicKey, 114 SecKeyRef publicKey, SecKeyRef privateKey); 118 SecKeyRef publicKey, CFTypeRef subject, CFTypeRef extensions);
|
H A D | SecSCEP.h | 40 SecSCEPCreateTemporaryIdentity(SecKeyRef publicKey, SecKeyRef privateKey); 48 @param publicKey public key to be certified 57 SecKeyRef publicKey, SecKeyRef privateKey,
|
/macosx-10.9.5/Security-55471.14.18/include/security_cdsa_client/ |
H A D | genkey.cpp | 73 void GenerateKey::operator () (Key &publicKey, const KeySpec &pubSpec, argument 78 pubSpec.label, publicKey.makeNewKey(attachment()), 82 publicKey->activate(); 87 void GenerateKey::operator () (CssmKey &publicKey, const KeySpec &pubSpec, argument 91 pubSpec.usage, pubSpec.attributes, pubSpec.label, &publicKey, local
|
H A D | genkey.h | 54 void operator () (Key &publicKey, const KeySpec &publicSpec, 56 void operator () (CssmKey &publicKey, const KeySpec &publicSpec,
|
/macosx-10.9.5/Security-55471.14.18/libsecurity_cdsa_client/lib/ |
H A D | genkey.cpp | 73 void GenerateKey::operator () (Key &publicKey, const KeySpec &pubSpec, argument 78 pubSpec.label, publicKey.makeNewKey(attachment()), 82 publicKey->activate(); 87 void GenerateKey::operator () (CssmKey &publicKey, const KeySpec &pubSpec, argument 91 pubSpec.usage, pubSpec.attributes, pubSpec.label, &publicKey, local
|
H A D | genkey.h | 54 void operator () (Key &publicKey, const KeySpec &publicSpec, 56 void operator () (CssmKey &publicKey, const KeySpec &publicSpec,
|
/macosx-10.9.5/CommonCrypto-60049/test/CommonCrypto/ |
H A D | CommonEC.c | 17 CCECCryptorRef publicKey, privateKey; 37 retval = CCECCryptorGeneratePair(keysize, &publicKey, &privateKey); 45 retval = CCECCryptorWrapKey(publicKey, keydata->bytes, keydata->len, encryptedKey, &encryptedKeyLen, kCCDigestSHA1); 74 retval = CCECCryptorVerifyHash(publicKey, 85 retval = CCECCryptorVerifyHash(publicKey, 96 retval = CCECCryptorExportPublicKey(publicKey, importexport, &importexportLen); 107 retval = CCECCryptorComputeSharedSecret(privateKey, publicKey, encryptedKey, &encryptedKeyLen);
|
H A D | CommonRSA.c | 36 static int wrapUnwrap(CCRSACryptorRef publicKey, CCRSACryptorRef privateKey, CCAsymmetricPadding padding) { 37 size_t keySizeBytes = CCRSAGetKeySize(publicKey)/8+8; 45 ok((retval = CCRSACryptorEncrypt(publicKey, padding, keydata->bytes, keydata->len, 64 static int sign_verify(CCRSACryptorRef publicKey, CCRSACryptorRef privateKey, CCAsymmetricPadding padding, CCDigestAlgorithm digest) 79 retval = CCRSACryptorVerify(publicKey, padding, 94 static int export_import(CCRSACryptorRef publicKey, CCRSACryptorRef privateKey) 104 retval = CCRSACryptorExport(publicKey, tmp->bytes, &tmp->len); 133 ok((status = roundTripCrypt(publicKey, privateKey2)) == 0, "import private works with original public"); 143 CCRSACryptorRef publicKey, privateKey, publicKeyClone; 146 ok((retval = CCRSACryptorGeneratePair(keysize, exponent, &publicKey, [all...] |
/macosx-10.9.5/security_systemkeychain-55191.2/src/ |
H A D | TokenIDHelper.h | 46 int findFirstEncryptionPublicKeyOnToken(SecKeyRef *publicKey, SecKeychainRef *keychainRef, CFDataRef *label);
|
/macosx-10.9.5/Security-55471.14.18/sec/SOSCircle/Regressions/ |
H A D | sc-20-keynames.c | 34 SecKeyRef publicKey = NULL; local 36 GenerateECPair(256, &publicKey, &signingKey); 52 SOSPeerInfoRef pi = SOSCreatePeerInfoFromName(CFSTR("Test Peer"), &publicKey, &error); 93 CFReleaseNull(publicKey);
|
/macosx-10.9.5/Security-55471.14.18/include/security_asn1/ |
H A D | osKeyTemplates.h | 115 * The publicKey is actually the DER encoding of an ASN 120 SecAsn1Item publicKey; // BIT string - Length in bits member in struct:__anon3577 132 SecAsn1Item publicKey; // BIT string - Length in bits member in struct:__anon3578
|
H A D | osKeyTemplates.c | 85 offsetof(NSS_DSAPublicKeyX509, publicKey), }, 96 offsetof(NSS_DSAPublicKeyBSAFE, publicKey), },
|
/macosx-10.9.5/Security-55471.14.18/libsecurity_asn1/Security/ |
H A D | osKeyTemplates.h | 115 * The publicKey is actually the DER encoding of an ASN 120 SecAsn1Item publicKey; // BIT string - Length in bits member in struct:__anon4012 132 SecAsn1Item publicKey; // BIT string - Length in bits member in struct:__anon4013
|
H A D | osKeyTemplates.c | 85 offsetof(NSS_DSAPublicKeyX509, publicKey), }, 96 offsetof(NSS_DSAPublicKeyBSAFE, publicKey), },
|
/macosx-10.9.5/Security-55471.14.18/libsecurity_asn1/lib/ |
H A D | osKeyTemplates.h | 115 * The publicKey is actually the DER encoding of an ASN 120 SecAsn1Item publicKey; // BIT string - Length in bits member in struct:__anon4134 132 SecAsn1Item publicKey; // BIT string - Length in bits member in struct:__anon4135
|
H A D | osKeyTemplates.c | 85 offsetof(NSS_DSAPublicKeyX509, publicKey), }, 96 offsetof(NSS_DSAPublicKeyBSAFE, publicKey), },
|
/macosx-10.9.5/Security-55471.14.18/libsecurity_asn1/security_asn1/ |
H A D | osKeyTemplates.h | 115 * The publicKey is actually the DER encoding of an ASN 120 SecAsn1Item publicKey; // BIT string - Length in bits member in struct:__anon4256 132 SecAsn1Item publicKey; // BIT string - Length in bits member in struct:__anon4257
|
/macosx-10.9.5/CommonCrypto-60049/include/ |
H A D | CommonRSACryptor.h | 96 @param publicKey A (required) pointer for the returned public CCRSACryptorRef. 107 CCRSACryptorRef *publicKey, 244 @param publicKey A pointer to a public CCRSACryptorRef. 266 CCRSACryptorVerify( CCRSACryptorRef publicKey, 283 @param publicKey A pointer to a public CCRSACryptorRef. 305 CCRSACryptorRef publicKey, 362 @param publicKey A pointer to a public CCRSACryptorRef. 380 CCRSACryptorRef publicKey, 477 CCRSACryptorRef *publicKey,
|
H A D | CommonECCryptor.h | 83 @param publicKey A (required) pointer for the returned public CCECCryptorRef. 93 CCECCryptorRef *publicKey, 250 @param publicKey A pointer to a public CCECCryptorRef. 267 CCECCryptorVerifyHash( CCECCryptorRef publicKey, 282 @param publicKey A pointer to a public CCECCryptorRef. 298 CCECCryptorWrapKey(CCECCryptorRef publicKey, 343 @param publicKey A pointer to a public CCECCryptorRef (usually 359 CCECCryptorRef publicKey,
|
/macosx-10.9.5/securityd-55199.3/tests/ |
H A D | testcrypto.cpp | 51 KeyHandle publicKey, privateKey; local 61 NULL/*cred*/, NULL/*owner*/, publicKey, pubHeader, privateKey, privHeader); 67 ss.wrapKey(wrapContext, noKey, publicKey, &nullCred, NULL, cpk); 97 ss.verifySignature(signContext, publicKey, data, signature); 106 ss.verifySignature(signContext, publicKey, falseData, signature);
|
/macosx-10.9.5/CommonCrypto-60049/lib/ |
H A D | CommonECCryptor.c | 124 ccECpairwiseConsistencyCheck(CCECCryptorRef privateKey, CCECCryptorRef publicKey) argument 140 status = CCECCryptorVerifyHash(publicKey, 153 CCECCryptorGeneratePair(size_t nbits, CCECCryptorRef *publicKey, CCECCryptorRef *privateKey) argument 175 *publicKey = publicCryptor; 183 *publicKey = *privateKey = NULL; 398 CCECCryptorVerifyHash(CCECCryptorRef publicKey, argument 406 if(publicKey == NULL || hash == NULL || signedData == NULL) return kCCParamError; 408 if(ccec_verify(publicKey->ecKey.public, hashLen, hash, 419 CCECCryptorWrapKey(CCECCryptorRef publicKey, argument 440 CCECCryptorComputeSharedSecret(CCECCryptorRef privateKey, CCECCryptorRef publicKey, argument [all...] |
H A D | CommonRSACryptor.c | 96 ccRSApairwiseConsistencyCheck(CCRSACryptorRef privateKey, CCRSACryptorRef publicKey) argument 112 if(theDataLen > MAXKEYTEST || theDataLen != (size_t) (CCRSAGetKeySize(publicKey) / 8)) { 135 status = CCRSACryptorCrypt(publicKey, theResult, resultLen, theRecovered, &recoveryLen); 162 CCRSACryptorGeneratePair(size_t keysize, uint32_t e, CCRSACryptorRef *publicKey, CCRSACryptorRef *privateKey) argument 178 *publicKey = *privateKey = NULL; 189 *publicKey = publicCryptor; 192 __Require_Action(ccRSApairwiseConsistencyCheck(*privateKey, *publicKey) == true, errOut, retval = kCCDecodeError); 199 *publicKey = *privateKey = NULL; 328 CCRSACryptorEncrypt(CCRSACryptorRef publicKey, CCAsymmetricPadding padding, const void *plainText, size_t plainTextLen, void *cipherText, size_t *cipherTextLen, argument 334 if(!publicKey || !cipherTex 439 CCRSACryptorCreatePairFromData(uint32_t e, uint8_t *xp1, size_t xp1Length, uint8_t *xp2, size_t xp2Length, uint8_t *xp, size_t xpLength, uint8_t *xq1, size_t xq1Length, uint8_t *xq2, size_t xq2Length, uint8_t *xq, size_t xqLength, CCRSACryptorRef *publicKey, CCRSACryptorRef *privateKey, uint8_t *retp, size_t *retpLength, uint8_t *retq, size_t *retqLength, uint8_t *retm, size_t *retmLength, uint8_t *retd, size_t *retdLength) argument 639 CCRSACryptorVerify(CCRSACryptorRef publicKey, CCAsymmetricPadding padding, const void *hash, size_t hashLen, CCDigestAlgorithm digestType, size_t saltLen, const void *signedData, size_t signedDataLen) argument 679 CCRSACryptorDecodePayloadPKCS1( CCRSACryptorRef publicKey, const void *cipherText, size_t cipherTextLen, void *plainText, size_t *plainTextLen) argument [all...] |
/macosx-10.9.5/Security-55471.14.18/include/security_keychain/ |
H A D | SecKey.h | 244 @param publicKey (optional) On return, the keychain item reference of the generated public key. Use the SecKeyGetCSSMKey function to obtain the CSSM_KEY. The caller must call CFRelease on this value if it is returned. Pass NULL if a reference to this key is not required. 259 SecKeyRef* publicKey, 448 SecKeyRef *publicKey, SecKeyRef *privateKey) 454 @param publicKey - the public key generated. You must retain publicKey if you wish to use it after your block returns. 455 @param privateKey - the private key generated. You must retain publicKey if you wish to use it after your block returns. 460 typedef void (^SecKeyGeneratePairBlock)(SecKeyRef publicKey, SecKeyRef privateKey, CFErrorRef error); variable
|
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/Security/ |
H A D | SecKey.h | 244 @param publicKey (optional) On return, the keychain item reference of the generated public key. Use the SecKeyGetCSSMKey function to obtain the CSSM_KEY. The caller must call CFRelease on this value if it is returned. Pass NULL if a reference to this key is not required. 259 SecKeyRef* publicKey, 448 SecKeyRef *publicKey, SecKeyRef *privateKey) 454 @param publicKey - the public key generated. You must retain publicKey if you wish to use it after your block returns. 455 @param privateKey - the private key generated. You must retain publicKey if you wish to use it after your block returns. 460 typedef void (^SecKeyGeneratePairBlock)(SecKeyRef publicKey, SecKeyRef privateKey, CFErrorRef error); variable
|
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/lib/ |
H A D | SecKey.h | 244 @param publicKey (optional) On return, the keychain item reference of the generated public key. Use the SecKeyGetCSSMKey function to obtain the CSSM_KEY. The caller must call CFRelease on this value if it is returned. Pass NULL if a reference to this key is not required. 259 SecKeyRef* publicKey, 448 SecKeyRef *publicKey, SecKeyRef *privateKey) 454 @param publicKey - the public key generated. You must retain publicKey if you wish to use it after your block returns. 455 @param privateKey - the private key generated. You must retain publicKey if you wish to use it after your block returns. 460 typedef void (^SecKeyGeneratePairBlock)(SecKeyRef publicKey, SecKeyRef privateKey, CFErrorRef error); variable
|