]> git.saurik.com Git - apple/security.git/blob - OSX/sec/Security/Regressions/secitem/si-cms-hash-agility-data.h
Security-58286.260.20.tar.gz
[apple/security.git] / OSX / sec / Security / Regressions / secitem / si-cms-hash-agility-data.h
1 #ifndef si_cms_hash_agility_data_h
2 #define si_cms_hash_agility_data_h
3
4 #include <stdio.h>
5 #include <stdint.h>
6
7 /* Random data for content */
8 extern unsigned char content[1024];
9 extern size_t content_size;
10
11 /* Random data for hash agility attribute */
12 extern unsigned char attribute[32];
13
14 /* Random data for hash agility V2 attribute */
15 extern unsigned char _attributev2[64];
16
17 /* Valid CMS message on content with hash agility attribute */
18 extern uint8_t valid_message[];
19 extern size_t valid_message_size;
20 /*
21 * Invalid CMS message on content with hash agility attribute.
22 * Only the hash agility attribute value has been changed from the valid message.
23 */
24 extern uint8_t invalid_message[];
25 extern size_t invalid_message_size;
26
27 /* Valid CMS message with no hash agility attribute */
28 extern unsigned char valid_no_attr[];
29 extern size_t valid_no_attr_size;
30
31 #include "si-cms-signing-identity-p12.h"
32
33 extern unsigned char _V2_valid_message[];
34 extern size_t _V2_valid_message_size;
35
36 #endif /* si_cms_hash_agility_data_h */