Skip to content

Commit 60dbe38

Browse files
authored
Update cmac.c to eliminate extra spaces
1 parent 13b26bc commit 60dbe38

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

wolfcrypt/src/cmac.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ int wc_InitCmac_ex(Cmac* cmac, const byte* key, word32 keySz,
178178
break;
179179
#endif /* !NO_AES && WOLFSSL_AES_DIRECT */
180180
default:
181-
182181
return BAD_FUNC_ARG;
183182
}
184183

@@ -249,7 +248,7 @@ int wc_CmacUpdate(Cmac* cmac, const byte* in, word32 inSz)
249248
}
250249
}; break;
251250
#endif /* !NO_AES && WOLFSSL_AES_DIRECT */
252-
default :
251+
default:
253252
ret = BAD_FUNC_ARG;
254253
}
255254
return ret;
@@ -271,7 +270,7 @@ int wc_CmacFree(Cmac* cmac)
271270
wc_AesFree(&cmac->aes);
272271
break;
273272
#endif /* !NO_AES && WOLFSSL_AES_DIRECT */
274-
default :
273+
default:
275274
/* Nothing to do */
276275
(void)cmac;
277276
}
@@ -344,7 +343,7 @@ int wc_CmacFinalNoFree(Cmac* cmac, byte* out, word32* outSz)
344343
}
345344
}; break;
346345
#endif /* !NO_AES && WOLFSSL_AES_DIRECT */
347-
default :
346+
default:
348347
ret = BAD_FUNC_ARG;
349348
}
350349
}

0 commit comments

Comments
 (0)