/macosx-10.10/CommonCrypto-60061/include/ |
H A D | CommonKeyDerivationSPI.h | 45 const void *iv, size_t ivLen, // for FB
|
H A D | CommonSymmetricKeywrap.h | 62 @param ivLen The length of the initialization value to be used. 85 const uint8_t *iv, const size_t ivLen, 99 @param ivLen The length of the initialization value to be used. 122 const uint8_t *iv, const size_t ivLen,
|
H A D | CommonCryptorSPI.h | 201 This adds the initial vector octets from iv of length ivLen to the GCM 209 size_t ivLen) 293 size_t ivLen,
|
/macosx-10.10/Security-57031.1.35/SecurityTests/cspxutils/symReference/ |
H A D | symReference.cpp | 75 CSSM_SIZE ivLen; // in bytes member in struct:__anon5333 164 * we detect by their having an ivLen of greater than 16. 166 if(algParams->ivLen > 16) { 167 blockSize = algParams->ivLen; 169 if(algParams->ivLen) { 170 appGetRandomBytes(iv, algParams->ivLen); 171 ivd.Length = algParams->ivLen; 232 unsigned ivLen; local 247 * we detect by their having an ivLen of greater than 16. 249 if(algParams->ivLen > 1 [all...] |
/macosx-10.10/CommonCrypto-60061/lib/ |
H A D | CommonCryptorGCM.c | 36 size_t ivLen) 41 ccmode_gcm_set_iv(cryptor->ctx[cryptor->op].gcm, ivLen, iv); 143 size_t ivLen, 162 if(ivLen) { 163 retval = CCCryptorGCMAddIV(cryptorRef, iv, ivLen); 34 CCCryptorGCMAddIV(CCCryptorRef cryptorRef, const void *iv, size_t ivLen) argument 137 CCCryptorGCM( CCOperation op, CCAlgorithm alg, const void *key, size_t keyLength, const void *iv, size_t ivLen, const void *aData, size_t aDataLen, const void *dataIn, size_t dataInLength, void *dataOut, const void *tag, size_t *tagLength) argument
|
H A D | CommonSymmetricKeywrap.c | 39 pack64(const uint8_t *iv, size_t ivLen) argument 79 const uint8_t *iv, const size_t ivLen, 105 uint64_t kek_iv = pack64(iv, ivLen); 137 const uint8_t *iv, const size_t ivLen, 176 uint64_t kek_iv = pack64(iv, ivLen); 78 CCSymmetricKeyWrap( CCWrappingAlgorithm algorithm, const uint8_t *iv, const size_t ivLen, const uint8_t *kek, size_t kekLen, const uint8_t *rawKey, size_t rawKeyLen, uint8_t *wrappedKey, size_t *wrappedKeyLen) argument 136 CCSymmetricKeyUnwrap( CCWrappingAlgorithm algorithm, const uint8_t *iv, const size_t ivLen, const uint8_t *kek, size_t kekLen, const uint8_t *wrappedKey, size_t wrappedKeyLen, uint8_t *rawKey, size_t *rawKeyLen) argument
|
H A D | CommonKeyDerivationSPI.c | 34 const void *iv, size_t ivLen, // for FB 29 CCKeyDerivationHMac(CCKDFAlgorithm algorithm, CCDigestAlgorithm digest, uint rounds, const void *keyDerivationKey, size_t keyDerivationKeyLen, const void *label, size_t labelLen, const void *context, size_t contextLen, const void *iv, size_t ivLen, const void *salt, size_t saltLen, void *derivedKey, size_t derivedKeyLen) argument
|
H A D | CommonCryptor.c | 239 static inline CCCryptorStatus ccGetIV(CCCryptor *ref, void *iv, size_t *ivLen) { argument 241 uint32_t tmp = (uint32_t) *ivLen; 243 *ivLen = tmp; 247 static inline CCCryptorStatus ccSetIV(CCCryptor *ref, const void *iv, size_t ivLen) { argument 249 if(ref->modeDesc->mode_setiv(ref->symMode[OP4INFO(ref)], iv, (uint32_t ) ivLen, ref->ctx[OP4INFO(ref)]) != 0) return kCCMemoryFailure;
|
/macosx-10.10/CommonCrypto-60061/test/CommonCrypto/ |
H A D | CommonCryptoSymmetricWrap.c | 31 const size_t ivLen = CCrfc3394_ivLen; 37 ok(CCSymmetricKeyWrap(kCCWRAPAES, iv , ivLen, kek->bytes, kek->len, key->bytes, key->len, wrapped, &wrapped_size) == 0, "function is successful"); 50 ok(CCSymmetricKeyUnwrap(kCCWRAPAES, iv, ivLen, kek->bytes, kek->len, wrapped, wrapped_size, unwrapped, &unwrapped_size) == 0, "function is successful");
|
H A D | CCCryptorTestFuncs.c | 474 size_t ivLen, 489 retval = CCCryptorGCMAddIV(cref, iv, ivLen); 468 CCCryptorGCMDiscreet( CCOperation op, CCAlgorithm alg, const void *key, size_t keyLength, const void *iv, size_t ivLen, const void *aData, size_t aDataLen, const void *dataIn, size_t dataInLength, void *dataOut, const void *tag, size_t *tagLength) argument
|
/macosx-10.10/WebCore-7600.1.25/crypto/ |
H A D | CommonCryptoUtilities.h | 92 extern "C" CCCryptorStatus CCCryptorGCM(CCOperation op, CCAlgorithm alg, const void* key, size_t keyLength, const void* iv, size_t ivLen, const void* aData, size_t aDataLen, const void* dataIn, size_t dataInLength, void* dataOut, const void* tag, size_t* tagLength);
|