content: {
    "$defs": {
      "byte_array": {
        "items": {
          "maximum": 255,
          "minimum": 0,
          "type": "integer"
        },
        "type": "array"
      }
    },
    "$id": "https://raw.githubusercontent.com/lowRISC/opentitan/master/sw/host/cryptotest/testvectors/data/schemas/ecdsa_schema.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "description": "A list of testvectors for ECDSA Signature Verification testing",
    "items": {
      "additionalProperties": false,
      "properties": {
        "algorithm": {
          "description": "Should be ecdsa",
          "enum": [
            "ecdsa"
          ],
          "type": "string"
        },
        "curve": {
          "description": "Curve type",
          "enum": [
            "p256",
            "p384"
          ],
          "type": "string"
        },
        "d": {
          "description": "d parameter",
          "type": "string"
        },
        "hash_alg": {
          "description": "Hash algorithm",
          "enum": [
            "sha-1",
            "sha-224",
            "sha-256",
            "sha-384",
            "sha-512",
            "sha3-256",
            "sha3-384",
            "sha3-512"
          ],
          "type": "string"
        },
        "message": {
          "$ref": "#/$defs/byte_array",
          "description": "Message to be verified"
        },
        "operation": {
          "description": "ECDSA operation",
          "enum": [
            "sign",
            "verify"
          ],
          "type": "string"
        },
        "qx": {
          "description": "Qx",
          "type": "string"
        },
        "qy": {
          "description": "Qy",
          "type": "string"
        },
        "r": {
          "description": "r parameter",
          "type": "string"
        },
        "result": {
          "description": "Verification result",
          "type": "boolean"
        },
        "s": {
          "description": "s parameter",
          "type": "string"
        },
        "test_case_id": {
          "description": "test_case_id",
          "type": "integer"
        },
        "vendor": {
          "description": "test vector vendor name",
          "type": "string"
        }
      },
      "type": "object"
    },
    "minItems": 1,
    "title": "Cryptotest ECDSA Signature Verification Test Vector",
    "type": "array"
  }