From 889a1f1e53bae31132db1663d0edbd28a2f9156f Mon Sep 17 00:00:00 2001 From: Leon Date: Tue, 11 Jun 2019 17:09:28 +0200 Subject: [PATCH] fix mvsc warning --- crypto_kem/ledakemlt12/clean/rng.c | 2 +- crypto_kem/ledakemlt32/clean/rng.c | 2 +- crypto_kem/ledakemlt52/clean/rng.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crypto_kem/ledakemlt12/clean/rng.c b/crypto_kem/ledakemlt12/clean/rng.c index c79b3195..490e7c09 100644 --- a/crypto_kem/ledakemlt12/clean/rng.c +++ b/crypto_kem/ledakemlt12/clean/rng.c @@ -67,7 +67,7 @@ void PQCLEAN_LEDAKEMLT12_CLEAN_seedexpander_from_trng(AES_XOF_struct *ctx, xlen - number of bytes to return */ int PQCLEAN_LEDAKEMLT12_CLEAN_seedexpander(AES_XOF_struct *ctx, unsigned char *x, size_t xlen) { - uint32_t offset; + size_t offset; aes256ctx ctx256; if ( x == NULL ) { diff --git a/crypto_kem/ledakemlt32/clean/rng.c b/crypto_kem/ledakemlt32/clean/rng.c index d62569a8..336c65e3 100644 --- a/crypto_kem/ledakemlt32/clean/rng.c +++ b/crypto_kem/ledakemlt32/clean/rng.c @@ -67,7 +67,7 @@ void PQCLEAN_LEDAKEMLT32_CLEAN_seedexpander_from_trng(AES_XOF_struct *ctx, xlen - number of bytes to return */ int PQCLEAN_LEDAKEMLT32_CLEAN_seedexpander(AES_XOF_struct *ctx, unsigned char *x, size_t xlen) { - uint32_t offset; + size_t offset; aes256ctx ctx256; if ( x == NULL ) { diff --git a/crypto_kem/ledakemlt52/clean/rng.c b/crypto_kem/ledakemlt52/clean/rng.c index 3b4af455..fdbe2148 100644 --- a/crypto_kem/ledakemlt52/clean/rng.c +++ b/crypto_kem/ledakemlt52/clean/rng.c @@ -67,7 +67,7 @@ void PQCLEAN_LEDAKEMLT52_CLEAN_seedexpander_from_trng(AES_XOF_struct *ctx, xlen - number of bytes to return */ int PQCLEAN_LEDAKEMLT52_CLEAN_seedexpander(AES_XOF_struct *ctx, unsigned char *x, size_t xlen) { - uint32_t offset; + size_t offset; aes256ctx ctx256; if ( x == NULL ) {