rv = SEC_ASN1DecodeItem(arena,sw_init_file,fortSwFortezzaInitFile,initBits);
rv = SEC_QuickDERDecodeItem(arena,sw_init_file,fortSwFortezzaInitFile,initBits);
FORT_GetSWFile(SECItem *initBits){    FORTSignedSWFile *sw_init_file;    PRArenaPool *arena = NULL;    SECStatus rv;    int i, count;    /* get the local arena... be sure to free this at the end */    /* get the local arena... be sure to free this at the end */    arena = PORT_NewArena(DER_DEFAULT_CHUNKSIZE);    if (arena == NULL) goto fail;    sw_init_file = (FORTSignedSWFile *)		PORT_ArenaZAlloc(arena,sizeof(FORTSignedSWFile));    if (sw_init_file == NULL) goto fail;    /* ANS1 decode the complete init file */    rv = SEC_ASN1DecodeItem(arena,sw_init_file,fortSwFortezzaInitFile,initBits);    if (rv != SECSuccess) {	goto fail;    }    /* count the certs */    count = 0;    while (sw_init_file->file.slotEntries[count]) count++;    for (i=0; i < count; i++) {	/* update the cert Index Pointers */	sw_init_file->file.slotEntries[i]->certIndex =		DER_GetInteger(&sw_init_file->				file.slotEntries[i]->certificateIndex );    }    /* now start checking the mem phrases and pins, as well as calculating the     * file's 'K' values. First we start with K(init). */    sw_init_file->file.arena = arena;     return sw_init_file;    /* OK now that we've read in the init file, and now have Kinit, Ks, and the     * appropriate Pin Phrase, we need to build our database file. */   fail:     if (arena) PORT_FreeArena(arena,PR_TRUE);    return NULL;}