/macosx-10.10/CommonCrypto-60061/lib/ |
H A D | CommonCryptorGCM.c | 34 CCCryptorGCMAddIV(CCCryptorRef cryptorRef, argument 38 CCCryptor *cryptor = getRealCryptor(cryptorRef, 0); 47 CCCryptorGCMAddAAD(CCCryptorRef cryptorRef, argument 51 CCCryptor *cryptor = getRealCryptor(cryptorRef, 0); 60 CCCryptorGCMAddADD(CCCryptorRef cryptorRef, argument 64 return CCCryptorGCMAddAAD(cryptorRef, aData, aDataLen); 69 CCCryptorGCMaddAAD(CCCryptorRef cryptorRef, argument 73 return CCCryptorGCMAddAAD(cryptorRef, aData, aDataLen); 79 CCCryptorRef cryptorRef, 84 CCCryptor *cryptor = getRealCryptor(cryptorRef, 78 CCCryptorGCMEncrypt( CCCryptorRef cryptorRef, const void *dataIn, size_t dataInLength, void *dataOut) argument 94 CCCryptorGCMDecrypt( CCCryptorRef cryptorRef, const void *dataIn, size_t dataInLength, void *dataOut) argument 110 CCCryptorGCMFinal( CCCryptorRef cryptorRef, const void *tag, size_t *tagLength) argument 125 CCCryptorGCMReset( CCCryptorRef cryptorRef) argument 152 CCCryptorRef cryptorRef; local [all...] |
H A D | CommonCryptor.c | 330 CCCryptorRef *cryptorRef, /* RETURNED */ 337 if(err == kCCSuccess) *cryptorRef = cryptor; 348 CCCryptorRef *cryptorRef) /* RETURNED */ 380 return CCCryptorCreateWithMode(op, mode, alg, padding, iv, key, keyLength, tweak, tweakLength, numRounds, modeOptions, cryptorRef); 399 CCCryptorRef *cryptorRef, /* RETURNED */ 405 if(err == kCCSuccess) *cryptorRef = cryptor; 422 CCCryptorRef *cryptorRef) /* RETURNED */ 444 if((cryptorRef == NULL) || (key == NULL)) { 478 *cryptorRef = cryptor; 487 *cryptorRef 321 CCCryptorCreateFromData( CCOperation op, CCAlgorithm alg, CCOptions options, const void *key, size_t keyLength, const void *iv, const void *data, size_t dataLength, CCCryptorRef *cryptorRef, size_t *dataUsed) argument 341 CCCryptorCreate( CCOperation op, CCAlgorithm alg, CCOptions options, const void *key, size_t keyLength, const void *iv, CCCryptorRef *cryptorRef) argument 385 CCCryptorCreateFromDataWithMode( CCOperation op, CCMode mode, CCAlgorithm alg, CCPadding padding, const void *iv, const void *key, size_t keyLength, const void *tweak, size_t tweakLength, int numRounds, CCModeOptions options, const void *data, size_t dataLength, CCCryptorRef *cryptorRef, size_t *dataUsed) argument 410 CCCryptorCreateWithMode( CCOperation op, CCMode mode, CCAlgorithm alg, CCPadding padding, const void *iv, const void *key, size_t keyLength, const void *tweak, size_t tweakLength, int numRounds, CCModeOptions options, CCCryptorRef *cryptorRef) argument 506 CCCryptorRelease( CCCryptorRef cryptorRef) argument 651 CCCryptorGetOutputLength( CCCryptorRef cryptorRef, size_t inputLength, bool final) argument 662 CCCryptorUpdate( CCCryptorRef cryptorRef, const void *dataIn, size_t dataInLength, void *dataOut, size_t dataOutAvailable, size_t *dataOutMoved) argument 694 CCCryptorFinal( CCCryptorRef cryptorRef, void *dataOut, size_t dataOutAvailable, size_t *dataOutMoved) argument 753 CCCryptorReset( CCCryptorRef cryptorRef, const void *iv) argument 786 CCCryptorGetIV(CCCryptorRef cryptorRef, void *iv) argument 840 CCCryptorEncryptDataBlock( CCCryptorRef cryptorRef, const void *iv, const void *dataIn, size_t dataInLength, void *dataOut) argument 856 CCCryptorDecryptDataBlock( CCCryptorRef cryptorRef, const void *iv, const void *dataIn, size_t dataInLength, void *dataOut) argument 881 CCCryptorAddParameter( CCCryptorRef cryptorRef, CCParameter parameter, const void *data, size_t dataSize) argument 937 CCCryptorGetParameter( CCCryptorRef cryptorRef, CCParameter parameter, void *data, size_t *dataSize) argument [all...] |
/macosx-10.10/Security-57031.1.35/Security/libsecurity_ssl/Security/ |
H A D | symCipher.c | 274 * Resulting CCCryptorRef --> cipherCtx->cryptorRef 278 CCCryptorRef cryptorRef = (CCCryptorRef)*cipherCtx; local 281 if(cryptorRef) { 282 CCCryptorRelease(cryptorRef); 283 cryptorRef = NULL; 291 &cryptorRef); 296 *cipherCtx = (SymCipherContext)cryptorRef; 309 CCCryptorRef cryptorRef = (CCCryptorRef)cipherCtx; local 310 ASSERT(cryptorRef != NULL); 311 if(cryptorRef 338 CCCryptorRef cryptorRef = (CCCryptorRef)cipherCtx; local 363 CCCryptorRef cryptorRef = (CCCryptorRef)cipherCtx; local 388 CCCryptorRef cryptorRef = (CCCryptorRef)cipherCtx; local 414 CCCryptorRef cryptorRef = (CCCryptorRef)cipherCtx; local 440 CCCryptorRef cryptorRef = (CCCryptorRef)cipherCtx; local 466 CCCryptorRef cryptorRef = (CCCryptorRef)cipherCtx; local [all...] |
/macosx-10.10/Security-57031.1.35/Security/libsecurity_ssl/lib/ |
H A D | symCipher.c | 274 * Resulting CCCryptorRef --> cipherCtx->cryptorRef 278 CCCryptorRef cryptorRef = (CCCryptorRef)*cipherCtx; local 281 if(cryptorRef) { 282 CCCryptorRelease(cryptorRef); 283 cryptorRef = NULL; 291 &cryptorRef); 296 *cipherCtx = (SymCipherContext)cryptorRef; 309 CCCryptorRef cryptorRef = (CCCryptorRef)cipherCtx; local 310 ASSERT(cryptorRef != NULL); 311 if(cryptorRef 338 CCCryptorRef cryptorRef = (CCCryptorRef)cipherCtx; local 363 CCCryptorRef cryptorRef = (CCCryptorRef)cipherCtx; local 388 CCCryptorRef cryptorRef = (CCCryptorRef)cipherCtx; local 414 CCCryptorRef cryptorRef = (CCCryptorRef)cipherCtx; local 440 CCCryptorRef cryptorRef = (CCCryptorRef)cipherCtx; local 466 CCCryptorRef cryptorRef = (CCCryptorRef)cipherCtx; local [all...] |
/macosx-10.10/Security-57031.1.35/Security/libsecurity_ssl/security_ssl/ |
H A D | symCipher.c | 274 * Resulting CCCryptorRef --> cipherCtx->cryptorRef 278 CCCryptorRef cryptorRef = (CCCryptorRef)*cipherCtx; local 281 if(cryptorRef) { 282 CCCryptorRelease(cryptorRef); 283 cryptorRef = NULL; 291 &cryptorRef); 296 *cipherCtx = (SymCipherContext)cryptorRef; 309 CCCryptorRef cryptorRef = (CCCryptorRef)cipherCtx; local 310 ASSERT(cryptorRef != NULL); 311 if(cryptorRef 338 CCCryptorRef cryptorRef = (CCCryptorRef)cipherCtx; local 363 CCCryptorRef cryptorRef = (CCCryptorRef)cipherCtx; local 388 CCCryptorRef cryptorRef = (CCCryptorRef)cipherCtx; local 414 CCCryptorRef cryptorRef = (CCCryptorRef)cipherCtx; local 440 CCCryptorRef cryptorRef = (CCCryptorRef)cipherCtx; local 466 CCCryptorRef cryptorRef = (CCCryptorRef)cipherCtx; local [all...] |
/macosx-10.10/CommonCrypto-60061/include/ |
H A D | CommonCryptorSPI.h | 116 CCCryptorRef *cryptorRef, /* RETURNED */ 135 CCCryptorRef cryptorRef, 144 CCCryptorRef cryptorRef, 188 CCCryptorGetIV(CCCryptorRef cryptorRef, void *iv) 207 CCCryptorGCMAddIV(CCCryptorRef cryptorRef, 223 CCCryptorGCMAddAAD(CCCryptorRef cryptorRef, 230 CCCryptorGCMaddAAD(CCCryptorRef cryptorRef, 237 CCCryptorGCMAddADD(CCCryptorRef cryptorRef, 244 CCCryptorRef cryptorRef, 252 CCCryptorRef cryptorRef, [all...] |
H A D | CommonCryptor.h | 280 @param cryptorRef A (required) pointer to the returned CCCryptorRef. 291 CCCryptorRef *cryptorRef) /* RETURNED */ 327 @param cryptorRef A (required) pointer to the returned CCCryptorRef. 354 CCCryptorRef *cryptorRef, /* RETURNED */ 363 @param cryptorRef The CCCryptorRef to release. 369 CCCryptorRef cryptorRef) 377 @param cryptorRef A CCCryptorRef created via CCCryptorCreate() or 427 CCCryptorRef cryptorRef, 440 @param cryptorRef A CCCryptorRef created via CCCryptorCreate() or 476 CCCryptorRef cryptorRef, [all...] |
/macosx-10.10/Security-57031.1.35/SecurityTests/cspxutils/ccCtxSize/ |
H A D | ccCtxSize.c | 20 CCCryptorRef cryptorRef; local 24 buf, 1, &cryptorRef, &cryptorLength);
|
/macosx-10.10/CommonCrypto-60061/test/CommonCrypto/ |
H A D | CommonCryptoNoPad.c | 42 CCCryptorRef cryptorRef; 60 status = CCCryptorCreateWithMode(op, mode, alg, ccNoPadding, iv, key, keyLength, NULL, 0, 0, 0, &cryptorRef); 64 retval = CCCryptorGetOutputLength(cryptorRef, 0, true); 71 status = CCCryptorUpdate(cryptorRef, dataIn, inputLength, dataOut, MAXOUT, &moved); 74 status = CCCryptorFinal(cryptorRef, dataOut+moved, MAXOUT-moved, &moved); 79 status = CCCryptorRelease(cryptorRef);
|
H A D | CommonCryptoOutputLength.c | 19 CCCryptorRef cryptorRef; 27 status = CCCryptorCreateWithMode(op, mode, alg, padding, iv, key, keyLength, NULL, 0, 1, kCCModeOptionCTR_BE, &cryptorRef); 29 status = CCCryptorUpdate(cryptorRef, dataIn, bufferPos, dataOut, MAXOUT, &moved); 31 retval = CCCryptorGetOutputLength(cryptorRef, inputLength, final); 36 status = CCCryptorRelease(cryptorRef);
|
/macosx-10.10/tcpdump-61/tcpdump/ |
H A D | print-esp.c | 68 @param cryptorRef This is an out parameter for the CCCryptorRef 72 CCOperation op, const void* key, const void* iv, CCCryptorRef *cryptorRef); 205 CCCryptorRef *cryptorRef) 208 if (NULL == cipherData || NULL == cryptorRef || NULL == key || 216 NULL, 0, 0, 0, cryptorRef); 203 CCCryptorCreateFromCipherData(CCCryptoCipherData* cipherData, CCOperation op, const void* key, const void* iv, CCCryptorRef *cryptorRef) argument
|