HomeSort by relevance Sort by last modified time
    Searched defs:rsaResult (Results 1 - 2 of 2) sorted by null

  /device/google/contexthub/util/nanoapp_sign/
nanoapp_sign.c 127 const uint32_t *rsaResult;
139 rsaResult = rsaPubOp(&rsa->state, rsa->num, rsa->modulus);
143 printHashRev(stderr, "RSA plaintext", rsaResult, RSA_LIMBS);
146 if ((rsaResult[RSA_LIMBS - 1] & 0xffff0000) != 0x00020000) {
152 if (!(rsaResult[RSA_LIMBS - 1] & 0xff00) || !(rsaResult[RSA_LIMBS - 1] & 0xff)) {
158 if (!(rsaResult[8] & 0xff000000) || !(rsaResult[8] & 0xff0000) || !(rsaResult[8] & 0xff00) || (rsaResult[8] & 0xff))
    [all...]
  /device/google/contexthub/firmware/os/core/
bl.c 271 static const uint32_t* blExtApiSigPaddingVerify(const uint32_t *rsaResult)
277 if (!(uint8_t)(rsaResult[i] >> 0))
279 if (!(uint8_t)(rsaResult[i] >> 8))
281 if (!(uint8_t)(rsaResult[i] >> 16))
283 if (!(uint8_t)(rsaResult[i] >> 24))
288 if ((rsaResult[SHA2_HASH_WORDS] & 0xff) || !(rsaResult[SHA2_HASH_WORDS] & 0xff00) || !(rsaResult[SHA2_HASH_WORDS] & 0xff0000) || !(rsaResult[SHA2_HASH_WORDS] & 0xff000000))
292 if ((rsaResult[RSA_WORDS - 1] >> 16) != 2
    [all...]

Completed in 115 milliseconds