/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)) {
|
/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);
|
ocsp.c | 77 #include <openssl/bn.h> 1161 BIGNUM *bn = NULL; local 1164 bn = ASN1_INTEGER_to_BN(ser,NULL); 1165 OPENSSL_assert(bn); /* FIXME: should report an error at this point and abort */ 1166 if (BN_is_zero(bn)) 1169 itmp = BN_bn2hex(bn); 1171 BN_free(bn); [all...] |
s_client.c | 165 #include <openssl/bn.h> 226 BIGNUM *bn=NULL; local 245 ret=BN_hex2bn(&bn, psk_key); 249 if (bn) 250 BN_free(bn); 254 if ((unsigned int)BN_num_bytes(bn) > max_psk_len) 257 max_psk_len, BN_num_bytes(bn)); 258 BN_free(bn); 262 psk_len=BN_bn2bin(bn, psk); 263 BN_free(bn); [all...] |
ca.c | 69 #include <openssl/bn.h> 2391 BIGNUM *bn = NULL; local [all...] |
s_server.c | 174 #include <openssl/bn.h> 314 BIGNUM *bn = NULL; local 339 ret = BN_hex2bn(&bn, psk_key); 343 if (bn) 344 BN_free(bn); 347 if (BN_num_bytes(bn) > (int)max_psk_len) 350 max_psk_len, BN_num_bytes(bn)); 351 BN_free(bn); 355 ret = BN_bn2bin(bn, psk); 356 BN_free(bn); 2641 BIGNUM *bn = NULL; local [all...] |
/external/ipsec-tools/src/racoon/ |
prsa_par.h | 95 BIGNUM *bn; member in union:YYSTYPE
|
crypto_openssl.c | 56 #include <openssl/bn.h> 238 BIGNUM *bn = BN_new(); local 246 if (BN_hex2bn(&bn, hex) != len) { 253 binlen = BN_num_bytes(bn); 261 BN_bn2bin(bn, (unsigned char *) binbuf); 264 BN_free(bn); [all...] |
/external/openssl/crypto/bn/ |
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...] |
bn_lib.c | 1 /* crypto/bn/bn_lib.c */ 151 BIO_snprintf(data,sizeof data,"bn(%d,%d)", 154 BIO_snprintf(data,sizeof data,"bn(%d,%d)", 602 BIGNUM *bn = NULL; local 605 ret = bn = BN_new(); 619 if (bn) BN_free(bn);
|
/external/openssl/crypto/rsa/ |
rsa_lib.c | 63 #include <openssl/bn.h> 444 BIGNUM *bn,**t[6],*b; local 464 bn=(BIGNUM *)p; 469 *(t[i])= &(bn[i]); 470 memcpy((char *)&(bn[i]),(char *)b,sizeof(BIGNUM)); 471 bn[i].flags=BN_FLG_STATIC_DATA; 472 bn[i].d=ul;
|
/external/chromium/third_party/icu/source/common/ |
locmap.c | 148 static const ILcidPosixElement bn[] = { variable 149 {0x45, "bn"}, 586 ILCID_POSIX_MAP(bn), /* bn Bengali; Bangla 0x45 */
|
/external/openssl/crypto/x509v3/ |
v3_utl.c | 66 #include <openssl/bn.h> 161 BIGNUM *bn = NULL; local 169 bn = BN_new(); 180 if (ishex) ret = BN_hex2bn(&bn, value); 181 else ret = BN_dec2bn(&bn, value); 184 BN_free(bn); 189 if (isneg && BN_is_zero(bn)) isneg = 0; 191 aint = BN_to_ASN1_INTEGER(bn, NULL); 192 BN_free(bn);
|
/external/webkit/WebCore/editing/ |
visible_units.cpp | 1023 Node *bn = bp.node(); local [all...] |
/external/openssl/ssl/ |
ssltest.c | 184 #include <openssl/bn.h> 2254 BIGNUM *bn = NULL; local 2394 BIGNUM *bn = NULL; local [all...] |
/libcore/luni/src/main/native/ |
NativeCrypto.cpp | 394 BIGNUM* bn = BN_bin2bn(reinterpret_cast<const unsigned char*>(sourceBytes.get()), local 397 JNI_TRACE("arrayToBignum(%p) => %p", source, bn); 398 return bn; [all...] |
/external/genext2fs/ |
genext2fs.c | 2173 int bn = 0; local [all...] |
/external/chromium/third_party/icu/source/test/intltest/ |
rbbitst.cpp | 4967 int bn; local [all...] |
/external/icu4c/test/intltest/ |
rbbitst.cpp | 4656 int bn; local [all...] |
/external/sqlite/dist/ |
sqlite3.c | 52844 } bn; member in union:vdbeExecUnion [all...] |