//printk("debug ln: %d, fn: %s\n", __LINE__, __func__);
sctx->dbn = 0; //dbn workaround
sctx->started = 0;
+ sctx->count = 0;
return 0;
}
CRTCL_SECT_HASH_END;
if (hash_final) {
- memset(&sctx->buffer[0], 0, SHA1_HMAC_BLOCK_SIZE);
- sctx->count = 0;
+ sha1_hmac_init(desc);
} else {
sctx->dbn = 0;
}