Fixed hmacSize definition (#44)
This commit is contained in:
parent
a647994910
commit
acf9645e32
|
@ -37,7 +37,7 @@ type
|
|||
proc hmacInit*(ctx: var HmacContext; kc: var HmacKeyContext; outLen: uint) {.importcFunc,
|
||||
importc: "br_hmac_init", header: "bearssl_hmac.h".}
|
||||
|
||||
proc hmacSize*(ctx: var HmacContext): uint {.inline, importcFunc, importc: "br_hmac_size".} =
|
||||
proc hmacSize*(ctx: var HmacContext): uint {.inline.} =
|
||||
return ctx.outLen
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue