Skip to content

Commit aaa7ab9

Browse files
committed
clang-format
1 parent 526720c commit aaa7ab9

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

src/wh_client_keywrap.c

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ int wh_Client_KeyWrapRequest(whClientContext* ctx,
1717
uint16_t serverKeyId, void* key, uint16_t keySz,
1818
whNvmMetadata* metadata)
1919
{
20-
uint16_t group = WH_MESSAGE_GROUP_KEY;
20+
uint16_t group = WH_MESSAGE_GROUP_KEY;
2121
uint16_t action = WH_KEY_KEYWRAP;
2222
whMessageKeystore_KeyWrapRequest* req = NULL;
23-
uint8_t* reqData;
23+
uint8_t* reqData;
2424

2525
if (ctx == NULL || key == NULL || metadata == NULL) {
2626
return WH_ERROR_BADARGS;
@@ -52,12 +52,12 @@ int wh_Client_KeyWrapResponse(whClientContext* ctx,
5252
enum wc_CipherType cipherType,
5353
void* wrappedKeyOut, uint16_t wrappedKeySz)
5454
{
55-
int ret;
56-
uint16_t group;
57-
uint16_t action;
58-
uint16_t size;
55+
int ret;
56+
uint16_t group;
57+
uint16_t action;
58+
uint16_t size;
5959
whMessageKeystore_KeyWrapResponse* resp = NULL;
60-
uint8_t* respData;
60+
uint8_t* respData;
6161

6262
if (ctx == NULL || wrappedKeyOut == NULL) {
6363
return WH_ERROR_BADARGS;
@@ -126,10 +126,10 @@ int wh_Client_KeyUnwrapAndExportRequest(whClientContext* ctx,
126126
uint16_t wrappedKeySz)
127127

128128
{
129-
uint16_t group = WH_MESSAGE_GROUP_KEY;
130-
uint16_t action = WH_KEY_KEYUNWRAPEXPORT;
129+
uint16_t group = WH_MESSAGE_GROUP_KEY;
130+
uint16_t action = WH_KEY_KEYUNWRAPEXPORT;
131131
whMessageKeystore_KeyUnwrapAndExportRequest* req = NULL;
132-
uint8_t* reqData;
132+
uint8_t* reqData;
133133

134134
if (ctx == NULL || wrappedKeyIn == NULL) {
135135
return WH_ERROR_BADARGS;
@@ -161,12 +161,12 @@ int wh_Client_KeyUnwrapAndExportResponse(whClientContext* ctx,
161161
whNvmMetadata* metadataOut,
162162
void* keyOut, uint16_t keySz)
163163
{
164-
int ret;
165-
uint16_t group;
166-
uint16_t action;
167-
uint16_t size;
164+
int ret;
165+
uint16_t group;
166+
uint16_t action;
167+
uint16_t size;
168168
whMessageKeystore_KeyUnwrapAndExportResponse* resp = NULL;
169-
uint8_t* respData;
169+
uint8_t* respData;
170170

171171
if (ctx == NULL || metadataOut == NULL || keyOut == NULL) {
172172
return WH_ERROR_BADARGS;
@@ -245,7 +245,7 @@ int wh_Client_KeyUnwrapAndCacheRequest(whClientContext* ctx,
245245
uint16_t action = WH_KEY_KEYUNWRAPCACHE;
246246

247247
whMessageKeystore_KeyUnwrapAndCacheRequest* req = NULL;
248-
uint8_t* reqData;
248+
uint8_t* reqData;
249249

250250
if (ctx == NULL || wrappedKeyIn == NULL)
251251
return WH_ERROR_BADARGS;
@@ -274,10 +274,10 @@ int wh_Client_KeyUnwrapAndCacheResponse(whClientContext* ctx,
274274
enum wc_CipherType cipherType,
275275
uint16_t* keyIdOut)
276276
{
277-
int ret;
278-
uint16_t group;
279-
uint16_t action;
280-
uint16_t size;
277+
int ret;
278+
uint16_t group;
279+
uint16_t action;
280+
uint16_t size;
281281
whMessageKeystore_KeyUnwrapAndCacheResponse* resp = NULL;
282282

283283
if (ctx == NULL || keyIdOut == NULL)

0 commit comments

Comments
 (0)