Searched refs:CC_XMALLOC (Results 1 - 15 of 15) sorted by relevance

/macosx-10.10/CommonCrypto-60061/lib/
H A DccMemory.h33 #define CC_XMALLOC(s) OSMalloc((s), CC_OSMallocTag) macro
39 #define CC_XMALLOC(s) malloc(s) macro
H A DCommonDH.c66 stockParm = CC_XMALLOC(sizeof(CCDHParmSetstruct));
73 retval = CC_XMALLOC(sizeof(CCDHstruct));
77 retval->ctx._full = CC_XMALLOC(retSize);
174 CCDHParmSet retval = CC_XMALLOC(sizeof(CCDHParmSetstruct));
178 retval->gp.gp = (ccdh_gp *) CC_XMALLOC(retval->malloced);
H A DCommonRandom.c75 globals->dev_random.state.devrandom.devrandom = (struct ccrng_system_state *)CC_XMALLOC(sizeof(struct ccrng_system_state));
122 if((DRBG_INFO(drbg) = CC_XMALLOC(sizeof(struct ccdrbg_info))) == NULL) goto errOut;
124 if((DRBG_DRBG_STATE(drbg) = CC_XMALLOC(DRBG_INFO(drbg)->size)) == NULL) goto errOut;
125 if((DRBG_RNG_STATE(drbg) = CC_XMALLOC(sizeof(struct ccrng_CommonCrypto_state))) == NULL) goto errOut;
213 ref = CC_XMALLOC(sizeof(ccInternalRandom));
H A DCommonHMAC.c187 if((hmacCtx = CC_XMALLOC(sizeof(_NewHmacContext))) == NULL) return NULL;
212 if((hmacCtx = CC_XMALLOC(sizeof(_NewHmacContext))) == NULL) return NULL;
H A DCommonCMAC.c178 CCCmacContextPtr retval = (CCCmacContextPtr) CC_XMALLOC(sizeof(struct CCCmacContext));
181 retval->ctxptr.b = CC_XMALLOC(cccmac_ctx_size(retval->cbc));
H A DCommonECCryptor.c59 if((retval = CC_XMALLOC(sizeof(CCECCryptor))) == NULL) return NULL;
77 if((retval->ecKey.bytes = CC_XMALLOC(ctxSize)) == NULL) goto errOut;
H A DCommonCryptor.c136 if((ref->ctx[op].data = CC_XMALLOC(ref->modeDesc->mode_get_ctx_size(ref->symMode[op]))) == NULL) return kCCMemoryFailure;
140 if((ref->ctx[kCCEncrypt].data = CC_XMALLOC(ref->modeDesc->mode_get_ctx_size(ref->symMode[kCCEncrypt]))) == NULL) return kCCMemoryFailure;
142 if((ref->ctx[kCCDecrypt].data = CC_XMALLOC(ref->modeDesc->mode_get_ctx_size(ref->symMode[kCCDecrypt]))) == NULL) return kCCMemoryFailure;
456 if((alignedKey = CC_XMALLOC(keyLength)) == NULL) {
463 if((cryptor = (CCCryptor *)CC_XMALLOC(DEFAULT_CRYPTOR_MALLOC)) == NULL) {
H A DCommonRSACryptor.c66 if((retval = CC_XMALLOC(sizeof(CCRSACryptor))) == NULL) return NULL;
697 if((message = CC_XMALLOC(messageLen)) == NULL) return kCCMemoryFailure;
H A DCommonDigest.c201 CCDigestRef retval = CC_XMALLOC(sizeof(CCDigestCtx));
/macosx-10.10/CommonCrypto-60061/libcn/
H A DccMemory.h33 #define CC_XMALLOC(s) OSMalloc((s), CC_OSMallocTag) macro
39 #define CC_XMALLOC(s) malloc(s) macro
H A DCommonBuffering.c15 CNBufferRef retval = CC_XMALLOC(sizeof(CNBuffer));
19 retval->buf = CC_XMALLOC(chunksize);
H A DCommonBaseXX.c274 globals->encoderTab[encoding].reverseMap = CC_XMALLOC(256);
295 CNEncoder *coderRef = CC_XMALLOC(sizeof(CNEncoder));
328 CoderFrame codeFrame = CC_XMALLOC(sizeof(BaseEncoderFrame));
329 BaseEncoderRefCustom customEncoder = CC_XMALLOC(sizeof(BaseEncoder));
330 CNEncoder *coderRef = CC_XMALLOC(sizeof(CNEncoder));
331 if(codeFrame) codeFrame->reverseMap = CC_XMALLOC(256);
/macosx-10.10/Security-57031.1.35/certificates/ota_cert_tool/ios_ota_cert_tool/
H A DccMemory.h33 #define CC_XMALLOC(s) OSMalloc((s), CC_OSMallocTag) macro
39 #define CC_XMALLOC(s) malloc(s) macro
H A DCommonBuffering.c15 CNBufferRef retval = CC_XMALLOC(sizeof(CNBuffer));
19 retval->buf = CC_XMALLOC(chunksize);
/macosx-10.10/OpenSSH-189/osslshim/ossl/
H A Dossl-dsa-cc.c268 buf = CC_XMALLOC(LTC_MDSA_DELTA);
415 buf = CC_XMALLOC(LTC_MDSA_MAX_GROUP);

Completed in 207 milliseconds