/macosx-10.10/CommonCrypto-60061/test/CommonCrypto/ |
H A D | CommonCryptoSymOffset.c | 55 size_t moved; 63 retval = CCCrypt(kCCEncrypt, kCCAlgorithmAES128, 0, key->bytes, key->len, NULL, iLikeBigBuffs+i, ILIKEEMDISBIG-16, andICannotLie+i, ILIKEEMDISBIG, &moved); 65 retval = CCCrypt(kCCDecrypt, kCCAlgorithmAES128, 0, key->bytes, key->len, NULL, andICannotLie+i, moved, iLikeEmRoundandBig+i, ILIKEEMDISBIG, &moved); 67 if(moved != (ILIKEEMDISBIG-16)) 69 else if(memcmp(iLikeBigBuffs+i, iLikeEmRoundandBig+i, moved))
|
H A D | CommonCryptoReset.c | 35 size_t moved; 50 retval = CCCryptorUpdate(cref, plain, 16, cipher1, 16, &moved); 52 ok((retval == kCCSuccess && moved == 16), "first update"); 54 retval = CCCryptorUpdate(cref, plain, 16, cipher2, 16, &moved); 56 ok((retval == kCCSuccess && moved == 16), "second (chained) update"); 64 retval = CCCryptorUpdate(cref, plain, 16, cipher3, 16, &moved); 66 ok((retval == kCCSuccess && moved == 16), "third update - NULL Reset"); 74 retval = CCCryptorUpdate(cref, plain, 16, cipher4, 16, &moved); 76 ok((retval == kCCSuccess && moved == 16), "fourth update - zero iv Reset"); 80 retval = CCCryptorUpdate(cref, plain, 16, cipher5, 16, &moved); [all...] |
H A D | CommonCryptoNoPad.c | 49 size_t moved = 0; 71 status = CCCryptorUpdate(cryptorRef, dataIn, inputLength, dataOut, MAXOUT, &moved); 74 status = CCCryptorFinal(cryptorRef, dataOut+moved, MAXOUT-moved, &moved);
|
H A D | CommonCryptoSymCCM.c | 2383 size_t moved; 2408 if((retval = CCCryptorUpdate(cref, smbpacketbuf->bytes, smbpacketbuf->len, result->bytes, result->len, &moved)) != kCCSuccess) { 2412 if((retval = CCCryptorFinal(cref, result->bytes+moved, result->len-moved, &moved)) != kCCSuccess) {
|
H A D | CCCryptorTestFuncs.c | 26 size_t moved; local 32 if((retval = CCCryptorUpdate(cref, dataIn, dataInLength, dataOut, dataOutAvailable, &moved)) != kCCSuccess) { 36 dataOut += moved; 37 dataOutAvailable -= moved; 38 *dataOutMoved = moved; 40 if((retval = CCCryptorFinal(cref, dataOut, dataOutAvailable, &moved)) != kCCSuccess) { 44 *dataOutMoved += moved;
|
H A D | CommonRSA.c | 25 size_t moved = keySizeBytes; 27 ok(CCRSACryptorCrypt(pubKey, clear, keySizeBytes, cipher, &moved) == 0, "RSA Raw Crypt"); 28 ok(moved == keySizeBytes, "crypted keySizeBytes"); 29 ok(CCRSACryptorCrypt(privKey, cipher, keySizeBytes, decrypted, &moved) == 0, "RSA Raw Crypt"); 30 ok(moved == keySizeBytes, "crypted keySizeBytes"); 32 ok(bcmp(clear, decrypted, moved) == 0, "Results are what we started with"); 33 return bcmp(clear, decrypted, moved);
|
/macosx-10.10/Chess-310.6/sjeng/ |
H A D | epd.c | 120 moved[26] = moved[33] = moved[30] = 1; 121 moved[110] = moved[114] = moved[117] = 1; 132 moved[30] = moved[33] = 0; 135 moved[30] = moved[2 [all...] |
H A D | eval.c | 538 if (!white_castled && moved[30]) 542 if (!black_castled && moved[114]) 548 if (!moved[41] && board[53] != npiece) 550 if (!moved[42] && board[54] != npiece) 552 if (!moved[101] && board[89] != npiece) 554 if (!moved[102] && board[90] != npiece) 593 if (moved[E2]) 596 if (moved[D2]) score += 25; 597 if (moved[G1]) score += 20; 598 if (moved[B [all...] |
H A D | moves.c | 42 just moved castled through check, or is in check. If the move made 566 if (from == 30 && !moved[30] && !captures && (Variant != Suicide || Giveaway == TRUE)) { 568 if (!moved[33] && board[33] == wrook) 572 if (!moved[26] && board[26] == wrook) 677 if (from == 114 && !moved[114] && !captures && (Variant != Suicide || Giveaway == TRUE)) { 679 if (!moved[117] && board[117] == brook) 683 if (!moved[110] && board[110] == brook) 1348 // moved[target] = 1; 1418 moved[target]++; 1419 moved[fro [all...] |
H A D | neval.c | 1180 else if (moved[30]) { 1223 else if (moved[114]) { 1259 if (!moved[41] && board[53] != npiece) 1261 if (!moved[42] && board[54] != npiece) 1263 if (!moved[101] && board[89] != npiece) 1265 if (!moved[102] && board[90] != npiece) 1463 moved yet! */ 1508 moved yet! */ 1633 if (!moved[28] || !moved[2 [all...] |
/macosx-10.10/Heimdal-398.1.2/lib/krb5/ |
H A D | crypto-aes.c | 194 size_t moved; local 206 &moved); 209 if (moved != prfsize) 234 size_t moved, plen = len; local 260 &moved); 262 heim_assert(moved == len, "moved == len"); 276 s = CCCryptorUpdate(c, data, len, p, plen, &moved); 278 plen -= moved; 279 p += moved; [all...] |
/macosx-10.10/ICU-531.30/icuSources/test/testdata/ |
H A D | tstfiles.mk | 6 # Not everything has been moved to this file yet, as this is a new facility.
|
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/clAppUtils/ |
H A D | sslRingBufferThreads.cpp | 131 size_t moved; local 132 ortn = SSLWrite(ctx, sslArgs->xferBuf, thisMove, &moved); 138 logWrite("client", moved); 140 toMove -= moved; 261 size_t moved; local 262 ortn = SSLRead(ctx, sslArgs->xferBuf, thisMove, &moved); 277 logRead("server", moved); 279 toMove -= moved;
|
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/sslEAP/ |
H A D | ringBufferThreads.cpp | 187 size_t moved; local 188 ortn = SSLWrite(ctx, sslArgs->xferBuf, thisMove, &moved); 194 logWrite("client", moved); 195 toMove -= moved; 318 size_t moved; local 319 ortn = SSLRead(ctx, sslArgs->xferBuf, thisMove, &moved); 334 logRead("server", moved); 335 toMove -= moved;
|
/macosx-10.10/OpenSSL098-52/src/demos/tunala/ |
H A D | buffer.c | 56 unsigned int moved, tomove = from->used; 61 moved = buffer_adddata(to, from->data, tomove); 62 if(moved == 0) 64 buffer_takedata(from, NULL, moved); 65 return moved;
|
/macosx-10.10/CommonCrypto-60061/lib/ |
H A D | corecryptoSymmetricBridge.c | 453 static int ccpkcs7_encrypt_pad(modeCtx ctx, const cc2CCModeDescriptor *modeptr, const corecryptoMode modeObj, void *buff, size_t len, void *cipherText, size_t *moved) argument 456 *moved = modeptr->mode_get_block_size(modeObj); 459 static int ccpkcs7_decrypt_pad(modeCtx ctx, const cc2CCModeDescriptor *modeptr, const corecryptoMode modeObj, void *buff, size_t len, void *plainText, size_t *moved) argument 461 *moved = ccpad_pkcs7_decrypt(modeObj.cbc, &ctx.cbc->cbc, (cccbc_iv*) ctx.cbc->iv, len, buff, plainText); 466 static int ccpkcs7_encrypt_ecb_pad(modeCtx ctx, const cc2CCModeDescriptor *modeptr, const corecryptoMode modeObj, void *buff, size_t len, void *cipherText, size_t *moved) argument 469 *moved = modeptr->mode_get_block_size(modeObj); 472 static int ccpkcs7_decrypt_ecb_pad(modeCtx ctx, const cc2CCModeDescriptor *modeptr, const corecryptoMode modeObj, void *buff, size_t len, void *plainText, size_t *moved) argument 474 *moved = ccpad_pkcs7_ecb_decrypt(modeObj.ecb, ctx.ecb, len, buff, plainText); 541 static int cccts1_encrypt_pad(modeCtx ctx, const cc2CCModeDescriptor *modeptr, const corecryptoMode modeObj, void *buff, size_t len, void *cipherText, size_t *moved) argument 544 *moved 547 cccts1_decrypt_pad(modeCtx ctx, const cc2CCModeDescriptor *modeptr, const corecryptoMode modeObj, void *buff, size_t len, void *plainText, size_t *moved) argument 554 cccts2_encrypt_pad(modeCtx ctx, const cc2CCModeDescriptor *modeptr, const corecryptoMode modeObj, void *buff, size_t len, void *cipherText, size_t *moved) argument 560 cccts2_decrypt_pad(modeCtx ctx, const cc2CCModeDescriptor *modeptr, const corecryptoMode modeObj, void *buff, size_t len, void *plainText, size_t *moved) argument 568 cccts3_encrypt_pad(modeCtx ctx, const cc2CCModeDescriptor *modeptr, const corecryptoMode modeObj, void *buff, size_t len, void *cipherText, size_t *moved) argument 574 cccts3_decrypt_pad(modeCtx ctx, const cc2CCModeDescriptor *modeptr, const corecryptoMode modeObj, void *buff, size_t len, void *plainText, size_t *moved) argument 639 ccnopad_encrypt_pad(modeCtx ctx, const cc2CCModeDescriptor *modeptr, const corecryptoMode modeObj, void *buff, size_t len, void *cipherText, size_t *moved) argument 645 ccnopad_decrypt_pad(modeCtx ctx, const cc2CCModeDescriptor *modeptr, const corecryptoMode modeObj, void *buff, size_t len, void *plainText, size_t *moved) argument [all...] |
H A D | CommonCryptor.c | 283 static inline CCCryptorStatus ccEncryptPad(CCCryptor *cryptor, void *buf, size_t *moved) { argument 284 if(cryptor->padptr->encrypt_pad(cryptor->ctx[cryptor->op], cryptor->modeDesc, cryptor->symMode[cryptor->op], cryptor->buffptr, cryptor->bufferPos, buf, moved)) return kCCAlignmentError; 288 static inline CCCryptorStatus ccDecryptPad(CCCryptor *cryptor, void *buf, size_t *moved) { argument 289 if(cryptor->padptr->decrypt_pad(cryptor->ctx[cryptor->op], cryptor->modeDesc, cryptor->symMode[cryptor->op], cryptor->buffptr, cryptor->bufferPos, buf, moved)) return kCCAlignmentError; 710 size_t moved; local 723 retval = ccEncryptPad(cryptor, tmpbuf, &moved); 725 if(dataOutAvailable < moved) { 729 CC_XMEMCPY(dataOut, tmpbuf, moved); 730 if(dataOutMoved) *dataOutMoved = moved; 734 retval = ccDecryptPad(cryptor, tmpbuf, &moved); [all...] |
/macosx-10.10/libauto-186/auto_tester/ |
H A D | compaction.m | 29 @property(readonly) BOOL moved; 39 - (BOOL)moved { 145 // now wait for a compaction to finish, and verify that the object moved. 148 if (movable.moved && (movable.hash == hashValue))
|
/macosx-10.10/Security-57031.1.35/SecurityTests/cspxutils/performRaw/ |
H A D | performRaw.cpp | 59 CSSM_SIZE moved; local 80 ctext, 1, &moved, &remData); 111 CSSM_SIZE moved; local 132 rptext, 1, &moved, &remData);
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_apple_csp/lib/ |
H A D | opensshWrap.cpp | 94 int moved = BN_bn2bin(bn, outBytes); local 95 if(moved != numBytes) { 220 size_t moved = 0; local 227 outText, inTextLen, &moved); 237 outText, moved, 238 outText, inTextLen, &moved); 247 outText, moved, 248 outText, inTextLen, &moved); 254 *outTextLen = (unsigned)moved;
|
/macosx-10.10/Heimdal-398.1.2/lib/hcrypto/ |
H A D | evp-cc.c | 76 size_t moved; local 80 ret = CCCryptorUpdate(cc->href, in, size, out, size, &moved); 84 if (moved != size) 98 size_t moved; local 108 ctx->iv, ctx->cipher->iv_len, &moved); 112 if (moved != ctx->cipher->iv_len)
|
/macosx-10.10/Security-57031.1.35/SecurityTests/cspxutils/sshKey/ |
H A D | sshKey.cpp | 165 int moved = BN_bn2bin(bn, outBytes); local 166 if(moved != numBytes) { 217 int moved = BN_bn2bin(bn, buf); local 218 if(moved != numBytes) { 384 size_t moved = 0; local 391 outText, inTextLen, &moved); 400 outText, moved, 401 outText, inTextLen, &moved); 410 outText, moved, 411 outText, inTextLen, &moved); [all...] |
/macosx-10.10/Security-57031.1.35/Security/include/security_cryptkit/ |
H A D | feePublicKey.c | 822 unsigned moved; // total digested local 877 moved = 0; 880 toMove = passwdLen - moved; 887 moved += toMove; 896 moved = 0; 898 for(moved=0; moved<privLen; ) { 899 if((moved + digestLen) > privLen) { 900 toMove = privLen - moved; 908 moved [all...] |
/macosx-10.10/Security-57031.1.35/Security/libsecurity_cryptkit/lib/ |
H A D | feePublicKey.c | 822 unsigned moved; // total digested local 877 moved = 0; 880 toMove = passwdLen - moved; 887 moved += toMove; 896 moved = 0; 898 for(moved=0; moved<privLen; ) { 899 if((moved + digestLen) > privLen) { 900 toMove = privLen - moved; 908 moved [all...] |
/macosx-10.10/Security-57031.1.35/Security/libsecurity_ssl/Security/ |
H A D | sslTransport.c | 48 size_t moved, 51 sslLogRecordIo("[%p] ===%s: req %4lu moved %4lu status %d", 52 ctx, op, req, moved, (int)stat); 55 #define sslIoTrace(ctx, op, req, moved, stat) 44 sslIoTrace( SSLContext *ctx, const char *op, size_t req, size_t moved, OSStatus stat) argument
|