Home | History | Annotate | Download | only in bn

Lines Matching full:bignum

68 BIGNUM *BN_new(void) {
69 BIGNUM *bn = OPENSSL_malloc(sizeof(BIGNUM));
76 OPENSSL_memset(bn, 0, sizeof(BIGNUM));
82 void BN_init(BIGNUM *bn) {
83 OPENSSL_memset(bn, 0, sizeof(BIGNUM));
86 void BN_free(BIGNUM *bn) {
102 void BN_clear_free(BIGNUM *bn) {
117 OPENSSL_cleanse(bn, sizeof(BIGNUM));
123 BIGNUM *BN_dup(const BIGNUM *src) {
124 BIGNUM *copy;
143 BIGNUM *BN_copy(BIGNUM *dest, const BIGNUM *src) {
159 void BN_clear(BIGNUM *bn) {
168 const BIGNUM *BN_value_one(void) {
170 static const BIGNUM kOne = STATIC_BIGNUM(kOneLimbs);
225 unsigned BN_num_bits(const BIGNUM *bn) {
235 unsigned BN_num_bytes(const BIGNUM *bn) {
239 void BN_zero(BIGNUM *bn) {
243 int BN_one(BIGNUM *bn) {
247 int BN_set_word(BIGNUM *bn, BN_ULONG value) {
263 int BN_set_u64(BIGNUM *bn, uint64_t value) {
285 int bn_set_words(BIGNUM *bn, const BN_ULONG *words, size_t num) {
297 int BN_is_negative(const BIGNUM *bn) {
301 void BN_set_negative(BIGNUM *bn, int sign) {
309 BIGNUM *bn_wexpand(BIGNUM *bn, size_t words) {
341 BIGNUM *bn_expand(BIGNUM *bn, size_t bits) {
349 void bn_correct_top(BIGNUM *bn) {