Searched refs:PrimeSize (Results 1 – 1 of 1) sorted by relevance
92 size_t PrimeSize, in CC_DhGeneratePubPrv() argument149 if (PrimeSize > CC_DH_MAX_MOD_SIZE_IN_BYTES || PrimeSize == 0) in CC_DhGeneratePubPrv()152 if (GeneratorSize == 0 || GeneratorSize > PrimeSize) in CC_DhGeneratePubPrv()155 if (*ClientPubSize_ptr < PrimeSize) in CC_DhGeneratePubPrv()158 if (*ClientPrvKeySize_ptr < PrimeSize) in CC_DhGeneratePubPrv()176 Prime_ptr[PrimeSize-1] -= tmpByte; /* temporary p = p-1 */ in CC_DhGeneratePubPrv()178 Prime_ptr, PrimeSize ); in CC_DhGeneratePubPrv()184 Prime_ptr[PrimeSize-1] += tmpByte; in CC_DhGeneratePubPrv()192 CC_CommonReverseMemcpy( (uint8_t*)tmpPrimeData_ptr->DataIn , Prime_ptr , PrimeSize ); in CC_DhGeneratePubPrv()195 tmpSize = CC_MIN( PrimeSize*8, in CC_DhGeneratePubPrv()[all …]