Home
last modified time | relevance | path

Searched defs:bn (Results 1 – 25 of 77) sorted by relevance

1234

/external/boringssl/src/crypto/fipsmodule/bn/
Dbn.c70 BIGNUM *bn = OPENSSL_malloc(sizeof(BIGNUM)); in BN_new() local
83 void BN_init(BIGNUM *bn) { in BN_init()
87 void BN_free(BIGNUM *bn) { in BN_free()
103 void BN_clear_free(BIGNUM *bn) { in BN_clear_free()
162 void BN_clear(BIGNUM *bn) { in BN_clear()
235 unsigned BN_num_bits(const BIGNUM *bn) { in BN_num_bits()
244 unsigned BN_num_bytes(const BIGNUM *bn) { in BN_num_bytes()
248 void BN_zero(BIGNUM *bn) { in BN_zero()
252 int BN_one(BIGNUM *bn) { in BN_one()
256 int BN_set_word(BIGNUM *bn, BN_ULONG value) { in BN_set_word()
[all …]
Dcmp.c130 int BN_abs_is_word(const BIGNUM *bn, BN_ULONG w) { in BN_abs_is_word()
152 int BN_is_zero(const BIGNUM *bn) { in BN_is_zero()
156 int BN_is_one(const BIGNUM *bn) { in BN_is_one()
160 int BN_is_word(const BIGNUM *bn, BN_ULONG w) { in BN_is_word()
164 int BN_is_odd(const BIGNUM *bn) { in BN_is_odd()
168 int BN_is_pow2(const BIGNUM *bn) { in BN_is_pow2()
Dbytes.c69 BIGNUM *bn = NULL; in BN_bin2bn() local
112 BIGNUM *bn = NULL; in BN_le2bn() local
203 BN_ULONG BN_get_word(const BIGNUM *bn) { in BN_get_word()
214 int BN_get_u64(const BIGNUM *bn, uint64_t *out) { in BN_get_u64()
Dbn_test.cc1100 bssl::UniquePtr<BIGNUM> bn; in TEST_F() local
1128 bssl::UniquePtr<BIGNUM> bn; in TEST_F() local
1164 bssl::UniquePtr<BIGNUM> bn = ASCIIToBIGNUM("0"); in TEST_F() local
1225 bssl::UniquePtr<BIGNUM> bn(ASCIIToBIGNUM(test.base10)); in TEST_F() local
1242 bssl::UniquePtr<BIGNUM> bn(BN_new()); in TEST_F() local
1311 bssl::UniquePtr<BIGNUM> bn(BN_new()), six(BN_new()); in TEST_F() local
1381 bssl::UniquePtr<BIGNUM> bn = ASCIIToBIGNUM(test.value_ascii); in TEST_F() local
1406 bssl::UniquePtr<BIGNUM> bn(BN_new()); in TEST_F() local
1416 bssl::UniquePtr<BIGNUM> bn = ASCIIToBIGNUM("-1"); in TEST_F() local
1656 bssl::UniquePtr<BIGNUM> bn; in TEST_F() local
[all …]
Ddiv_extra.c62 uint16_t bn_mod_u16_consttime(const BIGNUM *bn, uint16_t d) { in bn_mod_u16_consttime()
/external/epid-sdk/epid/common/math/unittests/
Dbignum-test.cc151 BigNum* bn = nullptr; in TEST_F() local
161 BigNum* bn = nullptr; in TEST_F() local
167 BigNum* bn = nullptr; in TEST_F() local
174 BigNum* bn = nullptr; in TEST_F() local
183 BigNum* bn = nullptr; in TEST_F() local
192 BigNumObj bn(32); in TEST_F() local
202 BigNum* bn = nullptr; in TEST_F() local
210 BigNum* bn = nullptr; in TEST_F() local
220 BigNumObj bn(this->vec_33byte_low); in TEST_F() local
226 BigNumObj bn; in TEST_F() local
[all …]
/external/epid-sdk/epid/common-testhelper/unittests/
Dbignum_wrapper-test.cc50 BigNumObj bn; in TEST_F() local
121 BigNumObj const bn; in TEST_F() local
127 BigNumObj const bn; in TEST_F() local
151 BigNumObj bn; in TEST_F() local
157 BigNumObj bn; in TEST_F() local
163 BigNumObj bn; in TEST_F() local
169 BigNumObj bn; in TEST_F() local
/external/epid-sdk/epid/common-testhelper/
Doctstr-testhelper.cc31 void delete_BigNum(IppsBigNumState** bn) { in delete_BigNum()
37 EpidStatus create_BigNum(IppsBigNumState** bn, const OctStr256* str) { in create_BigNum()
/external/boringssl/src/crypto/asn1/
Da_enum.c150 ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(BIGNUM *bn, ASN1_ENUMERATED *ai) in BN_to_ASN1_ENUMERATED()
186 BIGNUM *ASN1_ENUMERATED_to_BN(ASN1_ENUMERATED *ai, BIGNUM *bn) in ASN1_ENUMERATED_to_BN()
Da_int.c371 ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai) in BN_to_ASN1_INTEGER()
411 BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn) in ASN1_INTEGER_to_BN()
/external/ipsec-tools/src/racoon/
Dprsa_tok.l64 BIGNUM *bn = BN_new(); variable
Dprsa_par.y131 BIGNUM *bn; member
/external/boringssl/src/crypto/bn_extra/
Dbn_asn1.c45 int BN_marshal_asn1(CBB *cbb, const BIGNUM *bn) { in BN_marshal_asn1()
Dconvert.c79 char *BN_bn2hex(const BIGNUM *bn) { in BN_bn2hex()
115 static int decode_hex(BIGNUM *bn, const char *in, int in_len) { in decode_hex()
162 static int decode_dec(BIGNUM *bn, const char *in, int in_len) { in decode_dec()
/external/boringssl/src/crypto/dh/
Ddh_test.cc321 static bool BIGNUMEqualsHex(const BIGNUM *bn, const char *hex) { in BIGNUMEqualsHex()
412 bssl::UniquePtr<BIGNUM> bn(BN_get_rfc3526_prime_1536(nullptr)); in TestRFC3526() local
Ddh_asn1.c77 static int marshal_integer(CBB *cbb, BIGNUM *bn) { in marshal_integer()
/external/epid-sdk/epid/common/math/src/
Dbignum.c29 BigNum* bn = NULL; in NewBigNum() local
95 EpidStatus ReadBigNum(ConstOctStr bn_str, size_t strlen, BigNum* bn) { in ReadBigNum()
142 EpidStatus WriteBigNum(BigNum const* bn, size_t strlen, OctStr bn_str) { in WriteBigNum()
/external/openssh/regress/unittests/bitmap/
Dtests.c31 BIGNUM *bn; in tests() local
/external/openssh/regress/unittests/sshbuf/
Dtest_sshbuf_getput_fuzz.c35 BIGNUM *bn; in attempt_parse_blob() local
Dtest_sshbuf_getput_crypto.c35 BIGNUM *bn, *bn2; in sshbuf_getput_crypto_tests() local
/external/boringssl/src/crypto/test/
Dwycheproof_util.cc102 BIGNUM *bn = nullptr; in GetWycheproofBIGNUM() local
/external/testng/src/main/java/org/testng/
DConverter.java68 String bn = fileName.substring(0, ind); in run() local
/external/libchrome/crypto/
Drsa_private_key.cc27 bssl::UniquePtr<BIGNUM> bn(BN_new()); in Create() local
/external/clang/test/OpenMP/
Dtarget_firstprivate_codegen.cpp52 float bn[n]; in foo() local
Dnvptx_target_codegen.cpp23 float bn[n]; in foo() local

1234