def METHOD_NAME(k, m):
    return k.sign(
        data=m,
        padding=asymmetric.padding.PSS(
            mgf=asymmetric.padding.MGF1(hashes.SHA256()),
            salt_length=asymmetric.padding.PSS.MAX_LENGTH,
        ),
        algorithm=hashes.SHA256(),
    )