@@ -75,8 +75,8 @@ void kv_store_global_api_example()
75
75
/* Now that you know the data value size of this key,
76
76
* allocate a buffer with matching size and get the value data */
77
77
printf (" kv_get first key\n " );
78
- char *kv_first_value_out = new char [info.size + 1 ];
79
- memset (kv_first_value_out, 0 , info.size + 1 );
78
+ char *kv_first_value_out = new char [info.size + 1 ];
79
+ memset (kv_first_value_out, 0 , info.size + 1 );
80
80
res = kv_get (kv_key_in, kv_first_value_out, info.size , &actual_size);
81
81
printf (" kv_get -> %d\n " , err_code (res));
82
82
printf (" kv_get key: %s\n " , kv_key_in);
@@ -90,9 +90,9 @@ void kv_store_global_api_example()
90
90
printf (" kv_set -> %d\n " , err_code (res));
91
91
92
92
/* Set an authenticated-encrypted 'Dummy' key with Replay protection */
93
- printf (" kv_set third key with Confidentiality, Integrity and Replay Protection flags\n " );
93
+ printf (" kv_set third key with Confidentiality and Replay Protection flags\n " );
94
94
res = kv_set (" /kv/dummy_auth_enc_key" , " auth_enc_value" , strlen (" auth_enc_value" ),
95
- KV_REQUIRE_CONFIDENTIALITY_FLAG|KV_REQUIRE_INTEGRITY_FLAG| KV_REQUIRE_REPLAY_PROTECTION_FLAG);
95
+ KV_REQUIRE_CONFIDENTIALITY_FLAG | KV_REQUIRE_REPLAY_PROTECTION_FLAG);
96
96
printf (" kv_set -> %d\n " , err_code (res));
97
97
98
98
/* Set 2 non-dummy 'Real' KV pairs */
0 commit comments