The effects of EVP_CipherFinal are dependent on a number of things
including the cipher, any options and the data. For example if you're
using a block cipher with padding enabled, there will always be a
final "padding" block. If you're using an AEAD cipher then it's
typically during the Final that the tag is created/verified. The
effects of NOT calling Final are undocumented.
So, basically, in some circumstances you might get away without
calling it. But if you choose to do so, you better know what you are
doing. The effects of getting it wrong could be catastrophic for
security.
Matt
>
> Stef
>
> --
> You received this message because you are subscribed to the Google Groups "openssl-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
openssl-user...@openssl.org.
> To view this discussion visit
https://groups.google.com/a/openssl.org/d/msgid/openssl-users/17169225-a61f-4b2f-93ec-c62cc3666682n%40openssl.org.