Searched refs:now_ms (Results 1 – 2 of 2) sorted by relevance
/system/security/keystore2/src/km_compat/ |
D | slot_test.cpp | 58 uint64_t now_ms = (uint64_t)time(nullptr) * 1000; in generateECSingingKey() local 67 KMV1::makeKeyParameter(KMV1::TAG_CERTIFICATE_NOT_BEFORE, now_ms - 60 * 60 * 1000), in generateECSingingKey() 68 KMV1::makeKeyParameter(KMV1::TAG_CERTIFICATE_NOT_AFTER, now_ms + 60 * 60 * 1000), in generateECSingingKey() 94 uint64_t now_ms = (uint64_t)time(nullptr) * 1000; in generateAndBeginECDHKeyOperation() local 102 KMV1::makeKeyParameter(KMV1::TAG_CERTIFICATE_NOT_BEFORE, now_ms - 60 * 60 * 1000), in generateAndBeginECDHKeyOperation() 103 KMV1::makeKeyParameter(KMV1::TAG_CERTIFICATE_NOT_AFTER, now_ms + 60 * 60 * 1000), in generateAndBeginECDHKeyOperation()
|
/system/security/keystore2/src/crypto/tests/ |
D | certificate_utils_test.cpp | 163 uint64_t now_ms = (uint64_t)time(nullptr) * 1000; in TEST_P() local 176 auto certV = makeCert(pkey.get(), std::nullopt, std::nullopt, now_ms - kValidity, in TEST_P() 177 now_ms + kValidity, true /* subject key id extension */, keyUsage, bcons); in TEST_P() 262 uint64_t now_ms = (uint64_t)time(nullptr) * 1000; in TEST_P() local 275 auto certV = makeCert(pkey.get(), std::nullopt, std::nullopt, now_ms - kValidity, in TEST_P() 276 now_ms + kValidity, true /* subject key id extension */, keyUsage, bcons); in TEST_P()
|