Home
last modified time | relevance | path

Searched refs:sha2processBytes (Results 1 – 5 of 5) sorted by relevance

/device/google/contexthub/lib/nanohub/
Dsha2.c121 void sha2processBytes(struct Sha2state *state, const void *bytes, uint32_t numBytes) in sha2processBytes() function
153 sha2processBytes(state, &appendend, 1); in sha2finish()
158 sha2processBytes(state, &appendend, 1); in sha2finish()
/device/google/contexthub/util/nanoapp_sign/
Dnanoapp_sign.c262 sha2processBytes(&shaState, buf, bufUsed - sigData); in handleVerify()
278 sha2processBytes(&shaState, sigPack+RSA_BYTES, RSA_BYTES); in handleVerify()
291 sha2processBytes(&shaState, buf, bufUsed - SIGNATURE_BLOCK_SIZE); in handleVerify()
343 sha2processBytes(&shaState, buf, bufUsed); in handleSign()
355 sha2processBytes(&shaState, buf + bufUsed- RSA_BYTES, RSA_BYTES); in handleSign()
361 sha2processBytes(&shaState, buf, bufUsed); in handleSign()
/device/google/contexthub/lib/include/nanohub/
Dsha2.h41 void sha2processBytes(struct Sha2state *state, const void *bytes, uint32_t numBytes);
/device/google/contexthub/util/nanoapp_encr/
Dnanoapp_encr.c136 sha2processBytes(&shaState, data + i, sz); in handleEncrypt()
210 sha2processBytes(&shaState, outBuf, size); in handleDecrypt()
/device/google/contexthub/firmware/src/platform/stm32f4xx/
Dbl.c691 .blSha2processBytes = &sha2processBytes,
805 sha2processBytes(&sha, &cpy, sizeof(cpy)); in blVerifyOsImage()
806 sha2processBytes(&sha, (uint8_t*)(hdr + 1), hdr->size); in blVerifyOsImage()