summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
732036d)
CID 170475
Change-Id: I9748dd56bdcb62e68d8f672e5b1619a3be400b8f
Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
if (sa0->crypto_alg == IPSEC_CRYPTO_ALG_AES_GCM_128)
{
u32 *esp_iv =
if (sa0->crypto_alg == IPSEC_CRYPTO_ALG_AES_GCM_128)
{
u32 *esp_iv =
- (u32 *) vlib_buffer_get_current (b0) + ip_hdr_size +
- sizeof (esp_header_t);
+ (u32 *) (b0->data + b0->current_data + ip_hdr_size +
+ sizeof (esp_header_t));
esp_iv[0] = sa0->seq;
esp_iv[1] = sa0->seq_hi;
sym_cop->cipher.data.offset =
esp_iv[0] = sa0->seq;
esp_iv[1] = sa0->seq_hi;
sym_cop->cipher.data.offset =