<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[wolfSSL - Embedded SSL Library — Maximum file size that can be signed PKCS7 using wolfTPM]]></title>
		<link>https://www.wolfssl.com/forums/topic1260-maximum-file-size-that-can-be-signed-pkcs7-using-wolftpm.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic1260.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Maximum file size that can be signed PKCS7 using wolfTPM.]]></description>
		<lastBuildDate>Tue, 04 Sep 2018 18:11:52 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Maximum file size that can be signed PKCS7 using wolfTPM]]></title>
			<link>https://www.wolfssl.com/forums/post4161.html#p4161</link>
			<description><![CDATA[<p>Hi ePaul,</p><p>We&#039;ve pushed an example for using large data with PKCS 7 sign/verify here:<br /><a href="https://github.com/wolfSSL/wolfTPM/pull/32">https://github.com/wolfSSL/wolfTPM/pull/32</a></p><p>Thanks,<br />David Garske, wolfSSL</p>]]></description>
			<author><![CDATA[null@example.com (dgarske)]]></author>
			<pubDate>Tue, 04 Sep 2018 18:11:52 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post4161.html#p4161</guid>
		</item>
		<item>
			<title><![CDATA[Re: Maximum file size that can be signed PKCS7 using wolfTPM]]></title>
			<link>https://www.wolfssl.com/forums/post4160.html#p4160</link>
			<description><![CDATA[<p>Hi ePaul,</p><p>We recently enhanced PKCS7 to support signing a large file using a computed hash and known total size. The wolfSSL pull request is here: <a href="https://github.com/wolfSSL/wolfssl/pull/1780">https://github.com/wolfSSL/wolfssl/pull/1780</a><br />This works by computing the hash and providing it to the new wc_PKCS7_EncodeSignedData_ex API. It returns a header and footer that surrounds the original data.</p><p>I will post a wolfTPM example for using this shortly.</p><p>Thanks,<br />David Garske, wolfSSL</p>]]></description>
			<author><![CDATA[null@example.com (dgarske)]]></author>
			<pubDate>Tue, 04 Sep 2018 16:47:53 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post4160.html#p4160</guid>
		</item>
		<item>
			<title><![CDATA[Maximum file size that can be signed PKCS7 using wolfTPM]]></title>
			<link>https://www.wolfssl.com/forums/post4156.html#p4156</link>
			<description><![CDATA[<p>Hi,</p><p>what is the maximum file size that can be signed using wolfssl, wolfTPM and key in TPM2.0 device (SLB96670)?</p><p>From what I found the example in &quot;wolfTPM/examples/pkcs/pkcs.c&quot; is using &quot;WOLFTPM2_BUFFER&quot; for output <a href="https://github.com/wolfSSL/wolfTPM/blob/f00ced1beccf1e62fe1c44295a86eea0f2c801d4/examples/pkcs7/pkcs7.c#L57">https://github.com/wolfSSL/wolfTPM/blob … kcs7.c#L57</a> which is maximum 2048 as per <a href="https://github.com/wolfSSL/wolfTPM/blob/f00ced1beccf1e62fe1c44295a86eea0f2c801d4/wolftpm/tpm2_wrap.h#L52">https://github.com/wolfSSL/wolfTPM/blob … wrap.h#L52</a><br /></p><div class="codebox"><pre><code>#ifndef WOLFTPM2_MAX_BUFFER
    #define WOLFTPM2_MAX_BUFFER 2048
#endif

typedef struct WOLFTPM2_BUFFER {
    int size;
    byte buffer[WOLFTPM2_MAX_BUFFER];
} WOLFTPM2_BUFFER;</code></pre></div><p>Thanks a lot,<br />Paul</p>]]></description>
			<author><![CDATA[null@example.com (ePaul)]]></author>
			<pubDate>Sun, 02 Sep 2018 16:48:29 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post4156.html#p4156</guid>
		</item>
	</channel>
</rss>
