X-Git-Url: https://git.cryptolib.org/?p=arm-crypto-lib.git;a=blobdiff_plain;f=hfal%2Fhfal-hmac.c;fp=hfal%2Fhfal-hmac.c;h=01a6409356d4284a9cd42b92f7ba0b9525b63fe4;hp=f27105592998d7b24d3933b26b7334538c9842aa;hb=fba438e4a194e3d3c61ba7ebbbf5a34c42e5cb66;hpb=afb8447a95004768f31f289af257f8fbcc01a466 diff --git a/hfal/hfal-hmac.c b/hfal/hfal-hmac.c index f271055..01a6409 100644 --- a/hfal/hfal-hmac.c +++ b/hfal/hfal-hmac.c @@ -38,13 +38,13 @@ uint8_t hfal_hmac_init(const hfdesc_t* hash_descriptor, ctx->desc = hash_descriptor; ctx->ctx = malloc(hash_descriptor->ctxsize_B); ctx->finctx = malloc(hash_descriptor->ctxsize_B); - if(ctx->ctx==NULL && ctx->finctx==NULL) + if(ctx->ctx == NULL && ctx->finctx == NULL) return 3; - if(ctx->finctx==NULL){ + if(ctx->finctx == NULL){ free(ctx->ctx); return 2; } - if(ctx->ctx==NULL){ + if(ctx->ctx == NULL){ free(ctx->finctx); return 1; }