Skip to content

Commit

Permalink
Remove printf that causes linker issue in environments like SGX
Browse files Browse the repository at this point in the history
Signed-off-by: Sankaranarayanan Venkatasubramanian <[email protected]>
  • Loading branch information
svenkata9 committed Jan 11, 2024
1 parent 15ae760 commit f5ce970
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/include/snow3g_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
#ifndef SNOW3G_COMMON_H
#define SNOW3G_COMMON_H

#include <stdio.h> /* printf() */
#include <string.h> /* memset(), memcpy() */
#include <stdint.h>

Expand Down Expand Up @@ -3103,7 +3102,6 @@ SNOW3G_F8_N_BUFFER(const snow3g_key_schedule_t *pCtx, const void *const IV[],

if (packetCount > NUM_PACKETS_16) {
pBufferOut[0] = NULL;
printf("packetCount too high (%u)\n", (unsigned) packetCount);
return;
}

Expand Down Expand Up @@ -3267,7 +3265,6 @@ SNOW3G_F8_N_BUFFER_MULTIKEY(const snow3g_key_schedule_t *const pCtx[], const voi

if (packetCount > NUM_PACKETS_16) {
pBufferOut[0] = NULL;
printf("packetCount too high (%u)\n", (unsigned) packetCount);
return;
}

Expand Down

0 comments on commit f5ce970

Please sign in to comment.