Searched refs:VersionConstant (Results 1 – 1 of 1) sorted by relevance
76 …uint8_t VersionConstant; /*Used to distinguish between Ver 2.1 and others for some memory manipu… in RsaPssOaepEncode() local133 VersionConstant = 2; in RsaPssOaepEncode()135 VersionConstant = 1; in RsaPssOaepEncode()159 if ((uint32_t)MSize + 2 * HashOutputSize + VersionConstant > emLen) in RsaPssOaepEncode()172 …C_PalMemSetZero((uint8_t*)&EM_ptr[2*HashOutputSize], emLen-MSize-2*HashOutputSize-VersionConstant); in RsaPssOaepEncode()240 …EM_ptr[emLen - MSize - 1 - (VersionConstant-1)] = 0x01;/*because emLen = PubNSize; but EM_ptr poin… in RsaPssOaepEncode()242 …CC_PalMemCopy((uint8_t*)&EM_ptr[emLen - MSize - (VersionConstant - 1)], M_ptr, MSize);/*because em… in RsaPssOaepEncode()274 … emLen-HashOutputSize-(VersionConstant-1), /*maskLen*/ in RsaPssOaepEncode()297 TmpSize = emLen - HashOutputSize - (VersionConstant - 1); in RsaPssOaepEncode()315 (uint16_t)(emLen-HashOutputSize-(VersionConstant-1)), in RsaPssOaepEncode()