mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
Update package to 3.23.0. Changes since 3.18.0: 3.19.0: Added ECDH support via Crypto.Protocol.DH; TupleHash128/256 update() can now hash multiple items at once; fixed cffi bug on Windows with Python 3.12+. 3.19.1 (security): Patched side-channel leakage in OAEP decryption that could enable a Manger attack. 3.20.0: Added TurboSHAKE128 and TurboSHAKE256; added Crypto.Hash.new() factory; AES-GCM support for PBES2/PKCS#8 containers; SHA-2/SHA-3 support in PBKDF2 for key containers. 3.21.0: Added Curve25519/X25519 and Curve448/X448 support; added PYCRYPTODOME_DISABLE_GMP env var; RSA keys for PSS can now be imported; fixed Ed25519 point negation; dropped Python 3.5 support. 3.22.0: Added HPKE (RFC 9180) support; CCM cipher now enforces nonce-length data limits; fixed RC4 infinite loop for data >4GB; fixed invalid PEM file handling; dropped Python 3.6 support. 3.23.0: Added Key Wrap (KW/KWP, RFC 3394/5649/NIST SP 800-38F) cipher modes; Windows ARM wheels; fixed HashEdDSA/Ed448 sign/verify mutating XOF state. Refresh 001-fix-libgmp-loading.patch and 002-omit-tests.patch for the updated source (hunk offsets shifted by 2-4 lines due to new functions). Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=python-cryptodome
|
|
PKG_VERSION:=3.23.0
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=pycryptodome
|
|
PKG_HASH:=447700a657182d60338bab09fdb27518f8856aecd80ae4c6bdddb67ff5da44ef
|
|
|
|
PKG_LICENSE:=Public-Domain BSD-2-Clause
|
|
PKG_LICENSE_FILES:=LICENSE.rst
|
|
PKG_MAINTAINER:=Richard Yu <yurichard3839@gmail.com>
|
|
PKG_CPE_ID:=cpe:/a:pycryptodome:pycryptodome
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../python3-package.mk
|
|
|
|
PYTHON3_PKG_BUILD_VARS:= \
|
|
CONFIG_BIG_ENDIAN="$(CONFIG_BIG_ENDIAN)"
|
|
|
|
define Package/python3-cryptodome
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
SUBMENU:=Python
|
|
TITLE:=Self-contained cryptographic library
|
|
URL:=https://www.pycryptodome.org/
|
|
DEPENDS:=+libgmp +python3-light +python3-cffi
|
|
PROVIDES:=python3-crypto
|
|
endef
|
|
|
|
define Package/python3-cryptodome/description
|
|
PyCryptodome is a self-contained Python package of low-level
|
|
cryptographic primitives.
|
|
endef
|
|
|
|
$(eval $(call Py3Package,python3-cryptodome))
|
|
$(eval $(call BuildPackage,python3-cryptodome))
|
|
$(eval $(call BuildPackage,python3-cryptodome-src))
|