[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EVP_CipherUpdate et al

Michael B Allen <mba2000@ioplex.com> writes:

> I need some generic encryption decryption capability for some code
> that already links with heimdal and thus libhcrypto. I was hoping to
> leverage existing routines in hcrypto but simple attempts to link yield
> errors regarding the lack of EVP_CipherUpdate and EVP_CipherFinal_ex. Can
> someone give me a pointer to use those functions or equivalent? Otherwise
> is there any disadvantage to switching to --with-openssl?

hcrypto have a openssl compatible interface, so you code should work just
fine with both openssl and hcrypto.

I guess you get hcrypto since your OpenSSL doesn't have sha-256 and hx509
depends on that. Heimdal defaults to use OpenSSL if it supports enough


PGP signature