Implement camellia-gcm functions into libcrypto and camellia-gcm ciphersuites from RFC 6367 into libssl. And TLS 1.3 camellia-gcm ciphersuites are supported for private use in OpenSSL 1.1.1 and later version.
Reference: openssl/openssl#374
- Required packages:
packaging-dev
,lzip
/ Preparation:sudo apt-get build-dep openssl
Only the Camellia-GCM
(# in some directory)
git clone -b camellia --depth 1 https://gist.github.com/h-yamamo/157804dc9011a33afb99a3324114ee23
apt-get -d source openssl
tar xf openssl_1.1.0l.orig.tar.gz
cd openssl-1.1.0l
tar xf ../openssl_1.1.0l-1~deb9u6.debian.tar.xz
tar xvf ../157804dc9011a33afb99a3324114ee23/debian.tlz
(# you may edit debian/changelog and/or something others)
debuild -uc -us
Camellia-GCM and EVP_AEAD APIs
(# in some directory)
git clone -b evp-aead-camellia --depth 1 https://gist.github.com/h-yamamo/157804dc9011a33afb99a3324114ee23
apt-get -d source openssl
tar xf openssl_1.1.0l.orig.tar.gz
cd openssl-1.1.0l
tar xf ../openssl_1.1.0l-1~deb9u6.debian.tar.xz
tar xvf ../157804dc9011a33afb99a3324114ee23/debian.tlz
(# you may edit debian/changelog and/or something others)
debuild -uc -us
Camellia-GCM and EVP_AEAD APIs
(# in some directory)
git clone -b buster --depth 1 https://gist.github.com/h-yamamo/157804dc9011a33afb99a3324114ee23
apt-get -d source openssl
tar xf openssl_1.1.1n.orig.tar.gz
cd openssl-1.1.1n
tar xf ../openssl_1.1.1n-0+deb10u6.debian.tar.xz
tar xvf ../157804dc9011a33afb99a3324114ee23/debian.tlz
(# you may edit debian/changelog and/or something others)
debuild -uc -us
Camellia-GCM and EVP_AEAD APIs
(# in some directory)
git clone -b bullseye --depth 1 https://gist.github.com/h-yamamo/157804dc9011a33afb99a3324114ee23
apt-get -d source openssl
tar xf openssl_1.1.1w.orig.tar.gz
cd openssl-1.1.1w
tar xf ../openssl_1.1.1w-0+deb11u1.debian.tar.xz
tar xvf ../157804dc9011a33afb99a3324114ee23/debian.tlz
(# you may edit debian/changelog and/or something others)
debuild -uc -us
Camellia-GCM and EVP_AEAD APIs
(# in some directory)
git clone -b bookworm --depth 1 https://gist.github.com/h-yamamo/157804dc9011a33afb99a3324114ee23
apt-get -d source openssl
tar xf openssl_3.0.13.orig.tar.gz
cd openssl-3.0.13
tar xf ../openssl_3.0.13-1~deb12u1.debian.tar.xz
tar xvf ../157804dc9011a33afb99a3324114ee23/debian.tlz
(# you may edit debian/changelog, debian/patches/series and/or something others)
debuild -uc -us
(# DEB_BUILD_PROFILES=noudeb debuild -uc -us ;# without udeb)
Camellia-GCM and EVP_AEAD APIs
(# in some directory)
git clone -b bionic_e1 --depth 1 https://gist.github.com/h-yamamo/157804dc9011a33afb99a3324114ee23
apt-get -d source openssl
tar xf openssl_1.1.1.orig.tar.gz
cd openssl-1.1.1
tar xf ../openssl_1.1.1-1ubuntu2.1~18.04.23.debian.tar.xz
tar xvf ../157804dc9011a33afb99a3324114ee23/debian.tlz
(# you may edit debian/changelog and/or something others)
debuild -uc -us
Camellia-GCM and EVP_AEAD APIs
(# in some directory)
git clone -b focal --depth 1 https://gist.github.com/h-yamamo/157804dc9011a33afb99a3324114ee23
apt-get -d source openssl
tar xf openssl_1.1.1f.orig.tar.gz
cd openssl-1.1.1f
tar xf ../openssl_1.1.1f-1ubuntu2.22.debian.tar.xz
tar xvf ../157804dc9011a33afb99a3324114ee23/debian.tlz
(# you may edit debian/changelog and/or something others)
debuild -uc -us
Camellia-GCM and EVP_AEAD APIs
(# in some directory)
git clone -b jammy --depth 1 https://gist.github.com/h-yamamo/157804dc9011a33afb99a3324114ee23
apt-get -d source openssl
tar xf openssl_3.0.2.orig.tar.gz
cd openssl-3.0.2
tar xf ../openssl_3.0.2-0ubuntu1.15.debian.tar.xz
tar xvf ../157804dc9011a33afb99a3324114ee23/debian.tlz
(# you may edit debian/changelog, debian/patches/series and/or something others)
debuild -uc -us
Camellia-GCM and EVP_AEAD APIs
(# in some directory)
git clone -b noble --depth 1 https://gist.github.com/h-yamamo/157804dc9011a33afb99a3324114ee23
apt-get -d source openssl
tar xf openssl_3.0.13.orig.tar.gz
cd openssl-3.0.13
tar xf ../openssl_3.0.13-0ubuntu3.1.debian.tar.xz
tar xvf ../157804dc9011a33afb99a3324114ee23/debian.tlz
(# you may edit debian/changelog, debian/patches/series and/or something others)
debuild -uc -us
(# DEB_BUILD_PROFILES=noudeb debuild -uc -us ;# without udeb)
2017-10-20 Update evp-aead-camellia branch.
See
/usr/include/openssl/curve25519.h
in libssl-dev package for more information.