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

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/openssl/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/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/chromium_org/third_party/openssl/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>
  /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>
  /external/openssh/
rsa.h 19 #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;
  /external/chromium_org/third_party/openssl/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/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/chromium_org/third_party/openssl/openssl/crypto/dh/
dh_depr.c 61 #include <openssl/bn.h>
  /external/openssl/crypto/dh/
dh_depr.c 61 #include <openssl/bn.h>
  /external/chromium/crypto/
rsa_private_key_openssl.cc 55 ScopedOpenSSL<BIGNUM, BN_free> bn(BN_new());
56 if (!rsa_key.get() || !bn.get() || !BN_set_word(bn.get(), 65537L))
59 if (!RSA_generate_key_ex(rsa_key.get(), num_bits, bn.get(), NULL))
  /external/chromium_org/crypto/
rsa_private_key_openssl.cc 54 ScopedOpenSSL<BIGNUM, BN_free> bn(BN_new());
55 if (!rsa_key.get() || !bn.get() || !BN_set_word(bn.get(), 65537L))
58 if (!RSA_generate_key_ex(rsa_key.get(), num_bits, bn.get(), NULL))
  /external/chromium_org/third_party/openssl/openssl/crypto/rsa/
rsa_none.c 61 #include <openssl/bn.h>
rsa_lib.c 63 #include <openssl/bn.h>
294 BIGNUM *bn,**t[6],*b; local
314 bn=(BIGNUM *)p;
319 *(t[i])= &(bn[i]);
320 memcpy((char *)&(bn[i]),(char *)b,sizeof(BIGNUM));
321 bn[i].flags=BN_FLG_STATIC_DATA;
322 bn[i].d=ul;
  /external/openssl/crypto/rsa/
rsa_none.c 61 #include <openssl/bn.h>
  /external/chromium_org/third_party/openssl/openssl/
Crypto-config.mk 142 crypto/bn/bn_add.c \
143 crypto/bn/bn_asm.c \
144 crypto/bn/bn_blind.c \
145 crypto/bn/bn_const.c \
146 crypto/bn/bn_ctx.c \
147 crypto/bn/bn_div.c \
148 crypto/bn/bn_err.c \
149 crypto/bn/bn_exp.c \
150 crypto/bn/bn_exp2.c \
151 crypto/bn/bn_gcd.c
    [all...]
  /external/openssl/
Crypto-config.mk 142 crypto/bn/bn_add.c \
143 crypto/bn/bn_asm.c \
144 crypto/bn/bn_blind.c \
145 crypto/bn/bn_const.c \
146 crypto/bn/bn_ctx.c \
147 crypto/bn/bn_div.c \
148 crypto/bn/bn_err.c \
149 crypto/bn/bn_exp.c \
150 crypto/bn/bn_exp2.c \
151 crypto/bn/bn_gcd.c
    [all...]

Completed in 2426 milliseconds

1 2 3 4 5 6 7 8 91011>>