<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/crypto, branch libressl-v2.1.2</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v2.1.2</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v2.1.2'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2014-12-07T15:45:44+00:00</updated>
<entry>
<title>Revert to the use of C code for the basic BN routines (bn_add_words,</title>
<updated>2014-12-07T15:45:44+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2014-12-07T15:45:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b337353782d8665f6364fa0d468370c06ac96423'/>
<id>urn:sha1:b337353782d8665f6364fa0d468370c06ac96423</id>
<content type='text'>
bn_div_words, bn_mul_add_words, bn_mul_words, bn_sqr_words, bn_sub_words)
on sgi, because the generated assembly code isn't R4000-safe.
</content>
</entry>
<entry>
<title>Move Windows OS-specific functions to make porting easier.</title>
<updated>2014-12-03T22:14:38+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2014-12-03T22:14:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=dce88910ead3a43bc663d7d9e46e2689189ac19d'/>
<id>urn:sha1:dce88910ead3a43bc663d7d9e46e2689189ac19d</id>
<content type='text'>
Several functions that need to be redefined for a Windows port are right
in the middle of other code that is relatively portable. This patch
isolates the functions that need Windows-specific implementations so
they can be built conditionally in the portable tree.

ok jsing@ deraadt@
</content>
</entry>
<entry>
<title>mop up a barely started project... getting in the way of grepping the tree!</title>
<updated>2014-11-22T07:17:50+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2014-11-22T07:17:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fbe61763de8269e9c714ab6c2d66e0e3eea2c18a'/>
<id>urn:sha1:fbe61763de8269e9c714ab6c2d66e0e3eea2c18a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Oops, make sure camellia is compiled on platforms without an arch-specific</title>
<updated>2014-11-20T19:19:09+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2014-11-20T19:19:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0756f4d6600a6a1bc7ea507aea3d13f405a4a3af'/>
<id>urn:sha1:0756f4d6600a6a1bc7ea507aea3d13f405a4a3af</id>
<content type='text'>
Makefile.inc (i.e. landisk and m88k)
</content>
</entry>
<entry>
<title>Enable the build of GOST routines in libcrypto. Riding upon the Cammelia</title>
<updated>2014-11-18T05:31:47+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2014-11-18T05:31:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0690f68b8ace3f1616822e1b9dbf5656beaaea16'/>
<id>urn:sha1:0690f68b8ace3f1616822e1b9dbf5656beaaea16</id>
<content type='text'>
libcrypto minor bump.
</content>
</entry>
<entry>
<title>Add the Cammelia cipher to libcrypto.</title>
<updated>2014-11-17T20:31:22+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2014-11-17T20:31:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1327462df8cb4ae2dc056e0de53b4b4dc50f50fa'/>
<id>urn:sha1:1327462df8cb4ae2dc056e0de53b4b4dc50f50fa</id>
<content type='text'>
There used to be a strong reluctance to provide this cipher in LibreSSL in the
past, because the licence terms under which Cammelia was released by NTT were
free-but-not-in-the-corners, by restricting the right to modify the source
code, as well retaining the right to enforce their patents against anyone
in the future.

However, as stated in http://www.ntt.co.jp/news/news06e/0604/060413a.html ,
NTT changed its mind and made this code truly free. We only wish there had
been more visibility of this, for we could have had enabled Cammelia
earlier (-:

Licence change noticed by deraadt@. General agreement from the usual LibreSSL
suspects.

Crank libcrypto.so minor version due to the added symbols.
</content>
</entry>
<entry>
<title>correct the failure case for getentropy on win32</title>
<updated>2014-11-11T13:54:33+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2014-11-11T13:54:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8d5f6fbe06d6b13dd764a076a1f541134df3c108'/>
<id>urn:sha1:8d5f6fbe06d6b13dd764a076a1f541134df3c108</id>
<content type='text'>
CryptAcquireContext and CryptGenRandom returns zero (FALSE) if fails.

From: Dongsheng Song &lt;dongsheng.song@gmail.com&gt;
</content>
</entry>
<entry>
<title>GOST crypto algorithms (well, most of them), ported from the removed GOST</title>
<updated>2014-11-09T19:17:13+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2014-11-09T19:17:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=35d7dd4666beda50f5094b8804802132fbe722ef'/>
<id>urn:sha1:35d7dd4666beda50f5094b8804802132fbe722ef</id>
<content type='text'>
engine to regular EVP citizens, contributed by Dmitry Eremin-Solenikov;
libcrypto bits only for now.

This is a verbatim import of Dmitry's work, and does not compile in this
state; the forthcoming commits will address these issues.

None of the GOST code is enabled in libcrypto yet, for it still gets
compiled with OPENSSL_NO_GOST defined. However, the public header gost.h
will be installed.
</content>
</entry>
<entry>
<title>Introduce EVP_MD_CTX_ctrl(), to allow for fine control of a given digest.</title>
<updated>2014-11-09T19:12:18+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2014-11-09T19:12:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d92e6fdf5aae7a320effa3de769ce4c0378485c4'/>
<id>urn:sha1:d92e6fdf5aae7a320effa3de769ce4c0378485c4</id>
<content type='text'>
This functionality was already available (and optional), and used in the
bowels of the ASN.1 code. This exposes it as a public interface, which will
be used by the upcoming GOST code.
Crank libcrypto minor version.

From Dmitry Eremin-Solenikov.
</content>
</entry>
<entry>
<title>Add hooks to override native arc4random_buf on FreeBSD.</title>
<updated>2014-11-03T06:23:30+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2014-11-03T06:23:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=97f48e5c1a29dd52ce16c023eaa14f5da0110610'/>
<id>urn:sha1:97f48e5c1a29dd52ce16c023eaa14f5da0110610</id>
<content type='text'>
The FreeBSD-native arc4random_buf implementation falls back to weak sources of
entropy if the sysctl fails. Remove these dangerous fallbacks by overriding
locally.

Unfortunately, pthread_atfork() is also broken on FreeBSD (at least 9 and 10)
if a program does not link to -lthr. Callbacks registered with pthread_atfork()
simply fail silently. So, it is not always possible to detect a PID wraparound.
I wish we could do better.

This improves arc4random_buf's safety compared to the native FreeBSD
implementation.

Tested on FreeBSD 9 and 10.
</content>
</entry>
</feed>
