From 950503f1673414593ccdaf7128e8fd39d254d082 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Thu, 30 Apr 2020 14:12:36 +0200 Subject: [PATCH] Update copyright year --- NOTICE | 2 +- README.md | 2 +- setup.py | 26 +++++++++++++------------- tests/__init__.py | 26 +++++++++++++------------- tests/cbc/__init__.py | 26 +++++++++++++------------- tests/cbc/test_cbc.py | 26 +++++++++++++------------- tests/ctr/__init__.py | 26 +++++++++++++------------- tests/ctr/test_ctr.py | 26 +++++++++++++------------- tests/ige/__init__.py | 26 +++++++++++++------------- tests/ige/test_ige.py | 26 +++++++++++++------------- tgcrypto/aes256.c | 36 +++++++++++++++++++----------------- tgcrypto/aes256.h | 36 +++++++++++++++++++----------------- tgcrypto/cbc256.c | 36 +++++++++++++++++++----------------- tgcrypto/cbc256.h | 36 +++++++++++++++++++----------------- tgcrypto/ctr256.c | 36 +++++++++++++++++++----------------- tgcrypto/ctr256.h | 36 +++++++++++++++++++----------------- tgcrypto/ige256.c | 36 +++++++++++++++++++----------------- tgcrypto/ige256.h | 36 +++++++++++++++++++----------------- tgcrypto/tgcrypto.c | 36 +++++++++++++++++++----------------- 19 files changed, 277 insertions(+), 259 deletions(-) diff --git a/NOTICE b/NOTICE index a20c6bd..d1c4ccb 100644 --- a/NOTICE +++ b/NOTICE @@ -1,5 +1,5 @@ Pyrogram - Telegram MTProto API Client Library for Python -Copyright (C) 2017-2019 Dan +Copyright (C) 2017-2020 Dan This file is part of Pyrogram. diff --git a/README.md b/README.md index f2adc34..fbd2ffe 100644 --- a/README.md +++ b/README.md @@ -167,4 +167,4 @@ print(data == cbc_decrypted) # True ## License -[LGPLv3+](COPYING.lesser) © 2017-2019 [Dan](https://github.com/delivrance) +[LGPLv3+](COPYING.lesser) © 2017-2020 [Dan](https://github.com/delivrance) diff --git a/setup.py b/setup.py index 3247e03..95f89ca 100644 --- a/setup.py +++ b/setup.py @@ -1,20 +1,20 @@ -# Pyrogram - Telegram MTProto API Client Library for Python -# Copyright (C) 2017-2019 Dan +# Pyrogram - Telegram MTProto API Client Library for Python +# Copyright (C) 2017-2020 Dan # -# This file is part of Pyrogram. +# This file is part of Pyrogram. # -# Pyrogram 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. +# Pyrogram 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. # -# Pyrogram 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. +# Pyrogram 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 Pyrogram. If not, see . +# You should have received a copy of the GNU Lesser General Public License +# along with Pyrogram. If not, see . from setuptools import setup, Extension, find_packages diff --git a/tests/__init__.py b/tests/__init__.py index 190a8d5..3d510a5 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,17 +1,17 @@ -# Pyrogram - Telegram MTProto API Client Library for Python -# Copyright (C) 2017-2019 Dan +# Pyrogram - Telegram MTProto API Client Library for Python +# Copyright (C) 2017-2020 Dan # -# This file is part of Pyrogram. +# This file is part of Pyrogram. # -# Pyrogram 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. +# Pyrogram 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. # -# Pyrogram 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. +# Pyrogram 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 Pyrogram. If not, see . +# You should have received a copy of the GNU Lesser General Public License +# along with Pyrogram. If not, see . diff --git a/tests/cbc/__init__.py b/tests/cbc/__init__.py index 190a8d5..3d510a5 100644 --- a/tests/cbc/__init__.py +++ b/tests/cbc/__init__.py @@ -1,17 +1,17 @@ -# Pyrogram - Telegram MTProto API Client Library for Python -# Copyright (C) 2017-2019 Dan +# Pyrogram - Telegram MTProto API Client Library for Python +# Copyright (C) 2017-2020 Dan # -# This file is part of Pyrogram. +# This file is part of Pyrogram. # -# Pyrogram 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. +# Pyrogram 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. # -# Pyrogram 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. +# Pyrogram 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 Pyrogram. If not, see . +# You should have received a copy of the GNU Lesser General Public License +# along with Pyrogram. If not, see . diff --git a/tests/cbc/test_cbc.py b/tests/cbc/test_cbc.py index ea4294b..ebf2001 100644 --- a/tests/cbc/test_cbc.py +++ b/tests/cbc/test_cbc.py @@ -1,20 +1,20 @@ -# Pyrogram - Telegram MTProto API Client Library for Python -# Copyright (C) 2017-2019 Dan +# Pyrogram - Telegram MTProto API Client Library for Python +# Copyright (C) 2017-2020 Dan # -# This file is part of Pyrogram. +# This file is part of Pyrogram. # -# Pyrogram 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. +# Pyrogram 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. # -# Pyrogram 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. +# Pyrogram 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 Pyrogram. If not, see . +# You should have received a copy of the GNU Lesser General Public License +# along with Pyrogram. If not, see . import os import random diff --git a/tests/ctr/__init__.py b/tests/ctr/__init__.py index 190a8d5..3d510a5 100644 --- a/tests/ctr/__init__.py +++ b/tests/ctr/__init__.py @@ -1,17 +1,17 @@ -# Pyrogram - Telegram MTProto API Client Library for Python -# Copyright (C) 2017-2019 Dan +# Pyrogram - Telegram MTProto API Client Library for Python +# Copyright (C) 2017-2020 Dan # -# This file is part of Pyrogram. +# This file is part of Pyrogram. # -# Pyrogram 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. +# Pyrogram 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. # -# Pyrogram 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. +# Pyrogram 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 Pyrogram. If not, see . +# You should have received a copy of the GNU Lesser General Public License +# along with Pyrogram. If not, see . diff --git a/tests/ctr/test_ctr.py b/tests/ctr/test_ctr.py index 595a288..8f26260 100644 --- a/tests/ctr/test_ctr.py +++ b/tests/ctr/test_ctr.py @@ -1,20 +1,20 @@ -# Pyrogram - Telegram MTProto API Client Library for Python -# Copyright (C) 2017-2019 Dan +# Pyrogram - Telegram MTProto API Client Library for Python +# Copyright (C) 2017-2020 Dan # -# This file is part of Pyrogram. +# This file is part of Pyrogram. # -# Pyrogram 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. +# Pyrogram 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. # -# Pyrogram 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. +# Pyrogram 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 Pyrogram. If not, see . +# You should have received a copy of the GNU Lesser General Public License +# along with Pyrogram. If not, see . import os import random diff --git a/tests/ige/__init__.py b/tests/ige/__init__.py index 190a8d5..3d510a5 100644 --- a/tests/ige/__init__.py +++ b/tests/ige/__init__.py @@ -1,17 +1,17 @@ -# Pyrogram - Telegram MTProto API Client Library for Python -# Copyright (C) 2017-2019 Dan +# Pyrogram - Telegram MTProto API Client Library for Python +# Copyright (C) 2017-2020 Dan # -# This file is part of Pyrogram. +# This file is part of Pyrogram. # -# Pyrogram 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. +# Pyrogram 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. # -# Pyrogram 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. +# Pyrogram 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 Pyrogram. If not, see . +# You should have received a copy of the GNU Lesser General Public License +# along with Pyrogram. If not, see . diff --git a/tests/ige/test_ige.py b/tests/ige/test_ige.py index 1739741..7995031 100644 --- a/tests/ige/test_ige.py +++ b/tests/ige/test_ige.py @@ -1,20 +1,20 @@ -# Pyrogram - Telegram MTProto API Client Library for Python -# Copyright (C) 2017-2019 Dan +# Pyrogram - Telegram MTProto API Client Library for Python +# Copyright (C) 2017-2020 Dan # -# This file is part of Pyrogram. +# This file is part of Pyrogram. # -# Pyrogram 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. +# Pyrogram 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. # -# Pyrogram 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. +# Pyrogram 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 Pyrogram. If not, see . +# You should have received a copy of the GNU Lesser General Public License +# along with Pyrogram. If not, see . import os import random diff --git a/tgcrypto/aes256.c b/tgcrypto/aes256.c index 79a51a6..dbaf8a2 100644 --- a/tgcrypto/aes256.c +++ b/tgcrypto/aes256.c @@ -1,20 +1,22 @@ -// Pyrogram - Telegram MTProto API Client Library for Python -// Copyright (C) 2017-2019 Dan -// -// This file is part of Pyrogram. -// -// Pyrogram 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. -// -// Pyrogram 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 Pyrogram. If not, see . +/* + * Pyrogram - Telegram MTProto API Client Library for Python + * Copyright (C) 2017-2020 Dan + * + * This file is part of Pyrogram. + * + * Pyrogram 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. + * + * Pyrogram 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 Pyrogram. If not, see . + */ #include "aes256.h" diff --git a/tgcrypto/aes256.h b/tgcrypto/aes256.h index 8480f15..0baac68 100644 --- a/tgcrypto/aes256.h +++ b/tgcrypto/aes256.h @@ -1,20 +1,22 @@ -// Pyrogram - Telegram MTProto API Client Library for Python -// Copyright (C) 2017-2019 Dan -// -// This file is part of Pyrogram. -// -// Pyrogram 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. -// -// Pyrogram 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 Pyrogram. If not, see . +/* + * Pyrogram - Telegram MTProto API Client Library for Python + * Copyright (C) 2017-2020 Dan + * + * This file is part of Pyrogram. + * + * Pyrogram 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. + * + * Pyrogram 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 Pyrogram. If not, see . + */ #include #include diff --git a/tgcrypto/cbc256.c b/tgcrypto/cbc256.c index 3cb0630..cfd04d3 100644 --- a/tgcrypto/cbc256.c +++ b/tgcrypto/cbc256.c @@ -1,20 +1,22 @@ -// Pyrogram - Telegram MTProto API Client Library for Python -// Copyright (C) 2017-2019 Dan -// -// This file is part of Pyrogram. -// -// Pyrogram 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. -// -// Pyrogram 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 Pyrogram. If not, see . +/* + * Pyrogram - Telegram MTProto API Client Library for Python + * Copyright (C) 2017-2020 Dan + * + * This file is part of Pyrogram. + * + * Pyrogram 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. + * + * Pyrogram 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 Pyrogram. If not, see . + */ #include "aes256.h" diff --git a/tgcrypto/cbc256.h b/tgcrypto/cbc256.h index f145a74..201514e 100644 --- a/tgcrypto/cbc256.h +++ b/tgcrypto/cbc256.h @@ -1,20 +1,22 @@ -// Pyrogram - Telegram MTProto API Client Library for Python -// Copyright (C) 2017-2019 Dan -// -// This file is part of Pyrogram. -// -// Pyrogram 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. -// -// Pyrogram 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 Pyrogram. If not, see . +/* + * Pyrogram - Telegram MTProto API Client Library for Python + * Copyright (C) 2017-2020 Dan + * + * This file is part of Pyrogram. + * + * Pyrogram 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. + * + * Pyrogram 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 Pyrogram. If not, see . + */ #ifndef CBC256_H #define CBC256_H diff --git a/tgcrypto/ctr256.c b/tgcrypto/ctr256.c index 21937f2..64d3ca6 100644 --- a/tgcrypto/ctr256.c +++ b/tgcrypto/ctr256.c @@ -1,20 +1,22 @@ -// Pyrogram - Telegram MTProto API Client Library for Python -// Copyright (C) 2017-2019 Dan -// -// This file is part of Pyrogram. -// -// Pyrogram 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. -// -// Pyrogram 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 Pyrogram. If not, see . +/* + * Pyrogram - Telegram MTProto API Client Library for Python + * Copyright (C) 2017-2020 Dan + * + * This file is part of Pyrogram. + * + * Pyrogram 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. + * + * Pyrogram 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 Pyrogram. If not, see . + */ #include "aes256.h" diff --git a/tgcrypto/ctr256.h b/tgcrypto/ctr256.h index f235f79..87d9a3c 100644 --- a/tgcrypto/ctr256.h +++ b/tgcrypto/ctr256.h @@ -1,20 +1,22 @@ -// Pyrogram - Telegram MTProto API Client Library for Python -// Copyright (C) 2017-2019 Dan -// -// This file is part of Pyrogram. -// -// Pyrogram 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. -// -// Pyrogram 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 Pyrogram. If not, see . +/* + * Pyrogram - Telegram MTProto API Client Library for Python + * Copyright (C) 2017-2020 Dan + * + * This file is part of Pyrogram. + * + * Pyrogram 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. + * + * Pyrogram 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 Pyrogram. If not, see . + */ #ifndef CTR256_H #define CTR256_H diff --git a/tgcrypto/ige256.c b/tgcrypto/ige256.c index dc2f484..b429bd0 100644 --- a/tgcrypto/ige256.c +++ b/tgcrypto/ige256.c @@ -1,20 +1,22 @@ -// Pyrogram - Telegram MTProto API Client Library for Python -// Copyright (C) 2017-2019 Dan -// -// This file is part of Pyrogram. -// -// Pyrogram 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. -// -// Pyrogram 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 Pyrogram. If not, see . +/* + * Pyrogram - Telegram MTProto API Client Library for Python + * Copyright (C) 2017-2020 Dan + * + * This file is part of Pyrogram. + * + * Pyrogram 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. + * + * Pyrogram 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 Pyrogram. If not, see . + */ #include "aes256.h" diff --git a/tgcrypto/ige256.h b/tgcrypto/ige256.h index 73af7b5..174b9b9 100644 --- a/tgcrypto/ige256.h +++ b/tgcrypto/ige256.h @@ -1,20 +1,22 @@ -// Pyrogram - Telegram MTProto API Client Library for Python -// Copyright (C) 2017-2019 Dan -// -// This file is part of Pyrogram. -// -// Pyrogram 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. -// -// Pyrogram 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 Pyrogram. If not, see . +/* + * Pyrogram - Telegram MTProto API Client Library for Python + * Copyright (C) 2017-2020 Dan + * + * This file is part of Pyrogram. + * + * Pyrogram 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. + * + * Pyrogram 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 Pyrogram. If not, see . + */ #ifndef IGE256_H #define IGE256_H diff --git a/tgcrypto/tgcrypto.c b/tgcrypto/tgcrypto.c index 997ab6c..91a2342 100644 --- a/tgcrypto/tgcrypto.c +++ b/tgcrypto/tgcrypto.c @@ -1,20 +1,22 @@ -// Pyrogram - Telegram MTProto API Client Library for Python -// Copyright (C) 2017-2019 Dan -// -// This file is part of Pyrogram. -// -// Pyrogram 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. -// -// Pyrogram 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 Pyrogram. If not, see . +/* + * Pyrogram - Telegram MTProto API Client Library for Python + * Copyright (C) 2017-2020 Dan + * + * This file is part of Pyrogram. + * + * Pyrogram 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. + * + * Pyrogram 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 Pyrogram. If not, see . + */ #define PY_SSIZE_T_CLEAN #include