how to get digest for stitched AES-HMAC-SHA

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

 



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

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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux