<feed xmlns='http://www.w3.org/2005/Atom'>
<title>portable/crypto/compat/arc4random.h, branch v4.3.0</title>
<subtitle>A mirror of https://github.com/libressl/portable.git
</subtitle>
<id>https://git.lua4.win/portable/atom?h=v4.3.0</id>
<link rel='self' href='https://git.lua4.win/portable/atom?h=v4.3.0'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/'/>
<updated>2024-06-19T12:06:09+00:00</updated>
<entry>
<title>Add Emscripten branch to arc4random</title>
<updated>2024-06-19T12:06:09+00:00</updated>
<author>
<name>Mostafa Saad</name>
<email>moustapha.saad.abdelhamed@gmail.com</email>
</author>
<published>2024-05-28T20:39:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=3478d5cfc72165f306295d4b02d88808b9210931'/>
<id>urn:sha1:3478d5cfc72165f306295d4b02d88808b9210931</id>
<content type='text'>
The Emscripten platform already supports the
necessary Linux API. The only missing piece
was adding a branch specifically for Emscripten
and including the existing Linux file.

This update enables all LibreSSL libraries to
be built using the Emscripten toolchain.
</content>
</entry>
<entry>
<title>initial support for midipix</title>
<updated>2019-10-20T18:22:22+00:00</updated>
<author>
<name>Ørjan Malde</name>
<email>red@foxi.me</email>
</author>
<published>2019-10-20T18:22:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=b80c4bf262a4eefbe55be78fee5853b787711bca'/>
<id>urn:sha1:b80c4bf262a4eefbe55be78fee5853b787711bca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add experimental AIX support.</title>
<updated>2015-03-31T14:25:21+00:00</updated>
<author>
<name>Brent Cook</name>
<email>busterb@gmail.com</email>
</author>
<published>2015-02-11T05:49:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=fe3f7fc6365bfaac3418a72256b8c11603e80cbf'/>
<id>urn:sha1:fe3f7fc6365bfaac3418a72256b8c11603e80cbf</id>
<content type='text'>
This includes a WIP failsafe issetugid for now, while research continues
on the proper way to do this in a race-free fashion in AIX.
</content>
</entry>
<entry>
<title>add NetBSD shims for arc4random</title>
<updated>2015-01-21T12:14:24+00:00</updated>
<author>
<name>Brent Cook</name>
<email>busterb@gmail.com</email>
</author>
<published>2015-01-21T12:14:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=a2233651277a50955cdc4c7810da7a12e4e33551'/>
<id>urn:sha1:a2233651277a50955cdc4c7810da7a12e4e33551</id>
<content type='text'>
The current NetBSD release, 6.1.5, fails to reseed arc4random fork. Work
around it by providing arc4random/getentropy shims. Revisit when NetBSD
7 is available.
</content>
</entry>
<entry>
<title>Add support for HP-UX</title>
<updated>2015-01-06T23:47:16+00:00</updated>
<author>
<name>kinichiro</name>
<email>kinichiro.inoguchi@gmail.com</email>
</author>
<published>2014-12-08T02:08:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=0308b63cbf9983a9bcddc2794b1c9fa0d92f18ac'/>
<id>urn:sha1:0308b63cbf9983a9bcddc2794b1c9fa0d92f18ac</id>
<content type='text'>
tested on: HP-UX 11.31 ia64,
               gcc 4.7.1(HP AllianceOne version)
               gcc 4.2.3(http://hpux.connect.org.uk)
	       HP C/aC++

HP-UX defaults to use LP32 and it treats long as 32 bit (= 4 bytes).
This build forces LP64 for treating long as 64 bit.
</content>
</entry>
<entry>
<title>Use _WIN32 instead of __WIN32.</title>
<updated>2014-11-18T13:41:08+00:00</updated>
<author>
<name>宋冬生</name>
<email>dongsheng.song@gmail.com</email>
</author>
<published>2014-11-05T12:52:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=648e9136276ca214a3af6c02e7b643d4029e3848'/>
<id>urn:sha1:648e9136276ca214a3af6c02e7b643d4029e3848</id>
<content type='text'>
ok bcook@
</content>
</entry>
<entry>
<title>override native arc4random_buf on FreeBSD</title>
<updated>2014-11-03T07:19:36+00:00</updated>
<author>
<name>Brent Cook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2014-10-28T00:22:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=0aeb93b9fc9ecf0f9c2e98444545de485168823d'/>
<id>urn:sha1:0aeb93b9fc9ecf0f9c2e98444545de485168823d</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 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.

ok beck@ deraadt@
</content>
</entry>
<entry>
<title>wrap arc4random header</title>
<updated>2014-10-31T00:15:20+00:00</updated>
<author>
<name>Brent Cook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2014-10-30T15:52:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=a2373f7007b78e0059b8e9516666ee23ac6b7671'/>
<id>urn:sha1:a2373f7007b78e0059b8e9516666ee23ac6b7671</id>
<content type='text'>
ok @doug
</content>
</entry>
<entry>
<title>produce a error if platform has no arc4random hook</title>
<updated>2014-07-29T16:17:27+00:00</updated>
<author>
<name>Brent Cook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2014-07-29T01:57:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=d328203f63a13da5556363380261d5091948ea96'/>
<id>urn:sha1:d328203f63a13da5556363380261d5091948ea96</id>
<content type='text'>
ok deraadt@ beck@
</content>
</entry>
<entry>
<title>update to newly-refactored arc4random compatibility shims</title>
<updated>2014-07-18T14:19:23+00:00</updated>
<author>
<name>Brent Cook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2014-07-18T04:58:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=1b1bce16b15cbe3bc7394f7876cb064ef5b8e7ab'/>
<id>urn:sha1:1b1bce16b15cbe3bc7394f7876cb064ef5b8e7ab</id>
<content type='text'>
the thread-private bits can move next

ok beck@
</content>
</entry>
</feed>
