|
@@ -248,7 +248,8 @@ static int esp6_output(struct xfrm_state *x, struct sk_buff *skb)
|
|
|
aead_givcrypt_set_crypt(req, sg, sg, clen, iv);
|
|
|
aead_givcrypt_set_assoc(req, asg, assoclen);
|
|
|
aead_givcrypt_set_giv(req, esph->enc_data,
|
|
|
- XFRM_SKB_CB(skb)->seq.output.low);
|
|
|
+ XFRM_SKB_CB(skb)->seq.output.low +
|
|
|
+ ((u64)XFRM_SKB_CB(skb)->seq.output.hi << 32));
|
|
|
|
|
|
ESP_SKB_CB(skb)->tmp = tmp;
|
|
|
err = crypto_aead_givencrypt(req);
|