Searched refs:BN_is_negative (Results 1 - 24 of 24) sorted by relevance

/freebsd-13-stable/crypto/heimdal/include/
H A Dcrypto-headers.h28 #ifndef BN_is_negative
30 #define BN_is_negative(bn) ((bn)->neg != 0) macro
/freebsd-13-stable/crypto/openssl/crypto/asn1/
H A Dt_pkey.c55 neg = BN_is_negative(num) ? "-" : "";
H A Da_int.c467 if (BN_is_negative(bn) && !BN_is_zero(bn))
/freebsd-13-stable/crypto/openssl/crypto/bn/
H A Dbn_intern.c50 if (BN_is_negative(scalar)) {
H A Dbn_print.c87 if (BN_is_negative(t))
H A Dbn_nist.c340 if (BN_is_negative(a) || BN_ucmp(a, &_bignum_nist_p_192_sqr) >= 0)
485 if (BN_is_negative(a) || BN_ucmp(a, &_bignum_nist_p_224_sqr) >= 0)
666 if (BN_is_negative(a) || BN_ucmp(a, &_bignum_nist_p_256_sqr) >= 0)
912 if (BN_is_negative(a) || BN_ucmp(a, &_bignum_nist_p_384_sqr) >= 0)
1170 if (BN_is_negative(a) || BN_ucmp(a, &_bignum_nist_p_521_sqr) >= 0)
H A Dbn_lib.c923 int BN_is_negative(const BIGNUM *a) function
/freebsd-13-stable/usr.bin/dc/
H A Dbcode.c427 BN_set_negative(n->number, !BN_is_negative(n->number));
593 if (BN_is_negative(n->number))
890 if (BN_is_negative(inumber->number))
929 if (BN_is_negative(inumber->number)) {
1209 if (BN_is_negative(p->number)) {
1312 } else if (BN_is_negative(n->number))
H A Dinout.c353 if (BN_is_negative(b->number))
436 if (BN_is_negative(v))
/freebsd-13-stable/crypto/openssl/crypto/dsa/
H A Ddsa_ossl.c332 if (BN_is_zero(r) || BN_is_negative(r) ||
337 if (BN_is_zero(s) || BN_is_negative(s) ||
/freebsd-13-stable/crypto/openssl/crypto/ec/
H A Decdsa_ossl.c361 if (BN_is_zero(sig->r) || BN_is_negative(sig->r) ||
363 BN_is_negative(sig->s) || BN_ucmp(sig->s, order) >= 0) {
H A Dec_lib.c340 || BN_is_negative(group->field)) {
350 if (order == NULL || BN_is_zero(order) || BN_is_negative(order)
361 if (cofactor != NULL && BN_is_negative(cofactor)) {
H A Decp_nistz256.c645 if ((BN_num_bits(scalar[i]) > 256) || BN_is_negative(scalar[i])) {
1024 || BN_is_negative(scalar)) {
1327 if ((BN_num_bits(x) > 256) || BN_is_negative(x)) {
H A Dec_asn1.c729 if (BN_is_negative(p) || BN_is_zero(p)) {
788 if (BN_is_negative(a) || BN_is_zero(a)) {
H A Decp_nistp224.c334 if (BN_is_negative(bn)) {
1506 || (BN_is_negative(p_scalar))) {
1558 if ((BN_num_bits(scalar) > 224) || (BN_is_negative(scalar))) {
H A Decp_nistp256.c155 if (BN_is_negative(bn)) {
2126 || (BN_is_negative(p_scalar))) {
2180 if ((BN_num_bits(scalar) > 256) || (BN_is_negative(scalar))) {
H A Decp_nistp521.c179 if (BN_is_negative(bn)) {
1965 || (BN_is_negative(p_scalar))) {
2017 if ((BN_num_bits(scalar) > 521) || (BN_is_negative(scalar))) {
H A Dec_mult.c222 if ((BN_num_bits(k) > cardinality_bits) || (BN_is_negative(k))) {
/freebsd-13-stable/crypto/openssl/crypto/rsa/
H A Drsa_ossl.c812 if (BN_is_negative(r0))
840 if (BN_is_negative(r0))
874 if (BN_is_negative(r1))
918 if (BN_is_negative(vrfy))
/freebsd-13-stable/crypto/openssl/crypto/dh/
H A Ddh_check.c55 if (BN_is_negative(dh->g) || BN_is_zero(dh->g) || BN_is_one(dh->g))
/freebsd-13-stable/crypto/openssh/
H A Ddh.c233 if (BN_is_negative(dh_pub)) {
/freebsd-13-stable/crypto/openssl/include/openssl/
H A Dbn.h239 /** BN_is_negative returns 1 if the BIGNUM is negative
243 int BN_is_negative(const BIGNUM *b);
/freebsd-13-stable/crypto/heimdal/kdc/
H A Dpkinit.c914 integer->negative = BN_is_negative(bn);
/freebsd-13-stable/crypto/heimdal/lib/krb5/
H A Dpkinit.c113 integer->negative = BN_is_negative(bn);

Completed in 287 milliseconds