Create a new ECDSAP256 key pair.

    :returns: a tuple of the public and private keys

def create_ecdsap256_key_pair():
    """
    Create a new ECDSAP256 key pair.

    :returns: a tuple of the public and private keys
    """
    pub  = ECDSAP256PublicKey()
    priv = ECDSAP256PrivateKey()
    rc = _lib.xtt_crypto_create_ecdsap256_key_pair(pub.native, priv.native)
    if rc == RC.SUCCESS:
        return (pub, priv)
    else:
        raise error_from_code(rc)