Example #1
0
static int sha512_compress(hash_state * md, unsigned char *buf)
{
    int err;
    err = _sha512_compress(md, buf);
    burn_stack(sizeof(ulong64) * 90 + sizeof(int));
    return err;
}
Example #2
0
void sha512_compress(psDigestContext_t * md, unsigned char *buf)
{
    _sha512_compress(md, buf);
    psBurnStack(sizeof(uint64) * 90 + sizeof(int));
}