<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 17/12/2015 19:03, Salz, Rich wrote:<br>
</div>
<blockquote class=" cite"
id="mid_b2a6cfac61b64536bcf3ea73b3310158_usma1ex_dag1mb1_msg_corp_akamai_com"
cite="mid:b2a6cfac61b64536bcf3ea73b3310158@usma1ex-dag1mb1.msg.corp.akamai.com"
type="cite">
<blockquote class=" cite" id="Cite_2503117" type="cite">
<pre wrap="">I don't need it so I don't object. But if anyone objects, you could write a ...
</pre>
</blockquote>
<pre wrap="">Good point!
</pre>
<blockquote class=" cite" id="Cite_9144515" type="cite">
<pre wrap="">I guess this is because that interface is not a part of a commercial grade full
featured SSL/TLS and general purpose crypto library, it is just a means to do
quality assurance on said library.
</pre>
</blockquote>
<pre wrap="">That seems to be the main usage, yes. I think it had more uses in the early days such as on old windows/msdos?
</pre>
</blockquote>
<tt>Old Windows/msdos was the most widespread platform where <br>
the compiler provided malloc/free tended to be crap and <br>
had to be overridden in a compiler specific way to make <br>
it work reasonably. Note that this was a *compiler* <br>
specific issue and tended to depend on both the brand, <br>
version and sometimes even command line options of the <br>
compiler.</tt><tt><br>
<br>
However even for Win16, MS-DOS and OS/2 16-bit, the <br>
ability to redirect all memory calls through a user <br>
provided set of malloc/free/realloc/msize functions <br>
would do the job. The hard part was writing those <br>
override functions, even with a your copies of TAOCP <br>
and K&R (2nd ed) handy.<br>
<br>
A completely different use for special memory <br>
allocation work would be to take advantage of <br>
algorithm specific knowledge to optimize allocation <br>
and system call patterns, such as keeping all the <br>
small allocations for a decoded X.509 certificate or <br>
all the intermediaries for an RSA calculation <br>
together.<br>
</tt><br>
<br>
<pre class="moz-signature" cols="72">Enjoy and Merry Christmas
Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S. <a class="moz-txt-link-freetext" href="https://www.wisemo.com">https://www.wisemo.com</a>
Transformervej 29, 2860 Søborg, Denmark. Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded </pre>
</body>
</html>