nsmb_sha512_init
int nsmb_sha512_init(smb_sign_ctx_t *ctxp, smb_crypto_mech_t *mech);
if ((rc = nsmb_sha512_init(&ctx, &vcp->vc3_preauthmech)) != 0)