throw new SodiumException('Signature is too short'
);
} if (PHP_INT_SIZE === 4
) { return self::
verify_core32($sig,
$filePath,
$publicKey);
} /* Security checks */
if ( (ParagonIE_Sodium_Core_Ed25519::
chrToInt($sig[63
]) & 240
) &&
ParagonIE_Sodium_Core_Ed25519::
check_S_lt_L(self::
substr($sig, 32, 32
)) ) { throw new SodiumException('S < L - Invalid signature'
);
} if (ParagonIE_Sodium_Core_Ed25519::
small_order($sig)) { throw new SodiumException('Signature is on too small of an order'
);
} if ((self::
chrToInt($sig[63
]) & 224
) !== 0
) { throw new SodiumException('Invalid signature'
);
} $d = 0;
for ($i = 0;
$i < 32; ++
$i) {