Home
last modified time | relevance | path

Searched refs:Sha2state (Results 1 – 7 of 7) sorted by relevance

/device/google/contexthub/lib/include/nanohub/
Dsha2.h30 struct Sha2state { struct
40 void sha2init(struct Sha2state *state); argument
41 void sha2processBytes(struct Sha2state *state, const void *bytes, uint32_t numBytes);
42 const uint32_t* sha2finish(struct Sha2state *state); //returned hash pointer is only valid as long …
/device/google/contexthub/firmware/os/inc/
Dbl.h39 struct Sha2state;
63 void (*blSha2init)(struct Sha2state *state);
64 …void (*blSha2processBytes)(struct Sha2state *state, const void *bytes, uint32_t numByte…
65 const uint32_t* (*blSha2finish)(struct Sha2state *state);
/device/google/contexthub/lib/nanohub/
Dsha2.c21 void sha2init(struct Sha2state *state) in sha2init()
56 static void sha2processBlock(struct Sha2state *state) in sha2processBlock()
121 void sha2processBytes(struct Sha2state *state, const void *bytes, uint32_t numBytes) in sha2processBytes()
146 const uint32_t* sha2finish(struct Sha2state *state) in sha2finish()
/device/google/contexthub/util/nanoapp_encr/
Dnanoapp_encr.c62 struct Sha2state shaState; in handleEncrypt()
157 struct Sha2state shaState; in handleDecrypt()
/device/google/contexthub/util/nanoapp_sign/
Dnanoapp_sign.c228 struct Sha2state shaState; in handleVerify()
318 struct Sha2state shaState; in handleSign()
/device/google/contexthub/firmware/os/core/
DappSec.c58 struct Sha2state sha;
59 struct Sha2state cbcSha;
Dbl.c333 struct Sha2state sha; in blVerifyOsImage()