Searched refs:sha2processBytes (Results 1 – 5 of 5) sorted by relevance
/device/google/contexthub/lib/nanohub/ |
D | sha2.c | 121 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/ |
D | nanoapp_sign.c | 262 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/ |
D | sha2.h | 41 void sha2processBytes(struct Sha2state *state, const void *bytes, uint32_t numBytes);
|
/device/google/contexthub/util/nanoapp_encr/ |
D | nanoapp_encr.c | 136 sha2processBytes(&shaState, data + i, sz); in handleEncrypt() 210 sha2processBytes(&shaState, outBuf, size); in handleDecrypt()
|
/device/google/contexthub/firmware/os/core/ |
D | bl.c | 400 sha2processBytes(&sha, &cpy, sizeof(cpy)); in blVerifyOsImage() 401 sha2processBytes(&sha, (uint8_t*)(hdr + 1), hdr->size); in blVerifyOsImage() 706 .blSha2processBytes = &sha2processBytes,
|