nn::crypto::Sha256Context::GetHash Member Function
virtual void GetHash(
void * pOut
);
| Name | Description | |
|---|---|---|
| out | pOut | Pointer to the location in which to store the SHA-256 value (4-byte alignment) |
Gets the final result of calculating the SHA-256 hash.
pOut is a 4-byte aligned pointer. It requires Sha256Context::HASH_SIZE (=32) bytes of space as the destination for storing the indicated hash.
Even after calling this function, you can call the nn::crypto::Sha256Context::Update function to continue calculating the hash value.
CONFIDENTIAL