HomeSort by relevance Sort by last modified time
    Searched refs:bn (Results 1 - 25 of 177) sorted by null

1 2 3 4 5 6 7 8

  /external/openssl/apps/
prime.c 53 #include <openssl/bn.h>
68 BIGNUM *bn=NULL; local
132 bn=BN_new();
133 BN_generate_prime_ex(bn,bits,safe,NULL,NULL,NULL);
134 s=hex ? BN_bn2hex(bn) : BN_bn2dec(bn);
141 BN_hex2bn(&bn,argv[0]);
143 BN_dec2bn(&bn,argv[0]);
145 BN_print(bio_out,bn);
147 BN_is_prime_ex(bn,checks,NULL,NULL) ? "" : "not ")
    [all...]
genrsa.c 74 #include <openssl/bn.h>
107 BIGNUM *bn = BN_new(); local
110 if(!bn) goto err;
276 if(!BN_set_word(bn, f4) || !RSA_generate_key_ex(rsa, num, bn, &cb))
304 if (bn) BN_free(bn);
  /external/openssl/crypto/asn1/
x_bignum.c 62 #include <openssl/bn.h>
112 BIGNUM *bn; local
115 bn = (BIGNUM *)*pval;
117 if(BN_num_bits(bn) & 0x7) pad = 0;
121 BN_bn2bin(bn, cont);
123 return pad + BN_num_bytes(bn);
129 BIGNUM *bn; local
131 bn = (BIGNUM *)*pval;
132 if(!BN_bin2bn(cont, len, bn)) {
a_enum.c 62 #include <openssl/bn.h>
138 ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(BIGNUM *bn, ASN1_ENUMERATED *ai)
152 if(BN_is_negative(bn)) ret->type = V_ASN1_NEG_ENUMERATED;
154 j=BN_num_bits(bn);
167 ret->length=BN_bn2bin(bn,ret->data);
174 BIGNUM *ASN1_ENUMERATED_to_BN(ASN1_ENUMERATED *ai, BIGNUM *bn)
178 if ((ret=BN_bin2bn(ai->data,ai->length,bn)) == NULL)
i2d_pu.c 61 #include <openssl/bn.h>
t_pkey.c 63 #include <openssl/bn.h>
a_int.c 62 #include <openssl/bn.h>
405 ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai)
419 if (BN_is_negative(bn))
422 j=BN_num_bits(bn);
434 ret->length=BN_bn2bin(bn,ret->data);
447 BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn)
451 if ((ret=BN_bin2bn(ai->data,ai->length,bn)) == NULL)
d2i_pu.c 61 #include <openssl/bn.h>
  /external/ipsec-tools/src/racoon/
prsa_tok.l 39 #include <openssl/bn.h>
64 BIGNUM *bn = BN_new();
65 BN_hex2bn(&bn, prsatext+2);
66 prsalval.bn = bn;
prsa_par.h 95 BIGNUM *bn; member in union:YYSTYPE
  /external/openssl/crypto/bn/
bn_print.c 1 /* crypto/bn/bn_print.c */
172 int BN_hex2bn(BIGNUM **bn, const char *a)
187 if (bn == NULL) return(num);
190 if (*bn == NULL)
196 ret= *bn;
231 *bn=ret;
235 if (*bn == NULL) BN_free(ret);
239 int BN_dec2bn(BIGNUM **bn, const char *a)
253 if (bn == NULL) return(num);
257 if (*bn == NULL
    [all...]
bn_ctx.c 1 /* crypto/bn/bn_ctx.c */
371 BIGNUM *bn = p->head->vals; local
374 if(bn->d) BN_clear_free(bn);
375 bn++;
390 BIGNUM *bn = item->vals; local
393 if(bn->d) BN_clear(bn);
394 bn++;
407 BIGNUM *bn; local
    [all...]
  /external/openssl/crypto/dh/
dh_depr.c 61 #include <openssl/bn.h>
dh_asn1.c 61 #include <openssl/bn.h>
p192.c 60 #include <openssl/bn.h>
  /external/openssl/crypto/
Android.mk 6 bn/asm/armv4-mont.s \
133 bn/bn_add.c \
134 bn/bn_asm.c \
135 bn/bn_blind.c \
136 bn/bn_ctx.c \
137 bn/bn_div.c \
138 bn/bn_err.c \
139 bn/bn_exp.c \
140 bn/bn_exp2.c \
141 bn/bn_gcd.c
    [all...]
  /external/openssl/patches/
crypto_Android.mk 6 bn/asm/armv4-mont.s \
133 bn/bn_add.c \
134 bn/bn_asm.c \
135 bn/bn_blind.c \
136 bn/bn_ctx.c \
137 bn/bn_div.c \
138 bn/bn_err.c \
139 bn/bn_exp.c \
140 bn/bn_exp2.c \
141 bn/bn_gcd.c
    [all...]
  /external/openssl/crypto/rsa/
rsa_none.c 61 #include <openssl/bn.h>
rsa_depr.c 62 #include <openssl/bn.h>
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/gscripts/
android.widget.LinearLayout.groovy 35 def bn = targetNode.getBounds();
36 if (!bn.isValid()) {
47 int last = isVertical ? bn.y : bn.x;
61 int v = isVertical ? (bn.y + bn.h) : (bn.x + bn.w);
  /external/openssl/crypto/ec/
ec_print.c 90 const BIGNUM *bn,
98 if ((buf_len = BN_num_bytes(bn)) == 0) return NULL;
103 if (!BN_bn2bin(bn, buf))
  /external/openssl/crypto/dsa/
dsa_depr.c 80 #include <openssl/bn.h>
  /external/openssl/crypto/ecdh/
ecdh.h 81 #include <openssl/bn.h>
  /external/openssl/include/openssl/
ecdh.h 81 #include <openssl/bn.h>
  /external/openssl/crypto/x509v3/
v3_asid.c 71 #include <openssl/bn.h>
308 BIGNUM *bn = NULL;
346 if ((bn == NULL && (bn = BN_new()) == NULL) ||
347 ASN1_INTEGER_to_BN(a_max, bn) == NULL ||
348 !BN_add_word(bn, 1) ||
349 (a_max_plus_one = BN_to_ASN1_INTEGER(bn, a_max_plus_one)) == NULL) {
366 BN_free(bn);
386 BIGNUM *bn = NULL;
430 if ((bn == NULL && (bn = BN_new()) == NULL) |
    [all...]

Completed in 1156 milliseconds

1 2 3 4 5 6 7 8