All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Oliver Stäbler" <oliver.staebler@bytesatwork.ch>
To: u-boot@lists.denx.de
Subject: [U-Boot] Limitations/Considerations when programming U-Boot
Date: Wed, 15 May 2013 11:04:28 +0200	[thread overview]
Message-ID: <51934F9C.1090608@bytesatwork.ch> (raw)

Hi all,

I'm currently investigating the possibility of using a cryptographic 
library in U-Boot to verify signatures during a fatload (or similar).

So my question is, what has to be considered when choosing a crypto library?

As far as I understood so far, U-Boot only implements a part of the C 
Standard Library. So this has to be considered, right?

The README mentions that the stack space is very limited. Is this still 
the case when the "shell" is loaded or is this just the case during
initialization?
If so, this means for a crypto library that it should not do a lot in 
the stack, but prefer heap space?
Then again, are there any boundaries in using heap? Maybe increase 
CONFIG_SYS_MALLOC_LEN?

Is there anything else I have to consider?

Thanks,
Oliver

             reply	other threads:[~2013-05-15  9:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-15  9:04 Oliver Stäbler [this message]
2013-05-16  8:13 ` [U-Boot] Limitations/Considerations when programming U-Boot Romain Izard

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=51934F9C.1090608@bytesatwork.ch \
    --to=oliver.staebler@bytesatwork.ch \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.