Hi guys,
I try to use build-in cipher suite EVP_aes_128_cbc_hmac_sha1 to get the benefit 
of function stitch.
There some some questions :

1)       Case this cipher stitch AESNI and HAMC-SHA1 in one go, how to get the 
hamc digest?


2)       In some case, like ESP package ,the Encryption and Auth start from 
different offset of same buffer, is there any APIs to specify the offset 
between Auth and Encryption for stitched cipher?

            -------------------------------------------------

      IPv4  |orig IP hdr   | ESP  |           |   ESP  | ESP|
|(any options) | Hdr  | TCP  Data  | Trailer  |Auth|

            -------------------------------------------------

                              |<----- encrypted --------->|

                            |<------ authenticated ------------> |

Thanks in advance for any advice!


BR
Kane
Software developer, Ericsson
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Reply via email to