Home
last modified time | relevance | path

Searched refs:nonEqual (Results 1 – 3 of 3) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
DRSADigestSigner.java211 int nonEqual = 0; in verifySignature() local
215 nonEqual |= (sig[sigOffset + i] ^ expected[expectedOffset + i]); in verifySignature()
220 nonEqual |= (sig[i] ^ expected[i]); // check header less NULL in verifySignature()
223 return nonEqual == 0; in verifySignature()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DDigestSignatureSpi.java193 int nonEqual = 0; in engineVerify() local
197 nonEqual |= (sig[sigOffset + i] ^ expected[expectedOffset + i]); in engineVerify()
202 nonEqual |= (sig[i] ^ expected[i]); // check header less NULL in engineVerify()
205 return nonEqual == 0; in engineVerify()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DArrays.java133 int nonEqual = 0; in constantTimeAreEqual() local
137 nonEqual |= (a[i] ^ b[i]); in constantTimeAreEqual()
140 return nonEqual == 0; in constantTimeAreEqual()