Home | History | Annotate | Download | only in crypto

Lines Matching full:bignum

489  * struct crypto_bignum - bignum
491 * Internal data structure for bignum implementation. The contents is specific
497 * crypto_bignum_init - Allocate memory for bignum
498 * Returns: Pointer to allocated bignum or %NULL on failure
503 * crypto_bignum_init_set - Allocate memory for bignum and set the value
506 * Returns: Pointer to allocated bignum or %NULL on failure
511 * crypto_bignum_deinit - Free bignum
512 * @n: Bignum from crypto_bignum_init() or crypto_bignum_init_set()
518 * crypto_bignum_to_bin - Set binary buffer to unsigned bignum
519 * @a: Bignum
530 * @a: Bignum
531 * @b: Bignum
532 * @c: Bignum; used to store the result of a + b
541 * @a: Bignum
542 * @b: Bignum
543 * @c: Bignum; used to store the result of a % b
552 * @a: Bignum; base
553 * @b: Bignum; exponent
554 * @c: Bignum; modulus
555 * @d: Bignum; used to store the result of a^b (mod c)
564 * crypto_bignum_inverse - Inverse a bignum so that a * c = 1 (mod b)
565 * @a: Bignum
566 * @b: Bignum
567 * @c: Bignum; used to store the result
576 * @a: Bignum
577 * @b: Bignum
578 * @c: Bignum; used to store the result of a - b
587 * @a: Bignum
588 * @b: Bignum
589 * @c: Bignum; used to store the result of a / b
598 * @a: Bignum
599 * @b: Bignum
600 * @c: Bignum
601 * @d: Bignum; used to store the result of (a * b) % c
611 * @a: Bignum
612 * @b: Bignum
619 * crypto_bignum_bits - Get size of a bignum in bits
620 * @a: Bignum
621 * Returns: Number of bits in the bignum
626 * crypto_bignum_is_zero - Is the given bignum zero
627 * @a: Bignum
633 * crypto_bignum_is_one - Is the given bignum one
634 * @a: Bignum
641 * @a: Bignum
642 * @p: Bignum
687 * Returns: Prime (bignum) defining the group
694 * Returns: Order (bignum) of the group
751 * @a: Bignum
752 * @b: Bignum
753 * @c: Bignum; used to store the result of a + b
764 * @b: Bignum