<p>Moving sha256 in the core is fine, my remark was about fortuna-prng. If there are many files I would look for a solution with a module that register to some core API that we can define for PRNG functions. In this way, other PRNG engines can be added in the future, even when they have external dependencies. A similar approach was done also for dnssec.</p>
<p>Anyhow, for 5.3 I would do a self-contained PRNG solution for tls. Relocating sha256 code will require touching other parts of code, so I would avoid it. Or if is too complex, then we can skip it and use existing random variants.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2077?email_source=notifications&email_token=ABO7UZLZ7FR66YR3KGSUGFLQMWWDHA5CNFSM4I23Q2LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAHO3PQ#issuecomment-537849278">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZKV6O6TX7LJE3EMZ3LQMWWDHANCNFSM4I23Q2LA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABO7UZMRWSWBJRSB6Q2DQV3QMWWDHA5CNFSM4I23Q2LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAHO3PQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2077?email_source=notifications\u0026email_token=ABO7UZLZ7FR66YR3KGSUGFLQMWWDHA5CNFSM4I23Q2LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAHO3PQ#issuecomment-537849278",
"url": "https://github.com/kamailio/kamailio/issues/2077?email_source=notifications\u0026email_token=ABO7UZLZ7FR66YR3KGSUGFLQMWWDHA5CNFSM4I23Q2LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAHO3PQ#issuecomment-537849278",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>