/* Where licence restrictions differ the most restrictive applies. */ /* * Purpose: Some tools for arithmetic on elliptic curves. * Parts Copyright: Robert J. Harley, 03-Feb-1997 * Contact: Robert.Harley@inria.fr * Legalese: You can do what you want with this code as long as this * comment stays attached in a prominent position in * human-readable form, any distribution of this or * derived products is made without profit and includes * full source and is subject to the same conditions. */ /* * Parts Copyright (c) 1997,1998 by British Telecommunications plc. * * Permission to use, copy, modify, and distribute this software for any * purpose without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND BRITISH TELECOMMUNICATIONS PLC DISCLAIMS * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL BRITISH TELECOMMUNICATIONS * PLC BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS * SOFTWARE. */