<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/bn/bn_gf2m.c, branch OPENBSD_6_5</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_6_5</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_6_5'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2017-01-29T17:49:23+00:00</updated>
<entry>
<title>Send the function codes from the error functions to the bit bucket,</title>
<updated>2017-01-29T17:49:23+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2017-01-29T17:49:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d1f47bd292f36094480caa49ada36b99a69c59b0'/>
<id>urn:sha1:d1f47bd292f36094480caa49ada36b99a69c59b0</id>
<content type='text'>
as was done earlier in libssl. Thanks inoguchi@ for noticing
libssl had more reacharounds into this.
ok jsing@ inoguchi@
</content>
</entry>
<entry>
<title>Avoid undefined-behavior right-shifting by a word-size # of bits.</title>
<updated>2016-09-03T14:37:00+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2016-09-03T14:37:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9aae90b064d0298d40b2d795728a6e1dbb721db5'/>
<id>urn:sha1:9aae90b064d0298d40b2d795728a6e1dbb721db5</id>
<content type='text'>
Found with STACK, originally from OpenSSL, ok @beck
</content>
</entry>
<entry>
<title>Add error handling to the remaining calls to bn_wexpand().</title>
<updated>2016-03-12T21:44:11+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2016-03-12T21:44:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0ff254bfb6289f6163d5eb805b19dd60ad3499cc'/>
<id>urn:sha1:0ff254bfb6289f6163d5eb805b19dd60ad3499cc</id>
<content type='text'>
Noticed by pascal-cuoq from Github:
https://github.com/libressl-portable/openbsd/issues/56

ok beck@
</content>
</entry>
<entry>
<title>Avoid an infinite loop that can be triggered by parsing an ASN.1</title>
<updated>2015-06-11T15:55:28+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2015-06-11T15:55:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=095e36cd429c313ee8361e8877bc677116a2a2ce'/>
<id>urn:sha1:095e36cd429c313ee8361e8877bc677116a2a2ce</id>
<content type='text'>
ECParameters structure that has a specially malformed binary polynomial
field.

Issue reported by Joseph Barr-Pixton and fix based on OpenSSL.

Fixes CVE-2015-1788.

ok doug@ miod@
</content>
</entry>
<entry>
<title>Add missing BN_CTX_end() calls.</title>
<updated>2015-04-29T00:11:12+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-04-29T00:11:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7ddad7b77b00aa2097c75fdeb29c69c61e6b4c5b'/>
<id>urn:sha1:7ddad7b77b00aa2097c75fdeb29c69c61e6b4c5b</id>
<content type='text'>
After calling BN_CTX_start(), there must be a BN_CTX_end() before
returning.  There were missing BN_CTX_end() calls in error paths.  One diff
chunk was simply removing redundant code related to this.

ok deraadt@
</content>
</entry>
<entry>
<title>Remove unnecessary include of assert.h</title>
<updated>2015-02-10T09:50:12+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2015-02-10T09:50:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9a78b93a933764528a75722869255ee06e8eab6c'/>
<id>urn:sha1:9a78b93a933764528a75722869255ee06e8eab6c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>BN_CTX_get() can fail - consistently check its return value.</title>
<updated>2015-02-09T15:49:22+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2015-02-09T15:49:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=15dc63f9715f4f10924a705d6a4cc564afe2129e'/>
<id>urn:sha1:15dc63f9715f4f10924a705d6a4cc564afe2129e</id>
<content type='text'>
There are currently cases where the return from each call is checked,
the return from only the last call is checked and cases where it is not
checked at all (including code in bn, ec and engine).

Checking the last return value is valid as once the function fails it will
continue to return NULL. However, in order to be consistent check each
call with the same idiom. This makes it easy to verify.

Note there are still a handful of cases that do not follow the idiom -
these will be handled separately.

ok beck@ doug@
</content>
</entry>
<entry>
<title>deregister; no binary change</title>
<updated>2014-10-28T07:35:59+00:00</updated>
<author>
<name>jsg</name>
<email></email>
</author>
<published>2014-10-28T07:35:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0505bd63c15c82aead21cde52afbf6c41421d140'/>
<id>urn:sha1:0505bd63c15c82aead21cde52afbf6c41421d140</id>
<content type='text'>
ok jsing@ miod@
</content>
</entry>
<entry>
<title>Only import cryptlib.h in the four source files that actually need it.</title>
<updated>2014-07-11T08:44:49+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-07-11T08:44:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=74e2c009c83ad374bd6acdcfc376a384e25ab007'/>
<id>urn:sha1:74e2c009c83ad374bd6acdcfc376a384e25ab007</id>
<content type='text'>
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.

ok beck@ miod@
</content>
</entry>
<entry>
<title>Explicitly include &lt;openssl/opensslconf.h&gt; in every file that references</title>
<updated>2014-07-10T22:45:58+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-07-10T22:45:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=62348213609ef233110561d1a6ed67ad66df1c7e'/>
<id>urn:sha1:62348213609ef233110561d1a6ed67ad66df1c7e</id>
<content type='text'>
an OPENSSL_NO_* define. This avoids relying on something else pulling it
in for us, plus it fixes several cases where the #ifndef OPENSSL_NO_XYZ is
never going to do anything, since OPENSSL_NO_XYZ will never defined, due
to the fact that opensslconf.h has not been included.

This also includes some miscellaneous sorting/tidying of headers.
</content>
</entry>
</feed>
