My Project
|
Go to the source code of this file.
Functions | |
int | wc_InitSha3_224 (wc_Sha3 *sha3, void *heap, int devId) |
This function initializes SHA3-224. This is automatically called by wc_Sha3_224Hash. More... | |
int | wc_Sha3_224_Update (wc_Sha3 *sha, const byte *data, word32 len) |
Can be called to continually hash the provided byte array of length len. More... | |
int | wc_Sha3_224_Final (wc_Sha3 *sha3, byte *hash) |
Finalizes hashing of data. Result is placed into hash. Resets state of sha3 struct. More... | |
void | wc_Sha3_224_Free (wc_Sha3 *) |
Resets the wc_Sha3 structure. Note: this is only supported if you have WOLFSSL_TI_HASH defined. More... | |
int | wc_Sha3_224_GetHash (wc_Sha3 *sha3, byte *hash) |
Gets hash data. Result is placed into hash. Does not reset state of sha3 struct. More... | |
int | wc_Sha3_224_Copy (wc_Sha3 *sha3, wc_Sha3 *dst) |
Copy the state of the hash. More... | |
int | wc_InitSha3_256 (wc_Sha3 *sha3, void *heap, int devId) |
This function initializes SHA3-256. This is automatically called by wc_Sha3_256Hash. More... | |
int | wc_Sha3_256_Update (wc_Sha3 *sha, const byte *data, word32 len) |
Can be called to continually hash the provided byte array of length len. More... | |
int | wc_Sha3_256_Final (wc_Sha3 *sha3, byte *hash) |
Finalizes hashing of data. Result is placed into hash. Resets state of sha3 struct. More... | |
void | wc_Sha3_256_Free (wc_Sha3 *) |
Resets the wc_Sha3 structure. Note: this is only supported if you have WOLFSSL_TI_HASH defined. More... | |
int | wc_Sha3_256_GetHash (wc_Sha3 *sha3, byte *hash) |
Gets hash data. Result is placed into hash. Does not reset state of sha3 struct. More... | |
int | wc_Sha3_256_Copy (wc_Sha3 *sha3, wc_Sha3 *dst) |
Copy the state of the hash. More... | |
int | wc_InitSha3_384 (wc_Sha3 *sha3, void *heap, int devId) |
This function initializes SHA3-384. This is automatically called by wc_Sha3_384Hash. More... | |
int | wc_Sha3_384_Update (wc_Sha3 *sha, const byte *data, word32 len) |
Can be called to continually hash the provided byte array of length len. More... | |
int | wc_Sha3_384_Final (wc_Sha3 *sha3, byte *hash) |
Finalizes hashing of data. Result is placed into hash. Resets state of sha3 struct. More... | |
void | wc_Sha3_384_Free (wc_Sha3 *) |
Resets the wc_Sha3 structure. Note: this is only supported if you have WOLFSSL_TI_HASH defined. More... | |
int | wc_Sha3_384_GetHash (wc_Sha3 *sha3, byte *hash) |
Gets hash data. Result is placed into hash. Does not reset state of sha3 struct. More... | |
int | wc_Sha3_384_Copy (wc_Sha3 *sha3, wc_Sha3 *dst) |
Copy the state of the hash. More... | |
int | wc_InitSha3_512 (wc_Sha3 *sha3, void *heap, int devId) |
This function initializes SHA3-512. This is automatically called by wc_Sha3_512Hash. More... | |
int | wc_Sha3_512_Update (wc_Sha3 *sha, const byte *data, word32 len) |
Can be called to continually hash the provided byte array of length len. More... | |
int | wc_Sha3_512_Final (wc_Sha3 *sha3, byte *hash) |
Finalizes hashing of data. Result is placed into hash. Resets state of sha3 struct. More... | |
void | wc_Sha3_512_Free (wc_Sha3 *) |
Resets the wc_Sha3 structure. Note: this is only supported if you have WOLFSSL_TI_HASH defined. More... | |
int | wc_Sha3_512_GetHash (wc_Sha3 *sha3, byte *hash) |
Gets hash data. Result is placed into hash. Does not reset state of sha3 struct. More... | |
int | wc_Sha3_512_Copy (wc_Sha3 *sha3, wc_Sha3 *dst) |
Copy the state of the hash. More... | |
int | wc_InitShake128 (wc_Shake *shake, void *heap, int devId) |
This function initializes SHAKE-128. This is automatically called by wc_Shake128Hash. More... | |
int | wc_Shake128_Update (wc_Shake *sha, const byte *data, word32 len) |
Can be called to continually hash the provided byte array of length len. More... | |
int | wc_Shake128_Final (wc_Shake *shake, byte *hash) |
Finalizes hashing of data. Result is placed into hash. Resets state of shake struct. More... | |
int | wc_Shake128_Absorb (wc_Shake *sha, const byte *data, word32 len) |
Called to absorb the provided byte array of length len. Cannot be called incrementally. More... | |
int | wc_Shake128_SqueezeBlocks (wc_Shake *shake, byte *out, word32 blockCnt) |
Squeeze out more blocks of data. Result is placed into out. Can be called inrementally. More... | |
void | wc_Shake128_Free (wc_Shake *) |
Resets the wc_Shake structure. Note: this is only supported if you have WOLFSSL_TI_HASH defined. More... | |
int | wc_Shake128_GetHash (wc_Shake *shake, byte *hash) |
Gets hash data. Result is placed into hash. Does not reset state of shake struct. More... | |
int | wc_Shake128_Copy (wc_Shake *shake, wc_Shake *dst) |
Copy the state of the hash. More... | |
int | wc_InitShake256 (wc_Shake *shake, void *heap, int devId) |
This function initializes SHAKE-256. This is automatically called by wc_Shake256Hash. More... | |
int | wc_Shake256_Update (wc_Shake *sha, const byte *data, word32 len) |
Can be called to continually hash the provided byte array of length len. More... | |
int | wc_Shake256_Final (wc_Shake *shake, byte *hash, word32 hashLen) |
Finalizes hashing of data. Result is placed into hash. Resets state of shake struct. More... | |
int | wc_Shake256_Absorb (wc_Shake *sha, const byte *data, word32 len) |
Called to absorb the provided byte array of length len. Cannot be called incrementally. More... | |
int | wc_Shake256_SqueezeBlocks (wc_Shake *shake, byte *out, word32 blockCnt) |
Squeeze out more blocks of data. Result is placed into out. Can be called incrementally. More... | |
void | wc_Shake256_Free (wc_Shake *) |
Resets the wc_Shake structure. Note: this is only supported if you have WOLFSSL_TI_HASH defined. More... | |
int | wc_Shake256_GetHash (wc_Shake *shake, byte *hash) |
Gets hash data. Result is placed into hash. Does not reset state of shake struct. More... | |
int | wc_Shake256_Copy (wc_Shake *shake, wc_Shake *dst) |
Copy the state of the hash. More... | |