Home
last modified time | relevance | path

Searched hist:"8 d338c76f7cfe0eb4bc46078b1c09c8c5fc75353" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/net/tls/
H A Dtls.hdiff 8d338c76f7cfe0eb4bc46078b1c09c8c5fc75353 Mon Feb 06 04:22:27 CST 2023 Herbert Xu <herbert@gondor.apana.org.au> tls: Only use data field in crypto completion function

The crypto_async_request passed to the completion is not guaranteed
to be the original request object. Only the data field can be relied
upon.

Fix this by storing the socket pointer with the AEAD request.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
H A Dtls_sw.cdiff 8d338c76f7cfe0eb4bc46078b1c09c8c5fc75353 Mon Feb 06 04:22:27 CST 2023 Herbert Xu <herbert@gondor.apana.org.au> tls: Only use data field in crypto completion function

The crypto_async_request passed to the completion is not guaranteed
to be the original request object. Only the data field can be relied
upon.

Fix this by storing the socket pointer with the AEAD request.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>