There is a defect ticket which is not yet closed
https://twistedmatrix.com/trac/ticket/8258 I hope that the ticket description can be used to reproduce this error.
This might not be a hmac-sha2-512 specific issue, but a generic issue related to padding... is just that sha2-512 triggered it.
--
Adi Roiban