unifying the Init method for nacl and asm