On 10/23/06, Grant Mills <[EMAIL PROTECTED]> wrote:
On 10/23/06, Dr. Stephen Henson <[EMAIL PROTECTED]> wrote:
> On Mon, Oct 23, 2006, Grant Mills wrote:
>
> > >Rodney,
> > >   Thanks.  However, I did forget to mention that I need to support
> > >the PKCS #7 message structure.  But I'll keep libtomcrypt in mind for
> > >other projects.
> > >
> > >--
> > >Grant Mills
> > >[EMAIL PROTECTED]
> > >
> > I'm making progress.  I've got a build starting but I've hit a
> > stumbling point.  I've added a target "noOS-mips" to the table.  I've
> > pointed it correctly at my compiler and includes.  I'm only working in
> > memory so I don't need anything relating to directory entries, or
> > sockets.  I put -DNO_STRINGS_H -DNO_DIRENT and -DOPENSSL_NO_SOCK in
> > the cflags section.  I have a feeling, that I really want to turn off
> > all IO.  I'm working solely in memory, so I don't need file
> > descriptors, sockets, ...
> >
>
> You may end up dragging in a sizeable portion of libcrypto even so. PKCS#7
> needs the ASN1 library and the certificate verification library just for
> PKCS#7 verification. Those in turn will pull in objects, err, RSA, DSA, EVP,
> digests and BIO. The PKCS#7 verification uses BIOs so you wont avoid those
> without modifying the way it works quite extensively.
>
> Steve.
> --
> Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
> OpenSSL project core developer and freelance consultant.
> Funding needed! Details on homepage.
> Homepage: http://www.drh-consultancy.demon.co.uk
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> Development Mailing List                       [email protected]
> Automated List Manager                           [EMAIL PROTECTED]
>

Steve,
   Understood.  I expected to have to pull in a significant portion
of OpenSSL(libcrypt actually).  What I don't understand right now is
why I can't configure out the non-memory BIOs.  If the BIOs provide an
abstraction layer for the IO, shouldn't the non-memory BIOs be easily
separable?  I am working off limited understanding of the BIOs, so
clarification/correction will be well received.

Thanks again.


--
Grant Mills
[EMAIL PROTECTED]


Steve,
   Since I'm building a static object, I'll only pull the referenced
symbols.  As I'm only going to be using memory BIOs, the rest of the
non-memory BIOs should get excluded during the link.  I'll have to
short circuit the build to skip building the non-memory BIOs.  Does
that sound plausible?  Or am I way off the mark?

--
Grant Mills
[EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to