Turn down the shake domain max for now (server issues)
@@ -939,8 +939,12 @@ static int enable_hash(ACVP_CTX *ctx) {
CHECK_ENABLE_CAP_RV(rv);
rv = acvp_cap_hash_set_parm(ctx, ACVP_HASH_SHAKE_128, ACVP_HASH_IN_EMPTY, 1);
CHECK_ENABLE_CAP_RV(rv);
+#if 0
rv = acvp_cap_hash_set_domain(ctx, ACVP_HASH_SHAKE_128, ACVP_HASH_OUT_LENGTH, 16, 65536, 8);
CHECK_ENABLE_CAP_RV(rv);
+#endif
+ rv = acvp_cap_hash_set_domain(ctx, ACVP_HASH_SHAKE_128, ACVP_HASH_OUT_LENGTH, 16, 1024, 8);
+ CHECK_ENABLE_CAP_RV(rv);
rv = acvp_cap_hash_enable(ctx, ACVP_HASH_SHAKE_256, &app_sha_handler);
CHECK_ENABLE_CAP_RV(rv);
@@ -950,9 +954,13 @@ static int enable_hash(ACVP_CTX *ctx) {
CHECK_ENABLE_CAP_RV(rv);
rv = acvp_cap_hash_set_parm(ctx, ACVP_HASH_SHAKE_256, ACVP_HASH_IN_EMPTY, 1);
CHECK_ENABLE_CAP_RV(rv);
+#if 0
rv = acvp_cap_hash_set_domain(ctx, ACVP_HASH_SHAKE_256, ACVP_HASH_OUT_LENGTH, 16, 65536, 8);
CHECK_ENABLE_CAP_RV(rv);
#endif
+ rv = acvp_cap_hash_set_domain(ctx, ACVP_HASH_SHAKE_256, ACVP_HASH_OUT_LENGTH, 16, 1024, 8);
+ CHECK_ENABLE_CAP_RV(rv);
+#endif
end:
