X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=hfal%2Fhfal-hmac.h;fp=hfal%2Fhfal-hmac.h;h=4c1c738c86558fc6b79bd99ae6dcea099d27f46d;hb=b9d6e1eb867eaa431c4c555a7409342805fa2706;hp=63cb016eb0c4944f994e0cd50c29d5750df82879;hpb=1ee55d2589fee6c40acb72a24c04528a8cc1772f;p=arm-crypto-lib.git diff --git a/hfal/hfal-hmac.h b/hfal/hfal-hmac.h index 63cb016..4c1c738 100644 --- a/hfal/hfal-hmac.h +++ b/hfal/hfal-hmac.h @@ -29,7 +29,7 @@ typedef struct { } hfhmacgen_ctx_t; uint8_t hfal_hmac_init(const hfdesc_t* hash_descriptor, hfhmacgen_ctx_t* ctx, const void* key, uint16_t keylength_b); -int hfal_hmac_ctxcopy(hfhmacgen_ctx_t* dest, hfhmacgen_ctx_t* src); +uint8_t hfal_hmac_ctxcopy(hfhmacgen_ctx_t* dest, hfhmacgen_ctx_t* src); void hfal_hmac_nextBlock(hfhmacgen_ctx_t* ctx, const void* block); void hfal_hmac_lastBlock(hfhmacgen_ctx_t* ctx, const void* block, uint16_t length_b); void hfal_hmac_ctx2mac(void* dest, hfhmacgen_ctx_t* ctx);