diff options
author | Juergen Repp <Juergen.Repp@sit.fraunhofer.de> | 2018-06-12 17:25:22 +0200 |
---|---|---|
committer | Philip Tricca <philip.b.tricca@intel.com> | 2018-06-13 09:36:41 -0700 |
commit | b8afa3724bbc797dcd718f706eed296fa82a3be5 (patch) | |
tree | 2a32946225db0ba36b841a9a8e7c3695813ef1bf /test | |
parent | 19f7007b9ec0d8d44bd755ee4967d6bf54d2af8f (diff) | |
download | tpm2-tss-b8afa3724bbc797dcd718f706eed296fa82a3be5.tar.gz |
TEST ESYS: Switch from ECB to CFB mode.
The PC client TPM profile only requires CFB mode for TPMs.
ECB mode is denoted as 'should not'.
This patch changes occurences of ECB mode to CFB mode in
ESYS tests.
Signed-off-by: Juergen Repp <Juergen.Repp@sit.fraunhofer.de>
Diffstat (limited to 'test')
-rw-r--r-- | test/integration/esys-audit.int.c | 2 | ||||
-rw-r--r-- | test/integration/esys-certify-creation.int.c | 2 | ||||
-rw-r--r-- | test/integration/esys-certify.int.c | 2 | ||||
-rw-r--r-- | test/integration/esys-commit.int.c | 2 | ||||
-rw-r--r-- | test/integration/esys-create-fail.int.c | 2 | ||||
-rw-r--r-- | test/integration/esys-create-password-auth.int.c | 2 | ||||
-rw-r--r-- | test/integration/esys-create-primary-hmac.int.c | 2 | ||||
-rw-r--r-- | test/integration/esys-create-session-auth.int.c | 2 | ||||
-rw-r--r-- | test/integration/esys-createloaded.int.c | 2 | ||||
-rw-r--r-- | test/integration/esys-ecdh-keygen.int.c | 2 | ||||
-rw-r--r-- | test/integration/esys-ecdh-zgen.int.c | 2 | ||||
-rw-r--r-- | test/integration/esys-get-time.int.c | 2 | ||||
-rw-r--r-- | test/integration/esys-nv-certify.int.c | 2 | ||||
-rw-r--r-- | test/integration/esys-quote.int.c | 2 | ||||
-rw-r--r-- | test/integration/esys-save-and-load-context.int.c | 2 | ||||
-rw-r--r-- | test/integration/esys-zgen-2phase.int.c | 2 |
16 files changed, 16 insertions, 16 deletions
diff --git a/test/integration/esys-audit.int.c b/test/integration/esys-audit.int.c index ce6ab349..926fc4e0 100644 --- a/test/integration/esys-audit.int.c +++ b/test/integration/esys-audit.int.c @@ -66,7 +66,7 @@ test_invoke_esapi(ESYS_CONTEXT * esys_context) .symmetric = { .algorithm = TPM2_ALG_NULL, .keyBits.aes = 128, - .mode.aes = TPM2_ALG_ECB, + .mode.aes = TPM2_ALG_CFB, }, .scheme = { .scheme = TPM2_ALG_RSASSA, diff --git a/test/integration/esys-certify-creation.int.c b/test/integration/esys-certify-creation.int.c index 0039bfc1..717bc913 100644 --- a/test/integration/esys-certify-creation.int.c +++ b/test/integration/esys-certify-creation.int.c @@ -62,7 +62,7 @@ test_invoke_esapi(ESYS_CONTEXT * esys_context) .symmetric = { .algorithm = TPM2_ALG_NULL, .keyBits.aes = 128, - .mode.aes = TPM2_ALG_ECB, + .mode.aes = TPM2_ALG_CFB, }, .scheme = { .scheme = TPM2_ALG_RSASSA, diff --git a/test/integration/esys-certify.int.c b/test/integration/esys-certify.int.c index 55f88993..811edbee 100644 --- a/test/integration/esys-certify.int.c +++ b/test/integration/esys-certify.int.c @@ -62,7 +62,7 @@ test_invoke_esapi(ESYS_CONTEXT * esys_context) .symmetric = { .algorithm = TPM2_ALG_NULL, .keyBits.aes = 128, - .mode.aes = TPM2_ALG_ECB, + .mode.aes = TPM2_ALG_CFB, }, .scheme = { .scheme = TPM2_ALG_RSASSA, diff --git a/test/integration/esys-commit.int.c b/test/integration/esys-commit.int.c index b9566182..c6ef8f92 100644 --- a/test/integration/esys-commit.int.c +++ b/test/integration/esys-commit.int.c @@ -72,7 +72,7 @@ test_invoke_esapi(ESYS_CONTEXT * esys_context) .symmetric = { .algorithm = TPM2_ALG_NULL, .keyBits.aes = 128, - .mode.aes = TPM2_ALG_ECB, + .mode.aes = TPM2_ALG_CFB, }, .scheme = { .scheme = TPM2_ALG_ECDAA, diff --git a/test/integration/esys-create-fail.int.c b/test/integration/esys-create-fail.int.c index ac4a69e2..6d5222f0 100644 --- a/test/integration/esys-create-fail.int.c +++ b/test/integration/esys-create-fail.int.c @@ -63,7 +63,7 @@ test_invoke_esapi(ESYS_CONTEXT * esys_context) .symmetric = { .algorithm = TPM2_ALG_NULL, .keyBits.aes = 128, - .mode.aes = TPM2_ALG_ECB, + .mode.aes = TPM2_ALG_CFB, }, .scheme = { .scheme = TPM2_ALG_ECDSA, diff --git a/test/integration/esys-create-password-auth.int.c b/test/integration/esys-create-password-auth.int.c index a2af2e57..03478045 100644 --- a/test/integration/esys-create-password-auth.int.c +++ b/test/integration/esys-create-password-auth.int.c @@ -65,7 +65,7 @@ test_invoke_esapi(ESYS_CONTEXT * esys_context) .symmetric = { .algorithm = TPM2_ALG_NULL, .keyBits.aes = 128, - .mode.aes = TPM2_ALG_ECB, + .mode.aes = TPM2_ALG_CFB, }, .scheme = { .scheme = TPM2_ALG_ECDSA, diff --git a/test/integration/esys-create-primary-hmac.int.c b/test/integration/esys-create-primary-hmac.int.c index f889157a..1ade4295 100644 --- a/test/integration/esys-create-primary-hmac.int.c +++ b/test/integration/esys-create-primary-hmac.int.c @@ -64,7 +64,7 @@ test_invoke_esapi(ESYS_CONTEXT * esys_context) .symmetric = { .algorithm = TPM2_ALG_NULL, .keyBits.aes = 128, - .mode.aes = TPM2_ALG_ECB, + .mode.aes = TPM2_ALG_CFB, }, .scheme = { .scheme = TPM2_ALG_ECDSA, diff --git a/test/integration/esys-create-session-auth.int.c b/test/integration/esys-create-session-auth.int.c index 4d42cae0..750a5baa 100644 --- a/test/integration/esys-create-session-auth.int.c +++ b/test/integration/esys-create-session-auth.int.c @@ -70,7 +70,7 @@ test_invoke_esapi(ESYS_CONTEXT * esys_context) .symmetric = { .algorithm = TPM2_ALG_NULL, .keyBits.aes = 128, - .mode.aes = TPM2_ALG_ECB, + .mode.aes = TPM2_ALG_CFB, }, .scheme = { .scheme = TPM2_ALG_ECDH, diff --git a/test/integration/esys-createloaded.int.c b/test/integration/esys-createloaded.int.c index fc991343..4293863f 100644 --- a/test/integration/esys-createloaded.int.c +++ b/test/integration/esys-createloaded.int.c @@ -163,7 +163,7 @@ test_invoke_esapi(ESYS_CONTEXT * esys_context) .symmetric = { .algorithm = TPM2_ALG_NULL, .keyBits.aes = 128, - .mode.aes = TPM2_ALG_ECB, + .mode.aes = TPM2_ALG_CFB, }, .scheme = { .scheme = TPM2_ALG_ECDSA, diff --git a/test/integration/esys-ecdh-keygen.int.c b/test/integration/esys-ecdh-keygen.int.c index e6588d2a..0040528f 100644 --- a/test/integration/esys-ecdh-keygen.int.c +++ b/test/integration/esys-ecdh-keygen.int.c @@ -71,7 +71,7 @@ test_invoke_esapi(ESYS_CONTEXT * esys_context) .symmetric = { .algorithm = TPM2_ALG_NULL, .keyBits.aes = 128, - .mode.aes = TPM2_ALG_ECB, + .mode.aes = TPM2_ALG_CFB, }, .scheme = { .scheme = TPM2_ALG_ECDSA, diff --git a/test/integration/esys-ecdh-zgen.int.c b/test/integration/esys-ecdh-zgen.int.c index d9e2cd5f..9cc9a38c 100644 --- a/test/integration/esys-ecdh-zgen.int.c +++ b/test/integration/esys-ecdh-zgen.int.c @@ -70,7 +70,7 @@ test_invoke_esapi(ESYS_CONTEXT * esys_context) .symmetric = { .algorithm = TPM2_ALG_NULL, .keyBits.aes = 128, - .mode.aes = TPM2_ALG_ECB, + .mode.aes = TPM2_ALG_CFB, }, .scheme = { .scheme = TPM2_ALG_ECDH, diff --git a/test/integration/esys-get-time.int.c b/test/integration/esys-get-time.int.c index 7ab09113..042af24b 100644 --- a/test/integration/esys-get-time.int.c +++ b/test/integration/esys-get-time.int.c @@ -63,7 +63,7 @@ test_invoke_esapi(ESYS_CONTEXT * esys_context) .symmetric = { .algorithm = TPM2_ALG_NULL, .keyBits.aes = 128, - .mode.aes = TPM2_ALG_ECB, + .mode.aes = TPM2_ALG_CFB, }, .scheme = { .scheme = TPM2_ALG_RSASSA, diff --git a/test/integration/esys-nv-certify.int.c b/test/integration/esys-nv-certify.int.c index 8bf6fe91..af4aaf75 100644 --- a/test/integration/esys-nv-certify.int.c +++ b/test/integration/esys-nv-certify.int.c @@ -62,7 +62,7 @@ test_invoke_esapi(ESYS_CONTEXT * esys_context) .symmetric = { .algorithm = TPM2_ALG_NULL, .keyBits.aes = 128, - .mode.aes = TPM2_ALG_ECB, + .mode.aes = TPM2_ALG_CFB, }, .scheme = { .scheme = TPM2_ALG_RSASSA, diff --git a/test/integration/esys-quote.int.c b/test/integration/esys-quote.int.c index 90ede80e..ffd0b4de 100644 --- a/test/integration/esys-quote.int.c +++ b/test/integration/esys-quote.int.c @@ -63,7 +63,7 @@ test_invoke_esapi(ESYS_CONTEXT * esys_context) .symmetric = { .algorithm = TPM2_ALG_NULL, .keyBits.aes = 128, - .mode.aes = TPM2_ALG_ECB, + .mode.aes = TPM2_ALG_CFB, }, .scheme = { .scheme = TPM2_ALG_RSASSA, diff --git a/test/integration/esys-save-and-load-context.int.c b/test/integration/esys-save-and-load-context.int.c index 6a681b73..0aa8154d 100644 --- a/test/integration/esys-save-and-load-context.int.c +++ b/test/integration/esys-save-and-load-context.int.c @@ -65,7 +65,7 @@ test_invoke_esapi(ESYS_CONTEXT * esys_context) .symmetric = { .algorithm = TPM2_ALG_NULL, .keyBits.aes = 128, - .mode.aes = TPM2_ALG_ECB, + .mode.aes = TPM2_ALG_CFB, }, .scheme = { .scheme = TPM2_ALG_ECDSA, diff --git a/test/integration/esys-zgen-2phase.int.c b/test/integration/esys-zgen-2phase.int.c index 59d9b95c..be2cae3a 100644 --- a/test/integration/esys-zgen-2phase.int.c +++ b/test/integration/esys-zgen-2phase.int.c @@ -71,7 +71,7 @@ test_invoke_esapi(ESYS_CONTEXT * esys_context) .symmetric = { .algorithm = TPM2_ALG_NULL, .keyBits.aes = 128, - .mode.aes = TPM2_ALG_ECB, + .mode.aes = TPM2_ALG_CFB, }, .scheme = { .scheme = TPM2_ALG_ECDH, |