Browse Source

speck transform code clean-up

pull/394/head
Logan007 4 years ago
parent
commit
1a70ab2c0d
  1. 6
      src/speck.c

6
src/speck.c

@ -693,11 +693,13 @@ int speck_init (const unsigned char *k, speck_context_t **ctx) {
int speck_deinit (speck_context_t *ctx) { int speck_deinit (speck_context_t *ctx) {
if(ctx) {
#if defined (SPECK_ALIGNED_CTX) #if defined (SPECK_ALIGNED_CTX)
_mm_free (ctx); _mm_free (ctx);
#else #else
free (ctx); free (ctx);
#endif #endif
}
return 0; return 0;
} }

Loading…
Cancel
Save