<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/buffer/buffer.c, branch OPENBSD_7_9</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-05-10T05:54:39+00:00</updated>
<entry>
<title>Use err_local.h rather than err.h in most places</title>
<updated>2025-05-10T05:54:39+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-05-10T05:54:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=41e8f99dd1625a9f0c80ce9d4383e95b18e85709'/>
<id>urn:sha1:41e8f99dd1625a9f0c80ce9d4383e95b18e85709</id>
<content type='text'>
ok jsing
</content>
</entry>
<entry>
<title>Hide symbols in cms, comp, conf, and buffer</title>
<updated>2023-07-08T08:26:26+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2023-07-08T08:26:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=cf9b236f0893157746f8b944e4f6cc8d8a6aca26'/>
<id>urn:sha1:cf9b236f0893157746f8b944e4f6cc8d8a6aca26</id>
<content type='text'>
ok jsing@
</content>
</entry>
<entry>
<title>use freezero() instead of memset/explicit_bzero + free.  Substantially</title>
<updated>2017-05-02T03:59:45+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2017-05-02T03:59:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5904cc0e04409fde39a97e6580535da34eeb4291'/>
<id>urn:sha1:5904cc0e04409fde39a97e6580535da34eeb4291</id>
<content type='text'>
reduces conditional logic (-218, +82).

MOD_EXP_CTIME_MIN_CACHE_LINE_WIDTH cache alignment calculation bn/bn_exp.c
wasn'tt quite right.  Two other tricky bits with ASN1_STRING_FLAG_NDEF and
BN_FLG_STATIC_DATA where the condition cannot be collapsed completely.

Passes regress.  ok beck
</content>
</entry>
<entry>
<title>Simplify/clean up BUF_MEM_grow_clean().</title>
<updated>2017-04-09T15:06:20+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2017-04-09T15:06:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=61a0ac2c484da4166c337dbca9320e02b154e878'/>
<id>urn:sha1:61a0ac2c484da4166c337dbca9320e02b154e878</id>
<content type='text'>
ok beck@
</content>
</entry>
<entry>
<title>With recallocarray() BUF_MEM_grow() is essentially the same as</title>
<updated>2017-04-09T15:03:54+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2017-04-09T15:03:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c18a3c3d8006e8fe739bdbf116e38519ac9c22fe'/>
<id>urn:sha1:c18a3c3d8006e8fe739bdbf116e38519ac9c22fe</id>
<content type='text'>
BUF_MEM_grow_clean() (the only difference is clearing on internal down
sizing), so make it a wrapper.

ok beck@ deraadt@
</content>
</entry>
<entry>
<title>Convert BUF_MEM_grow() and BUF_MEM_grow_clean() to recallocarray(),</title>
<updated>2017-03-16T13:29:56+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2017-03-16T13:29:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=66f094ce01d467fcd73cec6745bae67a846e549a'/>
<id>urn:sha1:66f094ce01d467fcd73cec6745bae67a846e549a</id>
<content type='text'>
ensuring that the buffer contents are zeroed on allocation and not leaked
when resizing.

It is worth noting that BUF_MEM_grow_clean() already did this manually by
avoiding realloc().

ok beck@ inoguchi@
</content>
</entry>
<entry>
<title>Use calloc() instead of malloc() followed by manually zeroing fields.</title>
<updated>2017-03-16T13:15:06+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2017-03-16T13:15:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b4dddea8c97475f1939497c762f59188eef7c9c3'/>
<id>urn:sha1:b4dddea8c97475f1939497c762f59188eef7c9c3</id>
<content type='text'>
ok beck@ inoguchi@
</content>
</entry>
<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>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>Stop including standard headers via cryptlib.h - pull in the headers that</title>
<updated>2014-07-10T13:58:23+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-07-10T13:58:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c917c683bc93c68fbf4310ac181f7906e76b3c94'/>
<id>urn:sha1:c917c683bc93c68fbf4310ac181f7906e76b3c94</id>
<content type='text'>
are needed in the source files that actually require them.

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