<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/tpm2-tss, branch 2019.02-op-build</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2019.02-op-build</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2019.02-op-build'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2019-03-25T16:30:19+00:00</updated>
<entry>
<title>package/tpm2-tss: rename tpm2-tss libraries in the help text</title>
<updated>2019-03-25T16:30:19+00:00</updated>
<author>
<name>Romain Naour</name>
<email>romain.naour@smile.fr</email>
</author>
<published>2019-03-08T13:27:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=8854e0f9b06eee8c97fe687fde531bc7cce18ae6'/>
<id>urn:sha1:8854e0f9b06eee8c97fe687fde531bc7cce18ae6</id>
<content type='text'>
Since tpm2-tss version 2.0.0, tpm2 libraries have been renamed.

libsapi renamed to libtss2-sys
https://github.com/tpm2-software/tpm2-tss/commit/5f0ab55d4e46077cb8f0c53a76c5ebd15a088d26

libtcti-device renamed to libtss2-tcti-device
libtcti-socket renamed to libtss2-tcti-mssim
https://github.com/tpm2-software/tpm2-tss/commit/b8584accbd96e38eaea250e31ed3ea580d2bca27

Signed-off-by: Romain Naour &lt;romain.naour@smile.fr&gt;
Cc: Carlos Santos &lt;casantos@datacom.com.br&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
(cherry picked from commit fb9c137660aaa8751d67862b3dd8ef14d80b7b08)
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>package/tpm2-tss: fix build with gcc &lt;= 4.8</title>
<updated>2019-02-07T21:42:13+00:00</updated>
<author>
<name>Fabrice Fontaine</name>
<email>fontaine.fabrice@gmail.com</email>
</author>
<published>2019-02-07T20:21:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=ab59727b38429c2338d8d0c85a263a587a199283'/>
<id>urn:sha1:ab59727b38429c2338d8d0c85a263a587a199283</id>
<content type='text'>
Fixes:
 - http://autobuild.buildroot.org/results/8d7b6dad6602fe67338abc696bc4752dda8e9717

Signed-off-by: Fabrice Fontaine &lt;fontaine.fabrice@gmail.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>package/tpm2-tss: bump version to 2.1.1</title>
<updated>2019-02-05T15:15:14+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>peter@korsgaard.com</email>
</author>
<published>2019-02-05T11:55:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=61f2d154b3c69e7cf09b610bb3be9b388cd668e1'/>
<id>urn:sha1:61f2d154b3c69e7cf09b610bb3be9b388cd668e1</id>
<content type='text'>
Fixes a number of issues since 2.1.0:
https://github.com/tpm2-software/tpm2-tss/releases/tag/2.1.1

Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>tpm2-tss: fix build with BR2_FORTIFY_SOURCE_1</title>
<updated>2019-01-16T13:24:37+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>peter@korsgaard.com</email>
</author>
<published>2019-01-15T10:15:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=223c4fb704aa187991eb082141536e52499a5428'/>
<id>urn:sha1:223c4fb704aa187991eb082141536e52499a5428</id>
<content type='text'>
The configure script passes -U FORTIFY_SOURCE -D FORTIFY_SOURCE=2 by
default, which conflicts with BR2_FORTIFY_SOURCE_1 as -Werror is used:

&lt;cross&gt;-gcc ..  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 .. -D_FORTIFY_SOURCE=1
&lt;command-line&gt;:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]

Disable this so the FORTIFY_SOURCE flags in TARGET_CFLAGS (if any) is used
instead.

Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>tpm2-tss: do not enforce -fstack-protector-all</title>
<updated>2019-01-16T13:24:25+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>peter@korsgaard.com</email>
</author>
<published>2019-01-15T10:15:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=d38bcb9de572ec285bfb67f5a806a55e98a44e13'/>
<id>urn:sha1:d38bcb9de572ec285bfb67f5a806a55e98a44e13</id>
<content type='text'>
Stack protection is now controlled buildroot wide with the BR2_SSP_*
options, so disable the explicit -fstack-protector-all so the SSP logic in
the toolchain wrapper is used instead.

Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>package/tpm2-tss: force libopenssl as openssl provider</title>
<updated>2018-11-24T14:08:39+00:00</updated>
<author>
<name>Carlos Santos</name>
<email>casantos@datacom.com.br</email>
</author>
<published>2018-11-21T02:44:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=b122623145a963d009e105131d0eeac099c3759b'/>
<id>urn:sha1:b122623145a963d009e105131d0eeac099c3759b</id>
<content type='text'>
Select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL and drop the patch to
compile with libressl.

The discussion with the tpm2-tss developers led to the conclusion that
libressl lacks some required functionalities. Quoting Andreas Fuchs[1]:
"LibreSSL does not support OAEP-mode with labels at all, even though the
internal OAEP-padding-function includes the parameters already. [...]
Further, the internal OAEP-padding-function does not support variable
hash algs, but staticly uses SHA1."

Notice that there will NOT be an option to use libgcrypt. OpenSSL will
soon become the default ESAPI crypto backend to prevent the problem of
forcing applications to link against both libgcrypt and libssl[2].

1. https://github.com/tpm2-software/tpm2-tss/pull/1207#issuecomment-440217659
2. https://github.com/tpm2-software/tpm2-tss/issues/1169

Signed-off-by: Carlos Santos &lt;casantos@datacom.com.br&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>tpm2-tss: depend on shared libraries</title>
<updated>2018-11-20T22:20:02+00:00</updated>
<author>
<name>Carlos Santos</name>
<email>casantos@datacom.com.br</email>
</author>
<published>2018-11-20T10:14:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=945353895f721aa3227b2c4b04244d8e4565b196'/>
<id>urn:sha1:945353895f721aa3227b2c4b04244d8e4565b196</id>
<content type='text'>
The code includes dlfcn.h even if --enable-static and --disable-shared
are passed to configure. There is an "#ifndef NO_DL ... #endif" wrapper
but NO_DL is never defined and adding "-DNO_DL" to CFLAGS causes other
compilation errors.

Fixes:
  http://autobuild.buildroot.net/results/cfc3bfef5e93329bf944a57947086d9ddc4fece3

Signed-off-by: Carlos Santos &lt;casantos@datacom.com.br&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>tpm2-tss: fix build without stack smashing protection (SSP)</title>
<updated>2018-11-19T20:50:46+00:00</updated>
<author>
<name>Carlos Santos</name>
<email>casantos@datacom.com.br</email>
</author>
<published>2018-11-19T02:26:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=d81767c98857869d46012189ea97c078ee211bad'/>
<id>urn:sha1:d81767c98857869d46012189ea97c078ee211bad</id>
<content type='text'>
Restore a configuration environment setup that was incorrectly removed
along with the upgrade to version 2.1.0.

Fixes:
  http://autobuild.buildroot.net/results/44221140fb8e2ddcb7d624e657b92a59375c02dd
  http://autobuild.buildroot.net/results/08b2a8a4bdd1c38703626a4fc37dab31dce98f49
  http://autobuild.buildroot.net/results/e469b47a6c8f1e8812325fd2860345105052316c
  http://autobuild.buildroot.net/results/f230fe6bbeb8b22d2b5b7cfb3f0ac4b3b936dc37
  http://autobuild.buildroot.net/results/ceb824033888086f6dde22c66d5b5f692a253c7e
  http://autobuild.buildroot.net/results/f863947a7384cb754706e6c346d222be59ad4136

Signed-off-by: Carlos Santos &lt;casantos@datacom.ind.br&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>tpm2-tss: bump to version 2.1.0</title>
<updated>2018-11-16T19:18:01+00:00</updated>
<author>
<name>Carlos Santos</name>
<email>casantos@datacom.com.br</email>
</author>
<published>2018-11-16T02:52:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=fcc9232b0c9759978a6928eec070d73ed6fb3922'/>
<id>urn:sha1:fcc9232b0c9759978a6928eec070d73ed6fb3922</id>
<content type='text'>
- Drop C++ requirement (tmp2-tss is pure C now).
- Add explicit dependency on openssl (gnutls can be used too but this
  option will be added by a subsequent patch).
- Drop the patch on tcti_socket.cpp, which is not applicable.
- Add a patch already submitted upstream to support using libressl[1].
- Update LICENSE hash. The terms are is still BSD-2-Clause but the file
  now contains a SPDX license identifier.

1. https://github.com/tpm2-software/tpm2-tss/pull/1207

Signed-off-by: Carlos Santos &lt;casantos@datacom.com.br&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>tpm2-tss: fix build with musl</title>
<updated>2018-03-24T10:37:51+00:00</updated>
<author>
<name>Carlos Santos</name>
<email>casantos@datacom.ind.br</email>
</author>
<published>2018-03-23T17:00:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=86ad2d92070c3024b2cf5de74dede294b56d5fd2'/>
<id>urn:sha1:86ad2d92070c3024b2cf5de74dede294b56d5fd2</id>
<content type='text'>
Add a missing &lt;sys/select.h&gt; inclusion, needed for the definition of the
fd_set type. This patch can't be sent upstream because the changed file
does not exist anymore on the master branch.

Fixes:
  http://autobuild.buildroot.net/results/09e8b3b85d7113d60e8967a2d41a6aea8f8197c0
  http://autobuild.buildroot.net/results/2e4c70f2f1239eb19235ae04a936a6492daf316d
  http://autobuild.buildroot.net/results/bbd68f52781da735e983b1260de5b804787374b1

Signed-off-by: Carlos Santos &lt;casantos@datacom.ind.br&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
</feed>
