Engine digest context copy

2010-03-19 Thread Valery Blazhnov
It seems to me that direct memory copying in crypto/evp/digest.c: EVP_MD_CTX_copy_ex() may conflct with internal engine implementation. IMHO it would be better to perform that direct memory copying only if there is no engine digest-copy method implemented: if (!out-digest-copy)

Re: Engine digest context copy

2010-03-19 Thread Dr. Stephen Henson
On Fri, Mar 19, 2010, Valery Blazhnov wrote: It seems to me that direct memory copying in crypto/evp/digest.c: EVP_MD_CTX_copy_ex() may conflct with internal engine implementation. IMHO it would be better to perform that direct memory copying only if there is no engine digest-copy method

Re: Engine digest context copy

2010-03-19 Thread Valery Blazhnov
Dr. Stephen Henson пишет: On Fri, Mar 19, 2010, Valery Blazhnov wrote: It seems to me that direct memory copying in crypto/evp/digest.c: EVP_MD_CTX_copy_ex() may conflct with internal engine implementation. IMHO it would be better to perform that direct memory copying only if there is no