From 323dba3e7485c275736ec173c839e928e5f15c44 Mon Sep 17 00:00:00 2001 From: Nik <njunger@uwaterloo.ca> Date: Thu, 5 Feb 2015 13:14:18 -0500 Subject: [PATCH] Reformat copyright blocks --- c.go | 42 ++++++++++++++++++++--------------------- doc.go | 42 ++++++++++++++++++++--------------------- doc_bls_test.go | 42 ++++++++++++++++++++--------------------- doc_test.go | 42 ++++++++++++++++++++--------------------- element.go | 42 ++++++++++++++++++++--------------------- element_arith.go | 42 ++++++++++++++++++++--------------------- element_arith_simple.go | 42 ++++++++++++++++++++--------------------- element_fmt.go | 42 ++++++++++++++++++++--------------------- element_io.go | 42 ++++++++++++++++++++--------------------- element_misc.go | 42 ++++++++++++++++++++--------------------- errors.go | 42 ++++++++++++++++++++--------------------- generation.go | 42 ++++++++++++++++++++--------------------- gmp_big.go | 42 ++++++++++++++++++++--------------------- pairing.go | 42 ++++++++++++++++++++--------------------- params.go | 42 ++++++++++++++++++++--------------------- pbc_test.go | 42 ++++++++++++++++++++--------------------- rand_hook.c | 42 ++++++++++++++++++++--------------------- utils.go | 42 ++++++++++++++++++++--------------------- 18 files changed, 360 insertions(+), 396 deletions(-) diff --git a/c.go b/c.go index 3b21558..152f438 100644 --- a/c.go +++ b/c.go @@ -1,25 +1,23 @@ -/* - Copyright © 2015 Nik Unger - - This file is part of The PBC Go Wrapper. - - The PBC Go Wrapper is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - The PBC Go Wrapper is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. - - The PBC Go Wrapper makes use of The PBC library. The PBC Library and its - use are covered under the terms of the GNU Lesser General Public License - version 3, or (at your option) any later version. -*/ +// Copyright © 2015 Nik Unger +// +// This file is part of The PBC Go Wrapper. +// +// The PBC Go Wrapper is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or (at your +// option) any later version. +// +// The PBC Go Wrapper is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +// License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. +// +// The PBC Go Wrapper makes use of The PBC library. The PBC Library and its use +// are covered under the terms of the GNU Lesser General Public License +// version 3, or (at your option) any later version. package pbc diff --git a/doc.go b/doc.go index c2c0041..93002b6 100644 --- a/doc.go +++ b/doc.go @@ -1,25 +1,23 @@ -/* - Copyright © 2015 Nik Unger - - This file is part of The PBC Go Wrapper. - - The PBC Go Wrapper is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - The PBC Go Wrapper is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. - - The PBC Go Wrapper makes use of The PBC library. The PBC Library and its - use are covered under the terms of the GNU Lesser General Public License - version 3, or (at your option) any later version. -*/ +// Copyright © 2015 Nik Unger +// +// This file is part of The PBC Go Wrapper. +// +// The PBC Go Wrapper is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or (at your +// option) any later version. +// +// The PBC Go Wrapper is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +// License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. +// +// The PBC Go Wrapper makes use of The PBC library. The PBC Library and its use +// are covered under the terms of the GNU Lesser General Public License +// version 3, or (at your option) any later version. /* Package pbc provides structures for building pairing-based cryptosystems. It diff --git a/doc_bls_test.go b/doc_bls_test.go index 7b4c6b0..0e0dad7 100644 --- a/doc_bls_test.go +++ b/doc_bls_test.go @@ -1,25 +1,23 @@ -/* - Copyright © 2015 Nik Unger - - This file is part of The PBC Go Wrapper. - - The PBC Go Wrapper is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - The PBC Go Wrapper is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. - - The PBC Go Wrapper makes use of The PBC library. The PBC Library and its - use are covered under the terms of the GNU Lesser General Public License - version 3, or (at your option) any later version. -*/ +// Copyright © 2015 Nik Unger +// +// This file is part of The PBC Go Wrapper. +// +// The PBC Go Wrapper is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or (at your +// option) any later version. +// +// The PBC Go Wrapper is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +// License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. +// +// The PBC Go Wrapper makes use of The PBC library. The PBC Library and its use +// are covered under the terms of the GNU Lesser General Public License +// version 3, or (at your option) any later version. package pbc_test diff --git a/doc_test.go b/doc_test.go index b102e52..4dce3a6 100644 --- a/doc_test.go +++ b/doc_test.go @@ -1,25 +1,23 @@ -/* - Copyright © 2015 Nik Unger - - This file is part of The PBC Go Wrapper. - - The PBC Go Wrapper is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - The PBC Go Wrapper is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. - - The PBC Go Wrapper makes use of The PBC library. The PBC Library and its - use are covered under the terms of the GNU Lesser General Public License - version 3, or (at your option) any later version. -*/ +// Copyright © 2015 Nik Unger +// +// This file is part of The PBC Go Wrapper. +// +// The PBC Go Wrapper is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or (at your +// option) any later version. +// +// The PBC Go Wrapper is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +// License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. +// +// The PBC Go Wrapper makes use of The PBC library. The PBC Library and its use +// are covered under the terms of the GNU Lesser General Public License +// version 3, or (at your option) any later version. package pbc_test diff --git a/element.go b/element.go index 077706d..7a1a0c7 100644 --- a/element.go +++ b/element.go @@ -1,25 +1,23 @@ -/* - Copyright © 2015 Nik Unger - - This file is part of The PBC Go Wrapper. - - The PBC Go Wrapper is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - The PBC Go Wrapper is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. - - The PBC Go Wrapper makes use of The PBC library. The PBC Library and its - use are covered under the terms of the GNU Lesser General Public License - version 3, or (at your option) any later version. -*/ +// Copyright © 2015 Nik Unger +// +// This file is part of The PBC Go Wrapper. +// +// The PBC Go Wrapper is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or (at your +// option) any later version. +// +// The PBC Go Wrapper is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +// License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. +// +// The PBC Go Wrapper makes use of The PBC library. The PBC Library and its use +// are covered under the terms of the GNU Lesser General Public License +// version 3, or (at your option) any later version. package pbc diff --git a/element_arith.go b/element_arith.go index b38df52..f9874a1 100644 --- a/element_arith.go +++ b/element_arith.go @@ -1,25 +1,23 @@ -/* - Copyright © 2015 Nik Unger - - This file is part of The PBC Go Wrapper. - - The PBC Go Wrapper is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - The PBC Go Wrapper is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. - - The PBC Go Wrapper makes use of The PBC library. The PBC Library and its - use are covered under the terms of the GNU Lesser General Public License - version 3, or (at your option) any later version. -*/ +// Copyright © 2015 Nik Unger +// +// This file is part of The PBC Go Wrapper. +// +// The PBC Go Wrapper is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or (at your +// option) any later version. +// +// The PBC Go Wrapper is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +// License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. +// +// The PBC Go Wrapper makes use of The PBC library. The PBC Library and its use +// are covered under the terms of the GNU Lesser General Public License +// version 3, or (at your option) any later version. package pbc diff --git a/element_arith_simple.go b/element_arith_simple.go index 4285f21..a48870e 100644 --- a/element_arith_simple.go +++ b/element_arith_simple.go @@ -1,25 +1,23 @@ -/* - Copyright © 2015 Nik Unger - - This file is part of The PBC Go Wrapper. - - The PBC Go Wrapper is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - The PBC Go Wrapper is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. - - The PBC Go Wrapper makes use of The PBC library. The PBC Library and its - use are covered under the terms of the GNU Lesser General Public License - version 3, or (at your option) any later version. -*/ +// Copyright © 2015 Nik Unger +// +// This file is part of The PBC Go Wrapper. +// +// The PBC Go Wrapper is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or (at your +// option) any later version. +// +// The PBC Go Wrapper is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +// License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. +// +// The PBC Go Wrapper makes use of The PBC library. The PBC Library and its use +// are covered under the terms of the GNU Lesser General Public License +// version 3, or (at your option) any later version. package pbc diff --git a/element_fmt.go b/element_fmt.go index 45f157d..ba88b80 100644 --- a/element_fmt.go +++ b/element_fmt.go @@ -1,25 +1,23 @@ -/* - Copyright © 2015 Nik Unger - - This file is part of The PBC Go Wrapper. - - The PBC Go Wrapper is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - The PBC Go Wrapper is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. - - The PBC Go Wrapper makes use of The PBC library. The PBC Library and its - use are covered under the terms of the GNU Lesser General Public License - version 3, or (at your option) any later version. -*/ +// Copyright © 2015 Nik Unger +// +// This file is part of The PBC Go Wrapper. +// +// The PBC Go Wrapper is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or (at your +// option) any later version. +// +// The PBC Go Wrapper is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +// License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. +// +// The PBC Go Wrapper makes use of The PBC library. The PBC Library and its use +// are covered under the terms of the GNU Lesser General Public License +// version 3, or (at your option) any later version. package pbc diff --git a/element_io.go b/element_io.go index fd451a5..2a80dd4 100644 --- a/element_io.go +++ b/element_io.go @@ -1,25 +1,23 @@ -/* - Copyright © 2015 Nik Unger - - This file is part of The PBC Go Wrapper. - - The PBC Go Wrapper is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - The PBC Go Wrapper is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. - - The PBC Go Wrapper makes use of The PBC library. The PBC Library and its - use are covered under the terms of the GNU Lesser General Public License - version 3, or (at your option) any later version. -*/ +// Copyright © 2015 Nik Unger +// +// This file is part of The PBC Go Wrapper. +// +// The PBC Go Wrapper is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or (at your +// option) any later version. +// +// The PBC Go Wrapper is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +// License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. +// +// The PBC Go Wrapper makes use of The PBC library. The PBC Library and its use +// are covered under the terms of the GNU Lesser General Public License +// version 3, or (at your option) any later version. package pbc diff --git a/element_misc.go b/element_misc.go index 5da5811..3353091 100644 --- a/element_misc.go +++ b/element_misc.go @@ -1,25 +1,23 @@ -/* - Copyright © 2015 Nik Unger - - This file is part of The PBC Go Wrapper. - - The PBC Go Wrapper is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - The PBC Go Wrapper is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. - - The PBC Go Wrapper makes use of The PBC library. The PBC Library and its - use are covered under the terms of the GNU Lesser General Public License - version 3, or (at your option) any later version. -*/ +// Copyright © 2015 Nik Unger +// +// This file is part of The PBC Go Wrapper. +// +// The PBC Go Wrapper is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or (at your +// option) any later version. +// +// The PBC Go Wrapper is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +// License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. +// +// The PBC Go Wrapper makes use of The PBC library. The PBC Library and its use +// are covered under the terms of the GNU Lesser General Public License +// version 3, or (at your option) any later version. package pbc diff --git a/errors.go b/errors.go index 99aef06..6cf4d66 100644 --- a/errors.go +++ b/errors.go @@ -1,25 +1,23 @@ -/* - Copyright © 2015 Nik Unger - - This file is part of The PBC Go Wrapper. - - The PBC Go Wrapper is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - The PBC Go Wrapper is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. - - The PBC Go Wrapper makes use of The PBC library. The PBC Library and its - use are covered under the terms of the GNU Lesser General Public License - version 3, or (at your option) any later version. -*/ +// Copyright © 2015 Nik Unger +// +// This file is part of The PBC Go Wrapper. +// +// The PBC Go Wrapper is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or (at your +// option) any later version. +// +// The PBC Go Wrapper is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +// License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. +// +// The PBC Go Wrapper makes use of The PBC library. The PBC Library and its use +// are covered under the terms of the GNU Lesser General Public License +// version 3, or (at your option) any later version. package pbc diff --git a/generation.go b/generation.go index ed4d722..e78e288 100644 --- a/generation.go +++ b/generation.go @@ -1,25 +1,23 @@ -/* - Copyright © 2015 Nik Unger - - This file is part of The PBC Go Wrapper. - - The PBC Go Wrapper is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - The PBC Go Wrapper is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. - - The PBC Go Wrapper makes use of The PBC library. The PBC Library and its - use are covered under the terms of the GNU Lesser General Public License - version 3, or (at your option) any later version. -*/ +// Copyright © 2015 Nik Unger +// +// This file is part of The PBC Go Wrapper. +// +// The PBC Go Wrapper is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or (at your +// option) any later version. +// +// The PBC Go Wrapper is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +// License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. +// +// The PBC Go Wrapper makes use of The PBC library. The PBC Library and its use +// are covered under the terms of the GNU Lesser General Public License +// version 3, or (at your option) any later version. package pbc diff --git a/gmp_big.go b/gmp_big.go index 48621f4..e315ae2 100644 --- a/gmp_big.go +++ b/gmp_big.go @@ -1,25 +1,23 @@ -/* - Copyright © 2015 Nik Unger - - This file is part of The PBC Go Wrapper. - - The PBC Go Wrapper is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - The PBC Go Wrapper is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. - - The PBC Go Wrapper makes use of The PBC library. The PBC Library and its - use are covered under the terms of the GNU Lesser General Public License - version 3, or (at your option) any later version. -*/ +// Copyright © 2015 Nik Unger +// +// This file is part of The PBC Go Wrapper. +// +// The PBC Go Wrapper is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or (at your +// option) any later version. +// +// The PBC Go Wrapper is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +// License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. +// +// The PBC Go Wrapper makes use of The PBC library. The PBC Library and its use +// are covered under the terms of the GNU Lesser General Public License +// version 3, or (at your option) any later version. package pbc diff --git a/pairing.go b/pairing.go index b7d60bd..69ac213 100644 --- a/pairing.go +++ b/pairing.go @@ -1,25 +1,23 @@ -/* - Copyright © 2015 Nik Unger - - This file is part of The PBC Go Wrapper. - - The PBC Go Wrapper is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - The PBC Go Wrapper is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. - - The PBC Go Wrapper makes use of The PBC library. The PBC Library and its - use are covered under the terms of the GNU Lesser General Public License - version 3, or (at your option) any later version. -*/ +// Copyright © 2015 Nik Unger +// +// This file is part of The PBC Go Wrapper. +// +// The PBC Go Wrapper is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or (at your +// option) any later version. +// +// The PBC Go Wrapper is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +// License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. +// +// The PBC Go Wrapper makes use of The PBC library. The PBC Library and its use +// are covered under the terms of the GNU Lesser General Public License +// version 3, or (at your option) any later version. package pbc diff --git a/params.go b/params.go index 2da5fd5..c729348 100644 --- a/params.go +++ b/params.go @@ -1,25 +1,23 @@ -/* - Copyright © 2015 Nik Unger - - This file is part of The PBC Go Wrapper. - - The PBC Go Wrapper is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - The PBC Go Wrapper is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. - - The PBC Go Wrapper makes use of The PBC library. The PBC Library and its - use are covered under the terms of the GNU Lesser General Public License - version 3, or (at your option) any later version. -*/ +// Copyright © 2015 Nik Unger +// +// This file is part of The PBC Go Wrapper. +// +// The PBC Go Wrapper is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or (at your +// option) any later version. +// +// The PBC Go Wrapper is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +// License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. +// +// The PBC Go Wrapper makes use of The PBC library. The PBC Library and its use +// are covered under the terms of the GNU Lesser General Public License +// version 3, or (at your option) any later version. package pbc diff --git a/pbc_test.go b/pbc_test.go index 15f06e0..af99836 100644 --- a/pbc_test.go +++ b/pbc_test.go @@ -1,25 +1,23 @@ -/* - Copyright © 2015 Nik Unger - - This file is part of The PBC Go Wrapper. - - The PBC Go Wrapper is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - The PBC Go Wrapper is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. - - The PBC Go Wrapper makes use of The PBC library. The PBC Library and its - use are covered under the terms of the GNU Lesser General Public License - version 3, or (at your option) any later version. -*/ +// Copyright © 2015 Nik Unger +// +// This file is part of The PBC Go Wrapper. +// +// The PBC Go Wrapper is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or (at your +// option) any later version. +// +// The PBC Go Wrapper is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +// License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. +// +// The PBC Go Wrapper makes use of The PBC library. The PBC Library and its use +// are covered under the terms of the GNU Lesser General Public License +// version 3, or (at your option) any later version. package pbc diff --git a/rand_hook.c b/rand_hook.c index 93baf18..f0d3a42 100644 --- a/rand_hook.c +++ b/rand_hook.c @@ -1,25 +1,23 @@ -/* - Copyright © 2015 Nik Unger - - This file is part of The PBC Go Wrapper. - - The PBC Go Wrapper is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - The PBC Go Wrapper is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. - - The PBC Go Wrapper makes use of The PBC library. The PBC Library and its - use are covered under the terms of the GNU Lesser General Public License - version 3, or (at your option) any later version. -*/ +// Copyright © 2015 Nik Unger +// +// This file is part of The PBC Go Wrapper. +// +// The PBC Go Wrapper is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or (at your +// option) any later version. +// +// The PBC Go Wrapper is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +// License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. +// +// The PBC Go Wrapper makes use of The PBC library. The PBC Library and its use +// are covered under the terms of the GNU Lesser General Public License +// version 3, or (at your option) any later version. #include "_cgo_export.h" #include <pbc/pbc.h> diff --git a/utils.go b/utils.go index 555b7d1..6c62d02 100644 --- a/utils.go +++ b/utils.go @@ -1,25 +1,23 @@ -/* - Copyright © 2015 Nik Unger - - This file is part of The PBC Go Wrapper. - - The PBC Go Wrapper is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - The PBC Go Wrapper is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. - - The PBC Go Wrapper makes use of The PBC library. The PBC Library and its - use are covered under the terms of the GNU Lesser General Public License - version 3, or (at your option) any later version. -*/ +// Copyright © 2015 Nik Unger +// +// This file is part of The PBC Go Wrapper. +// +// The PBC Go Wrapper is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or (at your +// option) any later version. +// +// The PBC Go Wrapper is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +// License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with The PBC Go Wrapper. If not, see <http://www.gnu.org/licenses/>. +// +// The PBC Go Wrapper makes use of The PBC library. The PBC Library and its use +// are covered under the terms of the GNU Lesser General Public License +// version 3, or (at your option) any later version. package pbc -- GitLab