Remove unused crypto_bignum_rshift()

Commit bf4f5d6570 removed the only user of
this function.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2014-02-15 11:31:20 +02:00
parent 2dff9e87b9
commit a9b08adacf
2 changed files with 0 additions and 17 deletions

View file

@ -533,16 +533,6 @@ int crypto_bignum_exptmod(const struct crypto_bignum *a,
const struct crypto_bignum *c,
struct crypto_bignum *d);
/**
* crypto_bignum_rshift - b = a >> n
* @a: Bignum
* @n: Number of bits to shift
* @b: Bignum; used to store the result of a >> n
* Returns: 0 on success, -1 on failure
*/
int crypto_bignum_rshift(const struct crypto_bignum *a, int n,
struct crypto_bignum *b);
/**
* crypto_bignum_inverse - Inverse a bignum so that a * c = 1 (mod b)
* @a: Bignum

View file

@ -916,13 +916,6 @@ int crypto_bignum_exptmod(const struct crypto_bignum *a,
}
int crypto_bignum_rshift(const struct crypto_bignum *a, int n,
struct crypto_bignum *b)
{
return BN_rshift((BIGNUM *) b, (const BIGNUM *) a, n) ? 0 : -1;
}
int crypto_bignum_inverse(const struct crypto_bignum *a,
const struct crypto_bignum *b,
struct crypto_bignum *c)