1313 </RequestHeader>
1414 <BatchItem tag="0x42000f" type="Structure">
1515 <Operation tag="0x42005c" type="Enumeration" value="3"/>
16- <UniqueBatchItemID tag="0x420093" type="ByteString" value="41"/>
1716 <RequestPayload tag="0x420079" type="Structure">
1817 <ObjectType tag="0x420057" type="Enumeration" value="7"/>
1918 <TemplateAttribute tag="0x420091" type="Structure">
19+ <Attribute tag="0x420008" type="Structure">
20+ <AttributeName tag="0x42000a" type="TextString" value="Cryptographic Usage
21+ Mask"/> <AttributeValue tag="0x42000b" type="Integer" value="0"/>
22+ </Attribute>
2023 </TemplateAttribute>
2124 <SecretData tag="0x420085" type="Structure">
22- <SecretDataType tag="0x420086" type="Enumeration" value="1 "/>
25+ <SecretDataType tag="0x420086" type="Enumeration" value="2 "/>
2326 <KeyBlock tag="0x420040" type="Structure">
24- <KeyFormatType tag="0x420042" type="Enumeration" value="1 "/>
27+ <KeyFormatType tag="0x420042" type="Enumeration" value="2 "/>
2528 <KeyValue tag="0x420045" type="Structure">
26- <KeyMaterial tag="0x420043" type="ByteString"
29+ <KeyMaterial tag="0x420043" type="ByteString"
2730value="ffa8cc79e8c3763b0121fcd06bb3488c8bf42c0774604640279b16b264194030eeb08396241defcc4d32d16ea831ad777138f08e2f985664c004c2485d6f4991eb3d9ec32802537836a9066b4e10aeb56a5ccf6aa46901e625e3400c7811d2ec"/>
2831 </KeyValue>
2932 </KeyBlock>
@@ -33,30 +36,35 @@ value="ffa8cc79e8c3763b0121fcd06bb3488c8bf42c0774604640279b16b264194030eeb083962
3336</RequestMessage>
3437*/
3538#define REGISTER_SECRETDATA_REQUEST \
36- 0x42, 0x00, 0x78, 0x01, 0x00, 0x00, 0x01, 0x18 , 0x42, 0x00, 0x77, 0x01, \
39+ 0x42, 0x00, 0x78, 0x01, 0x00, 0x00, 0x01, 0x50 , 0x42, 0x00, 0x77, 0x01, \
3740 0x00, 0x00, 0x00, 0x38, 0x42, 0x00, 0x69, 0x01, 0x00, 0x00, 0x00, 0x20, \
3841 0x42, 0x00, 0x6a, 0x02, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x01, \
3942 0x00, 0x00, 0x00, 0x00, 0x42, 0x00, 0x6b, 0x02, 0x00, 0x00, 0x00, 0x04, \
4043 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x42, 0x00, 0x0d, 0x02, \
4144 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, \
42- 0x42, 0x00, 0x0f, 0x01, 0x00, 0x00, 0x00, 0xd0 , 0x42, 0x00, 0x5c, 0x05, \
45+ 0x42, 0x00, 0x0f, 0x01, 0x00, 0x00, 0x01, 0x08 , 0x42, 0x00, 0x5c, 0x05, \
4346 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, \
44- 0x42, 0x00, 0x79, 0x01, 0x00, 0x00, 0x00, 0xb8 , 0x42, 0x00, 0x57, 0x05, \
47+ 0x42, 0x00, 0x79, 0x01, 0x00, 0x00, 0x00, 0xf0 , 0x42, 0x00, 0x57, 0x05, \
4548 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, \
46- 0x42, 0x00, 0x91, 0x01, 0x00, 0x00, 0x00, 0x00, 0x42, 0x00, 0x85, 0x01, \
47- 0x00, 0x00, 0x00, 0x98, 0x42, 0x00, 0x86, 0x05, 0x00, 0x00, 0x00, 0x04, \
48- 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x42, 0x00, 0x40, 0x01, \
49- 0x00, 0x00, 0x00, 0x80, 0x42, 0x00, 0x42, 0x05, 0x00, 0x00, 0x00, 0x04, \
50- 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x42, 0x00, 0x45, 0x01, \
51- 0x00, 0x00, 0x00, 0x68, 0x42, 0x00, 0x43, 0x08, 0x00, 0x00, 0x00, 0x60, \
52- 0xff, 0xa8, 0xcc, 0x79, 0xe8, 0xc3, 0x76, 0x3b, 0x01, 0x21, 0xfc, 0xd0, \
53- 0x6b, 0xb3, 0x48, 0x8c, 0x8b, 0xf4, 0x2c, 0x07, 0x74, 0x60, 0x46, 0x40, \
54- 0x27, 0x9b, 0x16, 0xb2, 0x64, 0x19, 0x40, 0x30, 0xee, 0xb0, 0x83, 0x96, \
55- 0x24, 0x1d, 0xef, 0xcc, 0x4d, 0x32, 0xd1, 0x6e, 0xa8, 0x31, 0xad, 0x77, \
56- 0x71, 0x38, 0xf0, 0x8e, 0x2f, 0x98, 0x56, 0x64, 0xc0, 0x04, 0xc2, 0x48, \
57- 0x5d, 0x6f, 0x49, 0x91, 0xeb, 0x3d, 0x9e, 0xc3, 0x28, 0x02, 0x53, 0x78, \
58- 0x36, 0xa9, 0x06, 0x6b, 0x4e, 0x10, 0xae, 0xb5, 0x6a, 0x5c, 0xcf, 0x6a, \
59- 0xa4, 0x69, 0x01, 0xe6, 0x25, 0xe3, 0x40, 0x0c, 0x78, 0x11, 0xd2, 0xec
49+ 0x42, 0x00, 0x91, 0x01, 0x00, 0x00, 0x00, 0x38, 0x42, 0x00, 0x08, 0x01, \
50+ 0x00, 0x00, 0x00, 0x30, 0x42, 0x00, 0x0a, 0x07, 0x00, 0x00, 0x00, 0x18, \
51+ 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x69, \
52+ 0x63, 0x20, 0x55, 0x73, 0x61, 0x67, 0x65, 0x20, 0x4d, 0x61, 0x73, 0x6b, \
53+ 0x42, 0x00, 0x0b, 0x02, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, \
54+ 0x00, 0x00, 0x00, 0x00, 0x42, 0x00, 0x85, 0x01, 0x00, 0x00, 0x00, 0x98, \
55+ 0x42, 0x00, 0x86, 0x05, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x02, \
56+ 0x00, 0x00, 0x00, 0x00, 0x42, 0x00, 0x40, 0x01, 0x00, 0x00, 0x00, 0x80, \
57+ 0x42, 0x00, 0x42, 0x05, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x02, \
58+ 0x00, 0x00, 0x00, 0x00, 0x42, 0x00, 0x45, 0x01, 0x00, 0x00, 0x00, 0x68, \
59+ 0x42, 0x00, 0x43, 0x08, 0x00, 0x00, 0x00, 0x60, 0xff, 0xa8, 0xcc, 0x79, \
60+ 0xe8, 0xc3, 0x76, 0x3b, 0x01, 0x21, 0xfc, 0xd0, 0x6b, 0xb3, 0x48, 0x8c, \
61+ 0x8b, 0xf4, 0x2c, 0x07, 0x74, 0x60, 0x46, 0x40, 0x27, 0x9b, 0x16, 0xb2, \
62+ 0x64, 0x19, 0x40, 0x30, 0xee, 0xb0, 0x83, 0x96, 0x24, 0x1d, 0xef, 0xcc, \
63+ 0x4d, 0x32, 0xd1, 0x6e, 0xa8, 0x31, 0xad, 0x77, 0x71, 0x38, 0xf0, 0x8e, \
64+ 0x2f, 0x98, 0x56, 0x64, 0xc0, 0x04, 0xc2, 0x48, 0x5d, 0x6f, 0x49, 0x91, \
65+ 0xeb, 0x3d, 0x9e, 0xc3, 0x28, 0x02, 0x53, 0x78, 0x36, 0xa9, 0x06, 0x6b, \
66+ 0x4e, 0x10, 0xae, 0xb5, 0x6a, 0x5c, 0xcf, 0x6a, 0xa4, 0x69, 0x01, 0xe6, \
67+ 0x25, 0xe3, 0x40, 0x0c, 0x78, 0x11, 0xd2, 0xec
6068
6169#define REGISTER_SECRETDATA_SECRETDATA \
6270 0xff, 0xa8, 0xcc, 0x79, 0xe8, 0xc3, 0x76, 0x3b, 0x01, 0x21, 0xfc, 0xd0, \
@@ -93,7 +101,6 @@ kms_kmip_request_register_secretdata_test (void)
93101void
94102kms_kmip_request_register_secretdata_invalid_test (void )
95103{
96-
97104 kms_request_t * req ;
98105 uint8_t secret_data [KMS_KMIP_REQUEST_SECRETDATA_LENGTH ] = {0 };
99106
0 commit comments