3.2.7.3 Decrypting a Message

When P2P Graphing requests that a message be decrypted, the message MUST be passed to the TLS implementation for decryption. The TLS implementation MUST use only the message size specified in the TLS header and MUST ignore any excess bytes that might be implied by the payload size received from P2P Graphing. If the decryption is successful, the decrypted message MUST be returned to P2P Graphing; otherwise, the message MUST be silently discarded and P2P Graphing MUST be notified of the failure with a nonzero return value.