TSG-8364: 重构代码,只解QUIC链接的第一个数据包

This commit is contained in:
liuxueli
2021-11-10 11:55:22 +03:00
parent fa5af89690
commit 11c3aa538a
23 changed files with 1145 additions and 2264 deletions

24
src/quic_deprotection.h Normal file
View File

@@ -0,0 +1,24 @@
/**
* parser-quic.h
*
* Created on 2020-11-26
* @author: qyc
*
*
*/
#ifndef PARSER_QUIC_H
#define PARSER_QUIC_H
#ifdef __cplusplus
extern "C" {
#endif
/*ret: 1 sucess*/
int quic_deprotection(const char *payload, unsigned int length, unsigned char *out, unsigned int *out_length);
int gcry_init();
#ifdef __cplusplus
}
#endif
#endif //PARSER_QUIC_H