Lines Matching refs:ret
244 CryptoInfo *ret = (CryptoInfo*) malloc(cryptosize);
245 if (ret == NULL) {
249 ret->numSubSamples = numSubSamples;
250 memcpy(ret->key, key, kBlockSize);
251 memcpy(ret->iv, iv, kBlockSize);
252 ret->mode = mode;
253 ret->pattern.mEncryptBlocks = 0;
254 ret->pattern.mSkipBlocks = 0;
255 ret->subSamples = (CryptoPlugin::SubSample*)(ret + 1);
256 CryptoPlugin::SubSample *subSamples = ret->subSamples;
265 return ret;