From: "Andreas Bießmann" <andreas.devel@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-Boot + libtomcrypt
Date: Mon, 08 Jul 2013 18:24:51 +0200 [thread overview]
Message-ID: <51DAE7D3.3080309@googlemail.com> (raw)
In-Reply-To: <51DA781B.1010605@googlemail.com>
Hi Andr?,
On 08.07.13 10:28, Andr? Schaller wrote:
> Hi there,
>
> I want to add some Random Number Generation functions / Hashing
> Functions to u-boot. I implemented the functionality and now I need to
> include it to the upstream source code of u-boot (inside
> hwinit-common.c). I was wondering if these even works? Is this lib small
> enough to fit in the MLO?
dunno ...
> Can I adjust the size of the MLO if it is too
> large?
Yes you can, but have to respect physical limits ;) The SPL needs to fit
into the SRAM!
There is a pre-defined border for build-time checks (at least on ARM ->
CONFIG_SPL_MAX_SIZE) and some tools to investigate runtime behavior
(*.su files -> read README.SPL 'estimating stack usage').
> Did anyone tried to do this before and could share experiences?
I pulled the software implementation of BCH in SPL to have second NAND
sector secured by BCH8 on OMAP3 devices (which have no ELM). It worked
on board tricorder and devkit8000 but I had to increase the
CONFIG_SPL_MAX_SIZE (AFAIR).
Regards,
Andreas
prev parent reply other threads:[~2013-07-08 16:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-08 8:28 [U-Boot] U-Boot + libtomcrypt André Schaller
2013-07-08 16:24 ` Andreas Bießmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51DAE7D3.3080309@googlemail.com \
--to=andreas.devel@googlemail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox