Home
last modified time | relevance | path

Searched refs:bignum (Results 1 – 24 of 24) sorted by relevance

/freebsd/contrib/wpa/src/tls/
H A Dbignum.h12 struct bignum;
14 struct bignum * bignum_init(void);
15 void bignum_deinit(struct bignum *n);
16 size_t bignum_get_unsigned_bin_len(struct bignum *n);
17 int bignum_get_unsigned_bin(const struct bignum *n, u8 *buf, size_t *len);
18 int bignum_set_unsigned_bin(struct bignum *n, const u8 *buf, size_t len);
19 int bignum_cmp(const struct bignum *a, const struct bignum *b);
20 int bignum_cmp_d(const struct bignum *a, unsigned long b);
21 int bignum_add(const struct bignum *a, const struct bignum *b,
22 struct bignum *c);
[all …]
H A Dbignum.c30 struct bignum * bignum_init(void) in bignum_init()
32 struct bignum *n = os_zalloc(sizeof(mp_int)); in bignum_init()
47 void bignum_deinit(struct bignum *n) in bignum_deinit()
61 size_t bignum_get_unsigned_bin_len(struct bignum *n) in bignum_get_unsigned_bin_len()
75 int bignum_get_unsigned_bin(const struct bignum *n, u8 *buf, size_t *len) in bignum_get_unsigned_bin()
99 int bignum_set_unsigned_bin(struct bignum *n, const u8 *buf, size_t len) in bignum_set_unsigned_bin()
115 int bignum_cmp(const struct bignum *a, const struct bignum *b) in bignum_cmp()
127 int bignum_cmp_d(const struct bignum *a, unsigned long b) in bignum_cmp_d()
140 int bignum_add(const struct bignum *a, const struct bignum *b, in bignum_add()
141 struct bignum *c) in bignum_add()
[all …]
H A Drsa.c19 struct bignum *n; /* modulus (p * q) */
20 struct bignum *e; /* public exponent */
22 struct bignum *d; /* private exponent */
23 struct bignum *p; /* prime p (factor of n) */
24 struct bignum *q; /* prime q (factor of n) */
25 struct bignum *dmp1; /* d mod (p - 1); CRT exponent */
26 struct bignum *dmq1; /* d mod (q - 1); CRT exponent */
27 struct bignum *iqmp; /* 1 / q mod p; CRT coefficient */
32 struct bignum *num) in crypto_rsa_parse_integer()
147 struct bignum *zero; in crypto_rsa_import_private_key()
[all …]
H A DMakefile8 bignum.o \
H A Dpkcs8.c23 struct bignum *zero; in pkcs8_key_import()
/freebsd/crypto/openssl/fuzz/
H A Dbuild.info12 PROGRAMS{noinst}=asn1 asn1parse bignum bndiv client conf crl server
38 SOURCE[bignum]=bignum.c driver.c
39 INCLUDE[bignum]=../include {- $ex_inc -}
40 DEPEND[bignum]=../libcrypto {- $ex_lib -}
80 …PROGRAMS{noinst}=asn1-test asn1parse-test bignum-test bndiv-test client-test conf-test crl-test se…
106 SOURCE[bignum-test]=bignum.c test-corpus.c
107 INCLUDE[bignum-test]=../include
108 DEPEND[bignum-test]=../libcrypto
/freebsd/contrib/wpa/src/crypto/
H A Dcrypto_internal-modexp.c48 struct bignum *pub; in crypto_dh_derive_secret()
62 struct bignum *p, *q, *tmp; in crypto_dh_derive_secret()
94 struct bignum *bn_base, *bn_exp, *bn_modulus, *bn_result; in crypto_mod_exp()
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/struct/
H A Dtst.clauselocal.d38 long bignum; variable
/freebsd/usr.sbin/wpa/src/tls/
H A DMakefile17 bignum.c \
/freebsd/crypto/openssl/Configurations/
H A DREADME.md206 bn_ops => Building options (was just bignum options in
212 the bignum, different ways to implement certain
218 THIRTY_TWO_BIT bignum limbs are 32 bits,
225 BN_LLONG bignum limbs are 32 bits,
229 SIXTY_FOUR_BIT_LONG bignum limbs are 64 bits
/freebsd/contrib/ldns/
H A Dhost2str.c2953 unsigned char *bignum; in ldns_key2buffer_str() local
2965 bignum = LDNS_XMALLOC(unsigned char, LDNS_MAX_KEYLEN); in ldns_key2buffer_str()
2966 if (!bignum) { in ldns_key2buffer_str()
3205 LDNS_FREE(bignum); in ldns_key2buffer_str()
3208 LDNS_FREE(bignum); in ldns_key2buffer_str()
3214 LDNS_FREE(bignum); in ldns_key2buffer_str()
/freebsd/crypto/openssl/test/
H A DREADME-dev.md28 10-14 math (bignum)
/freebsd/crypto/openssl/crypto/engine/
H A DREADME.md197 What else? The bignum callbacks and associated ENGINE functions have been
201 application code to automatically hook and use ENGINE supplied bignum functions
/freebsd/crypto/openssl/crypto/err/
H A Dopenssl.txt171 BN_R_BIGNUM_TOO_LONG:114:bignum too long
176 BN_R_EXPAND_ON_STATIC_BIGNUM_DATA:105:expand on static bignum data
541 EC_R_BIGNUM_OUT_OF_RANGE:144:bignum out of range
/freebsd/crypto/heimdal/doc/
H A Dcopyright.texi166 Tom's fast math (bignum support) and LibTomMath
/freebsd/crypto/heimdal/
H A DChangeLog.20041351 * kdc/pkinit.c: adapt to asn1 bignum code, use HEIM_PKINIT errors
1353 * lib/krb5/pkinit.c: adapt to asn1 bignum code, use HEIM_PKINIT
H A DNEWS262 * Updated the built-in crypto library with bignum support using
/freebsd/contrib/wpa/wpa_supplicant/
H A DREADME106 - bignum
108 TLSv1/X.509/ASN.1/RSA/bignum parts are about 25 kB on x86)
H A DChangeLog1602 needed X.509/ASN.1/RSA/bignum processing (this can be enabled by
/freebsd/contrib/bmake/
H A Dconfigure2369 static long long int bignum = -9223372036854775807LL;
2471 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
/freebsd/crypto/heimdal/lib/asn1/
H A DChangeLog811 * gen_free.c (free_type): free bignum integers
/freebsd/crypto/openssl/
H A DNEWS.md1458 * Sparc assembler bignum implementation, optimized hash functions
H A DCHANGES.md11331 remained unused and not that useful. A variety of other little bignum
16999 bignum version of BN_from_montgomery() with the working code from
18577 * Sparc v8plus assembler for the bignum library.
/freebsd/contrib/wpa/hostapd/
H A DChangeLog929 needed X.509/ASN.1/RSA/bignum processing (this can be enabled by