On Oct 2, 4:22 pm, "Aaron \"Castironpi\" Brady" <[EMAIL PROTECTED]>
wrote:
> On Oct 2, 2:44 am, est <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > On Oct 2, 1:51 pm, "James Mills" <[EMAIL PROTECTED]> wrote:
>
> > > On Thu, Oct 2, 2008 at 3:34 PM, est <[EMAIL PROTECTED]> wrote:
> > > > wow. It's giga-size file. I need stream reading it, md5 it. It may
> > > > break for a while.
>
> > > So use generators and consume the stream ?
>
> > > --JamesMills
>
> > > --
> > > --
> > > -- "Problems are solved by method"
>
> > no, I need to serialize half-finished digest, not file stream.
>
> > Anyone got solution?
>
> I am looking at '_hashopenssl.c'.  If you can find the implementation
> of EVP_DigestUpdate, I'll give it a shot to help you write a ctypes
> hack to store and write its state.- Hide quoted text -
>
> - Show quoted text -


http://cvs.openssl.org/fileview?f=openssl/crypto/evp/digest.c

int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *data,
             size_t count)
        {
#ifdef OPENSSL_FIPS
        FIPS_selftest_check();
#endif
        return ctx->digest->update(ctx,data,count);
        }


is this one?
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to