Home
last modified time | relevance | path

Searched refs:tmpSec (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/device_cert_manager/src/
H A Ddcm_attest.c450 …uint64_t tmpSec = (activeDateTime >> 10); /* 10 is uesed for uint64 dividing 1000 in 32 bit system… in SetAttestCertValid() local
451 tmpSec = tmpSec + ((3 * tmpSec) >> 7) + ((9 * tmpSec) >> 14); /* 3/7/9/14 are same with 10 */ in SetAttestCertValid()
452 tmpSec = tmpSec + (uint32_t)(activeDateTime - tmpSec * SECOND_TO_MILLI) / SECOND_TO_MILLI; in SetAttestCertValid()
453 GenerateSysDateTime((uint32_t)tmpSec, &notBefore); in SetAttestCertValid()