bignum: Fix documentation for bignum_cmp_d()
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
3d5b88b5a0
commit
4a9531a755
1 changed files with 2 additions and 2 deletions
|
@ -119,10 +119,10 @@ int bignum_cmp(const struct bignum *a, const struct bignum *b)
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* bignum_cmd_d - Compare bignum to standard integer
|
* bignum_cmp_d - Compare bignum to standard integer
|
||||||
* @a: Bignum from bignum_init()
|
* @a: Bignum from bignum_init()
|
||||||
* @b: Small integer
|
* @b: Small integer
|
||||||
* Returns: 0 on success, -1 on failure
|
* Returns: -1 if a < b, 0 if a == b, 1 if a > b
|
||||||
*/
|
*/
|
||||||
int bignum_cmp_d(const struct bignum *a, unsigned long b)
|
int bignum_cmp_d(const struct bignum *a, unsigned long b)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue