1 # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 AUTHOR = "Chromium OS Authors" 6 NAME = "platform_TPMEvict" 7 PURPOSE = "Tests the TPM under low-resource conditions." 8 CRITERIA = "Fails if any operations fail." 9 ATTRIBUTES = "suite:regression" 10 SUITE = "regression" 11 TIME = "SHORT" 12 TEST_CATEGORY = "Stress" 13 TEST_CLASS = "platform" 14 TEST_TYPE = "client" 15 16 DOC = """ 17 This test verifies that PKCS #11 services remain functional when the TPM is 18 operating under low-resource conditions. Specifically, more keys are used than 19 are able to fit in TPM memory which requires that previously loaded keys be 20 evicted. The test exercises the eviction code path as well as the reload code 21 path (when a previously evicted key is used again). 22 """ 23 24 job.run_test('platform_TPMEvict') 25