diff --git a/tests/object_size.c b/tests/object_size.c index c0248ab65..6cc80077e 100644 --- a/tests/object_size.c +++ b/tests/object_size.c @@ -27,7 +27,14 @@ int main(void) .keyBits = 256, .mode = TPM_ALG_ECB, }, - .scheme = TPM_ALG_RSAPSS, + .scheme = { + .scheme = TPM_ALG_RSAPSS, + .details = { + .rsapss = { + .hashAlg = TPM_ALG_SHA256, + }, + }, + }, .keyBits = MAX_RSA_KEY_BITS, .exponent = 0x10001, },