Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/core/
Dbl.c264 if (numWords % RSA_WORDS) // something is wrong in blExtApiGetRsaKeyInfo()
267 *numKeys = numWords / RSA_WORDS; in blExtApiGetRsaKeyInfo()
276 for (i = SHA2_HASH_WORDS + 1; i < RSA_WORDS - 1; i++) { in blExtApiSigPaddingVerify()
292 if ((rsaResult[RSA_WORDS - 1] >> 16) != 2) in blExtApiSigPaddingVerify()
294 if (!(rsaResult[RSA_WORDS - 1] & 0xff00) || !(rsaResult[RSA_WORDS - 1] & 0xff)) in blExtApiSigPaddingVerify()
336 const uint32_t overhead = sizeof(*hdr) + 2 * RSA_WORDS; in blVerifyOsImage()
361 osSigPubkey = osSigHash + RSA_WORDS; in blVerifyOsImage()
364 …or (i = 0, rsaKey = blExtApiGetRsaKeyInfo(&numRsaKeys); i < numRsaKeys; i++, rsaKey += RSA_WORDS) { in blVerifyOsImage()
DappSec.c66 uint32_t rsaTmp[RSA_WORDS];
/device/google/contexthub/lib/include/nanohub/
Drsa.h25 #define RSA_WORDS (RSA_BYTES / sizeof(uint32_t)) //limbs may change in size, but words are always… macro