/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> 404 ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai) 418 if (BN_is_negative(bn)) 421 j=BN_num_bits(bn); 433 ret->length=BN_bn2bin(bn,ret->data); 446 BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn) 450 if ((ret=BN_bin2bn(ai->data,ai->length,bn)) == NULL)
|
/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 | 98 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/lohit-fonts/lohit-bengali-ttf/ |
66-lohit-bengali.conf | 6 <string>bn</string>
|
/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_const.c \ 137 bn/bn_ctx.c \ 138 bn/bn_div.c \ 139 bn/bn_err.c \ 140 bn/bn_exp.c \ 141 bn/bn_exp2.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_const.c \ 137 bn/bn_ctx.c \ 138 bn/bn_div.c \ 139 bn/bn_err.c \ 140 bn/bn_exp.c \ 141 bn/bn_exp2.c [all...] |
/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/openssl/crypto/rsa/ |
rsa_none.c | 61 #include <openssl/bn.h>
|
rsa_depr.c | 62 #include <openssl/bn.h>
|
/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 | 70 #include <openssl/bn.h> 307 BIGNUM *bn = NULL; 345 if ((bn == NULL && (bn = BN_new()) == NULL) || 346 ASN1_INTEGER_to_BN(a_max, bn) == NULL || 347 !BN_add_word(bn, 1) || 348 (a_max_plus_one = BN_to_ASN1_INTEGER(bn, a_max_plus_one)) == NULL) { 365 BN_free(bn); 385 BIGNUM *bn = NULL; 429 if ((bn == NULL && (bn = BN_new()) == NULL) | [all...] |