Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As far as I can understand, this structure qill be sent to the peer, but it uses a variable type which is typical of NSS. This might make it not compatible with other applications. #7

Open
FDeRubeis opened this issue Feb 13, 2018 · 1 comment

Comments

@FDeRubeis
Copy link

#define PROOF_PAR_SIZE (sizeof(PRUint16) + sizeof(PRUint16) + sizeof(PRUint16) + sizeof(PRUint16) + sizeof(PRUint64) + sizeof(PRUint64) + sizeof(PRUint16) + sizeof(PRUint16) + sizeof(SSLHashType))
typedef struct ProofParStr{
PRUint16 hash_size;
PRUint16 salt_size;
PRUint16 chunk_size;
PRUint16 num_proof_nodes;
PRUint64 startTime;
PRUint64 stopTime;
PRUint16 sig_len; // Signature is directly after this struct
PRUint16 cert_chain_len; // Certificate Chain is after the signature
SSLHashType hash_type;
} ProofPar;

@FDeRubeis
Copy link
Author

proofPar.hash_type = tls13_GetHash(ss);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant