<feed xmlns='http://www.w3.org/2005/Atom'>
<title>efi-boot-shim.git/Cryptlib/Makefile, branch latest-release</title>
<subtitle> (mirror of https://github.com/vyos/efi-boot-shim.git)
</subtitle>
<id>https://git.amelek.net/vyos/efi-boot-shim.git/atom?h=latest-release</id>
<link rel='self' href='https://git.amelek.net/vyos/efi-boot-shim.git/atom?h=latest-release'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/'/>
<updated>2017-04-11T14:42:19+00:00</updated>
<entry>
<title>Cryptlib: replace CryptPem with the Null version</title>
<updated>2017-04-11T14:42:19+00:00</updated>
<author>
<name>Gary Lin</name>
<email>glin@suse.com</email>
</author>
<published>2017-04-10T09:40:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=513cbe2aea689bf968f171f894f3d4cdb43524d5'/>
<id>urn:sha1:513cbe2aea689bf968f171f894f3d4cdb43524d5</id>
<content type='text'>
CryptPem only provides one function: RsaGetPrivateKeyFromPem(). Since we
don't need to retrieve any private key, it's safe to disable the
function.

Signed-off-by: Gary Lin &lt;glin@suse.com&gt;
</content>
</entry>
<entry>
<title>Update Cryptlib</title>
<updated>2017-03-24T22:28:30+00:00</updated>
<author>
<name>Gary Lin</name>
<email>glin@suse.com</email>
</author>
<published>2017-03-15T07:39:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=832152986545e8fc66f1ed5cf9d8bf518c7df2b3'/>
<id>urn:sha1:832152986545e8fc66f1ed5cf9d8bf518c7df2b3</id>
<content type='text'>
Update to edk2 commit 6e4489d8129d233ef0fe85eeb6eebfecafe9ea6e
(CryptoPkg: Refine type cast for pointer subtraction)

Also replaced CryptAes.c, CryptArc4.c, CryptTdes.c, CryptMd4.c,
CryptHmacMd5.c, and CryptHmacSha1.c with the Null version since
we don't really need those functions.

Signed-off-by: Gary Lin &lt;glin@suse.com&gt;
</content>
</entry>
<entry>
<title>Cryptlib: Implement memset() to avoid the potential crash</title>
<updated>2016-11-30T17:57:34+00:00</updated>
<author>
<name>Gary Lin</name>
<email>glin@suse.com</email>
</author>
<published>2016-10-17T05:47:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=7ab40ee92c0066cc8777a4d72078a61b1b9fe6a6'/>
<id>urn:sha1:7ab40ee92c0066cc8777a4d72078a61b1b9fe6a6</id>
<content type='text'>
Although the prototype of memset() is already defined in OpenSslSupport.h,
the function was never implemented. It was fine since a macro was
designed to replace all memset() with SetMem() after including
OpenSslSupport.h. However, since openssl 1.0.2j, a new function pointer
in crypto/mem_clr.c requires the "real" memset() or the program would
crash due to the NULL function pointer access. This commit implements
memset() (just a wrapper of SetMem()) to avoid the potential crash.

Signed-off-by: Gary Lin &lt;glin@suse.com&gt;
</content>
</entry>
<entry>
<title>Update to openssl to 1.0.2e</title>
<updated>2016-09-06T19:05:34+00:00</updated>
<author>
<name>Gary Lin</name>
<email>glin@suse.com</email>
</author>
<published>2015-12-15T02:48:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=e571428e21280c28d0d591b70f13add7d8dbfe81'/>
<id>urn:sha1:e571428e21280c28d0d591b70f13add7d8dbfe81</id>
<content type='text'>
Also update Cryptlib to edk2 r19218
- Undefine NO_BUILTIN_VA_FUNCS in Cryptlib/OpenSSL/ for x86_64 to use
  the gcc builtins and remove all EFIAPI from the functions
- Move the most of defines into the headers instead of Makefile
- Remove the global variable 'timeval'
- Remove the unused code: crypto/pqueue/* and crypto/ts/*
- Include bn.h in MokManager.c due to the changes in openssl

Signed-off-by: Gary Lin &lt;glin@suse.com&gt;
</content>
</entry>
<entry>
<title>Cryptlib: Define the va functions for EFIAPI</title>
<updated>2015-11-09T14:50:50+00:00</updated>
<author>
<name>Gary Ching-Pang Lin</name>
<email>glin@suse.com</email>
</author>
<published>2015-10-27T04:00:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=5a49bad020792483b5abd137861f906c55bf9dca'/>
<id>urn:sha1:5a49bad020792483b5abd137861f906c55bf9dca</id>
<content type='text'>
It turned out that my previous crash fix(*) was wrong.
We actually always used the gcc built-in va functions instead of
the "real" va functions for EFIAPI, and we are just lucky that
ERR_add_error_data didn't crash before.

This commit copies the va functions from MdePkg/Include/Base.h
in edk2 and introdues NO_BUILTIN_VA_FUNCS for x86_64, so that all
the x86_64 build will adopt the new va functions. For safety,
I also added EFIAPI to all the functions which use va_* to avoid
the potential trouble.

(*) a7f4b26cc35204165bd04e75c34e8e7aa2a87ecc

Signed-off-by: Gary Ching-Pang Lin &lt;glin@suse.com&gt;
</content>
</entry>
<entry>
<title>Specify the gnu89 standard</title>
<updated>2015-07-28T15:46:38+00:00</updated>
<author>
<name>Gary Ching-Pang Lin</name>
<email>glin@suse.com</email>
</author>
<published>2015-07-13T08:33:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=16f8f0087a63789d2c9ad92a02b9c10c081a3654'/>
<id>urn:sha1:16f8f0087a63789d2c9ad92a02b9c10c081a3654</id>
<content type='text'>
According to the gcc5 porting guideline (*), gcc5 defaults to
-std=gnu11 instead of -std=gnu89. Append -std=gnu89 to CFLAGS
to avoid the potential problems.

(*) https://gcc.gnu.org/gcc-5/porting_to.html

Based on the patch from Cristian Rodriguez &lt;crrodriguez@opensuse.org&gt;

Signed-off-by: Gary Ching-Pang Lin &lt;glin@suse.com&gt;
</content>
</entry>
<entry>
<title>Update openssl to 1.0.2d</title>
<updated>2015-07-28T15:46:38+00:00</updated>
<author>
<name>Gary Ching-Pang Lin</name>
<email>glin@suse.com</email>
</author>
<published>2015-07-13T03:58:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=4ac84f8673eb7f3e5b98226aabe21f3e3111c7db'/>
<id>urn:sha1:4ac84f8673eb7f3e5b98226aabe21f3e3111c7db</id>
<content type='text'>
Also update Cryptlib to edk2 r17731

Signed-off-by: Gary Ching-Pang Lin &lt;glin@suse.com&gt;
</content>
</entry>
<entry>
<title>gcc 5.0 changes some include bits, so copy what arm does on x86.</title>
<updated>2015-04-13T23:55:25+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2015-04-07T15:59:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=d51739a416400ad348d8a1c7e3886abce11fff1b'/>
<id>urn:sha1:d51739a416400ad348d8a1c7e3886abce11fff1b</id>
<content type='text'>
Basically they messed around with stdarg some and now we need to do it
the other way.

Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
<entry>
<title>Cryptlib: remove the unused files</title>
<updated>2014-10-02T04:10:47+00:00</updated>
<author>
<name>Gary Ching-Pang Lin</name>
<email>glin@suse.com</email>
</author>
<published>2014-09-30T07:27:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=663a5ca59d8b0037b3d1b445ce93ae3181f03685'/>
<id>urn:sha1:663a5ca59d8b0037b3d1b445ce93ae3181f03685</id>
<content type='text'>
I mistakenly added CryptPkcs7VerifyNull.c which may make Pkcs7Verify
always return FALSE. Besides CryptPkcs7VerifyNull.c, there are some
functions we would never use. This commit removes those files to
avoid any potential trouble.

Signed-off-by: Gary Ching-Pang Lin &lt;glin@suse.com&gt;
</content>
</entry>
<entry>
<title>Factor out x86-isms and add cross compile support</title>
<updated>2014-08-12T14:54:05+00:00</updated>
<author>
<name>Ard Biesheuvel</name>
<email>ard.biesheuvel@linaro.org</email>
</author>
<published>2014-08-12T13:33:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=99d7b5e858945b8bb160fe3fea77596b2daf07ff'/>
<id>urn:sha1:99d7b5e858945b8bb160fe3fea77596b2daf07ff</id>
<content type='text'>
This patch cleans up and refactors the Makefiles to better allow new
architectures to be added:
- remove unused Makefile definitions
- import Makefile definitions from top level rather than redefining
- move x86 specific CFLAGS to inside ifeq() blocks
- remove x86 inline asm
- allow $(FORMAT) to be overridden: this is necessary as there exists no
  EFI or PE/COFF aware objcopy for ARM

Signed-off-by: Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;
</content>
</entry>
</feed>
