OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:bn_num_bits
(Results
1 - 25
of
48
) sorted by null
1
2
/external/vboot_reference/host/lib/
util_misc.c
49
nwords =
BN_num_bits
(rsa_private_key->n) / 32;
94
BN_set_word(NnumBits,
BN_num_bits
(N));
/external/vboot_reference/utility/
dumpRSAPublicKey.c
24
int modulus =
BN_num_bits
(key->n);
53
nwords =
BN_num_bits
(N) / 32;
88
BN_set_word(NnumBits,
BN_num_bits
(N));
/external/boringssl/src/crypto/bn/
convert.c
382
* num <= (
BN_num_bits
(a) + 1) * log(2)
383
* <= 3 *
BN_num_bits
(a) * 0.1001 + log(2) + 1 (rounding error)
384
* <=
BN_num_bits
(a)/10 +
BN_num_bits
/1000 + 1 + 1
386
i =
BN_num_bits
(a) * 3;
528
const size_t bits =
BN_num_bits
(in);
600
BN_clear_bit(out,
BN_num_bits
(out) - 1);
exponentiation.c
164
bits =
BN_num_bits
(p);
229
recp->num_bits =
BN_num_bits
(d);
301
/* i := max(
BN_num_bits
(m), 2*
BN_num_bits
(N)) */
302
i =
BN_num_bits
(m);
319
/* d := |round(round(m / 2^
BN_num_bits
(N)) * recp->Nr / 2^(i -
320
*
BN_num_bits
(N)))|
321
* = |round(round(m / 2^
BN_num_bits
(N)) * round(2^i / N) / 2^(i -
322
*
BN_num_bits
(N)))|
323
* <= |(m / 2^
BN_num_bits
(N)) * (2^i / N) * (2^BN_num_bits(N) / 2^i)
[
all
...]
bn_asn1.c
76
if (
BN_num_bits
(bn) % 8 == 0 &&
div.c
168
norm_shift = BN_BITS2 - ((
BN_num_bits
(divisor)) % BN_BITS2);
510
max_shift =
BN_num_bits
(m) -
BN_num_bits
(r);
534
/*
BN_num_bits
(r) <=
BN_num_bits
(m) */
gcd.c
282
if (BN_is_odd(n) && (
BN_num_bits
(n) <= (BN_BITS2 <= 32 ? 450 : 2048))) {
384
if (
BN_num_bits
(A) ==
BN_num_bits
(B)) {
391
} else if (
BN_num_bits
(A) ==
BN_num_bits
(B) + 1) {
bn.c
231
unsigned
BN_num_bits
(const BIGNUM *bn) {
242
return (
BN_num_bits
(bn) + 7) / 8;
random.c
193
n =
BN_num_bits
(range); /* n > 0 */
257
const unsigned bits_to_mask = (8 - (
BN_num_bits
(range) % 8)) % 8;
sqrt.c
241
if (!BN_pseudo_rand(y,
BN_num_bits
(p), 0, 0)) {
460
BN_lshift(estimate, BN_value_one(),
BN_num_bits
(in)/2);
/external/boringssl/src/crypto/dh/
dh.c
243
if (
BN_num_bits
(dh->p) > OPENSSL_DH_MAX_MODULUS_BITS) {
288
l = dh->priv_length ? dh->priv_length :
BN_num_bits
(dh->p) - 1;
327
if (
BN_num_bits
(dh->p) > OPENSSL_DH_MAX_MODULUS_BITS) {
378
unsigned DH_num_bits(const DH *dh) { return
BN_num_bits
(dh->p); }
/external/tpm2/
CpriMisc.c
33
size = size - (((UINT16)
BN_num_bits
(inVal) + 7) / 8);
CpriRSA.c
70
if(
BN_num_bits
(bnP) <
BN_num_bits
(bnN)/2)
79
if(BN_num_bytes(bnQr) != 0 ||
BN_num_bits
(bnQ) !=
BN_num_bits
(bnP))
181
if(
BN_num_bits
(bnQ) !=
BN_num_bits
(bnP))
191
if(
BN_num_bits
(bnN) != (publicKey->size * 8))
206
if(BN_num_bytes(bnQr) != 0 ||
BN_num_bits
(bnQ) !=
BN_num_bits
(bnP))
[
all
...]
/system/keymaster/
openssl_utils.cpp
139
return
BN_num_bits
(order.get());
/external/boringssl/src/crypto/dsa/
dsa.c
514
*
BN_num_bits
(dsa->q) leftmost bits of the digest, see
593
i =
BN_num_bits
(dsa->q);
600
if (
BN_num_bits
(dsa->p) > OPENSSL_DSA_MAX_MODULUS_BITS) {
634
*
BN_num_bits
(dsa->q) leftmost bits of the digest, see
751
i =
BN_num_bits
(dsa->q);
820
if (
BN_num_bits
(&kq) <=
BN_num_bits
(dsa->q) && !BN_add(&kq, &kq, dsa->q)) {
891
ret->priv_length =
BN_num_bits
(r->q);
/external/boringssl/src/crypto/ec/
wnaf.c
131
len =
BN_num_bits
(scalar);
136
*
BN_num_bits
(scalar) + 1) */
296
bits = i < num ?
BN_num_bits
(scalars[i]) :
BN_num_bits
(g_scalar);
p256-x86_64.c
256
if (
BN_num_bits
(p_scalar) > 256 || BN_is_negative(p_scalar)) {
414
if (
BN_num_bits
(g_scalar) > 256 || BN_is_negative(g_scalar)) {
/external/tlsdate/src/
tlsdate-helper-plan9.c
270
key_bits =
BN_num_bits
(public_key->pkey.rsa->n);
274
key_bits =
BN_num_bits
(public_key->pkey.rsa->n);
278
key_bits =
BN_num_bits
(public_key->pkey.dsa->p);
282
key_bits =
BN_num_bits
(public_key->pkey.dsa->p);
286
key_bits =
BN_num_bits
(public_key->pkey.dsa->p);
290
key_bits =
BN_num_bits
(public_key->pkey.dsa->p);
294
key_bits =
BN_num_bits
(public_key->pkey.dsa->p);
298
key_bits =
BN_num_bits
(public_key->pkey.dh->pub_key);
[
all
...]
/external/boringssl/src/crypto/rsa/
rsa_impl.c
104
if (
BN_num_bits
(rsa->n) > OPENSSL_RSA_SMALL_MODULUS_BITS &&
105
BN_num_bits
(rsa->e) > OPENSSL_RSA_MAX_PUBEXP_BITS) {
420
if (
BN_num_bits
(rsa->n) > OPENSSL_RSA_MAX_MODULUS_BITS) {
436
if (
BN_num_bits
(rsa->n) > OPENSSL_RSA_SMALL_MODULUS_BITS &&
437
BN_num_bits
(rsa->e) > OPENSSL_RSA_MAX_PUBEXP_BITS) {
949
prime_bits = ((bits -
BN_num_bits
(rsa->n)) + (num_primes - (i + 1))) /
990
if (
BN_num_bits
(r1) == (unsigned) bits) {
/external/boringssl/src/crypto/ecdsa/
ecdsa.c
116
num_bits =
BN_num_bits
(order);
297
if (
BN_num_bits
(k) <=
BN_num_bits
(order)) {
/external/curl/lib/
setup-vms.h
202
#define
BN_num_bits
BN_NUM_BITS
/external/boringssl/src/crypto/asn1/
a_enum.c
155
j=
BN_num_bits
(bn);
x_bignum.c
117
if(
BN_num_bits
(bn) & 0x7) pad = 0;
/external/boringssl/src/crypto/evp/
p_dsa_asn1.c
303
return
BN_num_bits
(pkey->pkey.dsa->p);
401
BIO_printf(bp, "%s: (%d bit)\n", ktype,
BN_num_bits
(x->p)) <= 0) {
p_ec_asn1.c
345
return
BN_num_bits
(EC_GROUP_get0_order(group));
450
if (BIO_printf(bp, "%s: (%d bit)\n", ecstr,
BN_num_bits
(order)) <= 0) {
Completed in 378 milliseconds
1
2