summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1907d53)
Error message:
gost_crypt.c(652,36): warning C4018: '<': signed/unsigned mismatch
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
static inline void apply_acpkm_magma(struct ossl_gost_cipher_ctx *
ctx, unsigned int *num)
{
static inline void apply_acpkm_magma(struct ossl_gost_cipher_ctx *
ctx, unsigned int *num)
{
- if (!ctx->key_meshing || (*num < ctx->key_meshing))
+ if (!ctx->key_meshing || (*num < (unsigned int)ctx->key_meshing))
return;
acpkm_magma_key_meshing(&ctx->cctx);
*num &= MAGMA_BLOCK_MASK;
return;
acpkm_magma_key_meshing(&ctx->cctx);
*num &= MAGMA_BLOCK_MASK;