Source release 17.1.2
This commit is contained in:
@@ -8,6 +8,26 @@
|
||||
#include "odk.h"
|
||||
|
||||
namespace wvoec {
|
||||
|
||||
// OEMCrypto_DestBufferDesc fuzzed properties.
|
||||
struct OEMCrypto_DestBufferDesc_Fuzz {
|
||||
OEMCryptoBufferType type;
|
||||
size_t buffer_config;
|
||||
};
|
||||
|
||||
// OEMCrypto_InputOutputPair fuzzed properties.
|
||||
struct OEMCrypto_InputOutputPair_Fuzz {
|
||||
size_t input_data_length;
|
||||
OEMCrypto_DestBufferDesc_Fuzz output_descriptor;
|
||||
};
|
||||
|
||||
// OEMCrypto_SampleDescription fuzzed properties.
|
||||
struct OEMCrypto_SampleDescription_Fuzz {
|
||||
OEMCrypto_InputOutputPair_Fuzz buffers;
|
||||
uint8_t iv[16];
|
||||
size_t subsamples_length;
|
||||
};
|
||||
|
||||
struct OEMCrypto_Renewal_Response_Fuzz {
|
||||
// Timer limits in core license response needs to be fuzzed as load renewal
|
||||
// depends on timer limits loaded from license response.
|
||||
@@ -50,16 +70,6 @@ struct OEMCrypto_Generic_Api_Fuzz {
|
||||
// this structure.
|
||||
};
|
||||
|
||||
struct OEMCrypto_Generic_Verify_Fuzz {
|
||||
// Corpus format is as belowr.
|
||||
// cipher_mode + algorithm + signature_length + buffer with actual data
|
||||
OEMCryptoCipherMode cipher_mode;
|
||||
OEMCrypto_Algorithm algorithm;
|
||||
size_t signature_length;
|
||||
// Buffer data is of variable length and not included in
|
||||
// this structure.
|
||||
};
|
||||
|
||||
struct OEMCrypto_Generate_RSA_Signature_Fuzz {
|
||||
// Corpus format is as below, let | be separator.
|
||||
// padding_scheme + signature_length + input buffer
|
||||
@@ -72,10 +82,11 @@ struct OEMCrypto_Generate_RSA_Signature_Fuzz {
|
||||
struct OEMCrypto_Copy_Buffer_Fuzz {
|
||||
// Corpus format is as below.
|
||||
// dest_buffer_desc + subsample_flags + input buffer
|
||||
OEMCrypto_DestBufferDesc dest_buffer_desc;
|
||||
OEMCrypto_DestBufferDesc_Fuzz dest_buffer_desc;
|
||||
uint8_t subsample_flags;
|
||||
// Input buffer of variable length is not included in this structure.
|
||||
};
|
||||
|
||||
} // namespace wvoec
|
||||
|
||||
#endif // OEMCRYPTO_FUZZ_STRUCTS_H_
|
||||
#endif // OEMCRYPTO_FUZZ_STRUCTS_H_
|
||||
|
||||
Reference in New Issue
Block a user