If you are looking for more reference implementations, try: http://www.antd.nist.gov/itg/nistswitch/ http://www.cl.cam.ac.uk/Research/SRG/netos/netx/code/