/external/openssl/crypto/bn/ |
D | bn_const.c | 14 BIGNUM *get_rfc2409_prime_768(BIGNUM *bn) in get_rfc2409_prime_768() argument 26 return BN_bin2bn(RFC2409_PRIME_768,sizeof(RFC2409_PRIME_768),bn); in get_rfc2409_prime_768() 37 BIGNUM *get_rfc2409_prime_1024(BIGNUM *bn) in get_rfc2409_prime_1024() argument 52 return BN_bin2bn(RFC2409_PRIME_1024,sizeof(RFC2409_PRIME_1024),bn); in get_rfc2409_prime_1024() 63 BIGNUM *get_rfc3526_prime_1536(BIGNUM *bn) in get_rfc3526_prime_1536() argument 83 return BN_bin2bn(RFC3526_PRIME_1536,sizeof(RFC3526_PRIME_1536),bn); in get_rfc3526_prime_1536() 93 BIGNUM *get_rfc3526_prime_2048(BIGNUM *bn) in get_rfc3526_prime_2048() argument 119 return BN_bin2bn(RFC3526_PRIME_2048,sizeof(RFC3526_PRIME_2048),bn); in get_rfc3526_prime_2048() 129 BIGNUM *get_rfc3526_prime_3072(BIGNUM *bn) in get_rfc3526_prime_3072() argument 165 return BN_bin2bn(RFC3526_PRIME_3072,sizeof(RFC3526_PRIME_3072),bn); in get_rfc3526_prime_3072() [all …]
|
D | bn_print.c | 172 int BN_hex2bn(BIGNUM **bn, const char *a) in BN_hex2bn() argument 187 if (bn == NULL) return(num); in BN_hex2bn() 190 if (*bn == NULL) in BN_hex2bn() 196 ret= *bn; in BN_hex2bn() 231 *bn=ret; in BN_hex2bn() 235 if (*bn == NULL) BN_free(ret); in BN_hex2bn() 239 int BN_dec2bn(BIGNUM **bn, const char *a) in BN_dec2bn() argument 253 if (bn == NULL) return(num); in BN_dec2bn() 257 if (*bn == NULL) in BN_dec2bn() 263 ret= *bn; in BN_dec2bn() [all …]
|
D | bn_ctx.c | 371 BIGNUM *bn = p->head->vals; in BN_POOL_finish() local 374 if(bn->d) BN_clear_free(bn); in BN_POOL_finish() 375 bn++; in BN_POOL_finish() 390 BIGNUM *bn = item->vals; in BN_POOL_reset() local 393 if(bn->d) BN_clear(bn); in BN_POOL_reset() 394 bn++; in BN_POOL_reset() 407 BIGNUM *bn; in BN_POOL_get() local 412 bn = item->vals; in BN_POOL_get() 414 BN_init(bn++); in BN_POOL_get()
|
D | bn.h | 773 BIGNUM *get_rfc2409_prime_768(BIGNUM *bn); 774 BIGNUM *get_rfc2409_prime_1024(BIGNUM *bn); 777 BIGNUM *get_rfc3526_prime_1536(BIGNUM *bn); 778 BIGNUM *get_rfc3526_prime_2048(BIGNUM *bn); 779 BIGNUM *get_rfc3526_prime_3072(BIGNUM *bn); 780 BIGNUM *get_rfc3526_prime_4096(BIGNUM *bn); 781 BIGNUM *get_rfc3526_prime_6144(BIGNUM *bn); 782 BIGNUM *get_rfc3526_prime_8192(BIGNUM *bn);
|
/external/openssl/apps/ |
D | prime.c | 68 BIGNUM *bn=NULL; in MAIN() local 132 bn=BN_new(); in MAIN() 133 BN_generate_prime_ex(bn,bits,safe,NULL,NULL,NULL); in MAIN() 134 s=hex ? BN_bn2hex(bn) : BN_bn2dec(bn); in MAIN() 141 BN_hex2bn(&bn,argv[0]); in MAIN() 143 BN_dec2bn(&bn,argv[0]); in MAIN() 145 BN_print(bio_out,bn); in MAIN() 147 BN_is_prime_ex(bn,checks,NULL,NULL) ? "" : "not "); in MAIN() 150 BN_free(bn); in MAIN()
|
D | genrsa.c | 107 BIGNUM *bn = BN_new(); in MAIN() local 110 if(!bn) goto err; in MAIN() 276 if(!BN_set_word(bn, f4) || !RSA_generate_key_ex(rsa, num, bn, &cb)) in MAIN() 304 if (bn) BN_free(bn); in MAIN()
|
D | s_server.c | 314 BIGNUM *bn = NULL; in psk_server_cb() local 339 ret = BN_hex2bn(&bn, psk_key); in psk_server_cb() 343 if (bn) in psk_server_cb() 344 BN_free(bn); in psk_server_cb() 347 if (BN_num_bytes(bn) > (int)max_psk_len) in psk_server_cb() 350 max_psk_len, BN_num_bytes(bn)); in psk_server_cb() 351 BN_free(bn); in psk_server_cb() 355 ret = BN_bn2bin(bn, psk); in psk_server_cb() 356 BN_free(bn); in psk_server_cb() 2641 BIGNUM *bn = NULL; in tmp_rsa_cb() local [all …]
|
/external/openssl/crypto/asn1/ |
D | x_bignum.c | 112 BIGNUM *bn; in bn_i2c() local 115 bn = (BIGNUM *)*pval; in bn_i2c() 117 if(BN_num_bits(bn) & 0x7) pad = 0; in bn_i2c() 121 BN_bn2bin(bn, cont); in bn_i2c() 123 return pad + BN_num_bytes(bn); in bn_i2c() 129 BIGNUM *bn; in bn_c2i() local 131 bn = (BIGNUM *)*pval; in bn_c2i() 132 if(!BN_bin2bn(cont, len, bn)) { in bn_c2i()
|
D | a_enum.c | 138 ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(BIGNUM *bn, ASN1_ENUMERATED *ai) in BN_to_ASN1_ENUMERATED() argument 152 if(BN_is_negative(bn)) ret->type = V_ASN1_NEG_ENUMERATED; in BN_to_ASN1_ENUMERATED() 154 j=BN_num_bits(bn); in BN_to_ASN1_ENUMERATED() 167 ret->length=BN_bn2bin(bn,ret->data); in BN_to_ASN1_ENUMERATED() 174 BIGNUM *ASN1_ENUMERATED_to_BN(ASN1_ENUMERATED *ai, BIGNUM *bn) in ASN1_ENUMERATED_to_BN() argument 178 if ((ret=BN_bin2bn(ai->data,ai->length,bn)) == NULL) in ASN1_ENUMERATED_to_BN()
|
D | a_int.c | 405 ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai) in BN_to_ASN1_INTEGER() argument 419 if (BN_is_negative(bn)) in BN_to_ASN1_INTEGER() 422 j=BN_num_bits(bn); in BN_to_ASN1_INTEGER() 434 ret->length=BN_bn2bin(bn,ret->data); in BN_to_ASN1_INTEGER() 447 BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn) in ASN1_INTEGER_to_BN() argument 451 if ((ret=BN_bin2bn(ai->data,ai->length,bn)) == NULL) in ASN1_INTEGER_to_BN()
|
/external/dropbear/libtommath/ |
D | Makefile.in | 154 mandvi: bn.tex 155 echo "hello" > bn.ind 156 latex bn > /dev/null 157 latex bn > /dev/null 158 makeindex bn 159 latex bn > /dev/null 163 pdflatex bn >/dev/null 164 rm -f bn.aux bn.dvi bn.log bn.idx bn.lof bn.out bn.toc
|
/external/openssl/crypto/ |
D | 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/ |
D | 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/ipsec-tools/src/racoon/ |
D | prsa_tok.l | 64 BIGNUM *bn = BN_new(); variable 65 BN_hex2bn(&bn, prsatext+2); 66 prsalval.bn = bn;
|
/external/openssl/crypto/x509v3/ |
D | v3_asid.c | 308 BIGNUM *bn = NULL; in ASIdentifierChoice_is_canonical() local 346 if ((bn == NULL && (bn = BN_new()) == NULL) || in ASIdentifierChoice_is_canonical() 347 ASN1_INTEGER_to_BN(a_max, bn) == NULL || in ASIdentifierChoice_is_canonical() 348 !BN_add_word(bn, 1) || in ASIdentifierChoice_is_canonical() 349 (a_max_plus_one = BN_to_ASN1_INTEGER(bn, a_max_plus_one)) == NULL) { in ASIdentifierChoice_is_canonical() 366 BN_free(bn); in ASIdentifierChoice_is_canonical() 386 BIGNUM *bn = NULL; in ASIdentifierChoice_canonize() local 430 if ((bn == NULL && (bn = BN_new()) == NULL) || in ASIdentifierChoice_canonize() 431 ASN1_INTEGER_to_BN(a_max, bn) == NULL || in ASIdentifierChoice_canonize() 432 !BN_add_word(bn, 1) || in ASIdentifierChoice_canonize() [all …]
|
D | v3_utl.c | 161 BIGNUM *bn = NULL; in s2i_ASN1_INTEGER() local 169 bn = BN_new(); in s2i_ASN1_INTEGER() 180 if (ishex) ret = BN_hex2bn(&bn, value); in s2i_ASN1_INTEGER() 181 else ret = BN_dec2bn(&bn, value); in s2i_ASN1_INTEGER() 184 BN_free(bn); in s2i_ASN1_INTEGER() 189 if (isneg && BN_is_zero(bn)) isneg = 0; in s2i_ASN1_INTEGER() 191 aint = BN_to_ASN1_INTEGER(bn, NULL); in s2i_ASN1_INTEGER() 192 BN_free(bn); in s2i_ASN1_INTEGER()
|
/external/chromium/third_party/icu/source/data/coll/ |
D | bn.txt | 6 // * Source File:<path>/common/collation/bn.xml 10 * ICU <specials> source: <path>/xml/collation/bn.xml 12 bn{
|
/external/icu4c/data/coll/ |
D | bn.txt | 6 // * Source File:<path>/common/collation/bn.xml 10 * ICU <specials> source: <path>/xml/collation/bn.xml 12 bn{
|
/external/openssl/crypto/ec/ |
D | ec_print.c | 90 const BIGNUM *bn, in EC_POINT_bn2point() argument 98 if ((buf_len = BN_num_bytes(bn)) == 0) return NULL; in EC_POINT_bn2point() 103 if (!BN_bn2bin(bn, buf)) in EC_POINT_bn2point()
|
/external/openssl/crypto/rsa/ |
D | rsa_lib.c | 444 BIGNUM *bn,**t[6],*b; in RSA_memory_lock() local 464 bn=(BIGNUM *)p; in RSA_memory_lock() 469 *(t[i])= &(bn[i]); in RSA_memory_lock() 470 memcpy((char *)&(bn[i]),(char *)b,sizeof(BIGNUM)); in RSA_memory_lock() 471 bn[i].flags=BN_FLG_STATIC_DATA; in RSA_memory_lock() 472 bn[i].d=ul; in RSA_memory_lock()
|
/external/openssl/ssl/ |
D | ssltest.c | 2254 BIGNUM *bn = NULL; in tmp_rsa_cb() local 2257 bn = BN_new(); in tmp_rsa_cb() 2259 if(!bn || !rsa_tmp || !BN_set_word(bn, RSA_F4)) in tmp_rsa_cb() 2266 if(!RSA_generate_key_ex(rsa_tmp,keylength,bn,NULL)) in tmp_rsa_cb() 2276 if(bn) BN_free(bn); in tmp_rsa_cb() 2394 BIGNUM *bn = NULL; in psk_key2bn() local 2396 ret = BN_hex2bn(&bn, pskkey); in psk_key2bn() 2400 if (bn) in psk_key2bn() 2401 BN_free(bn); in psk_key2bn() 2404 if (BN_num_bytes(bn) > (int)max_psk_len) in psk_key2bn() [all …]
|
/external/icu4c/data/region/ |
D | bn.txt | 6 // * Source File:<path>/common/main/bn.xml 10 * ICU <specials> source: <path>/xml/main/bn.xml 12 bn{
|
/external/openssl/crypto/jpake/ |
D | jpake.c | 150 static void hashbn(SHA_CTX *sha, const BIGNUM *bn) in hashbn() argument 152 size_t l = BN_num_bytes(bn); in hashbn() 156 BN_bn2bin(bn, bin); in hashbn() 415 static void quickhashbn(unsigned char *md, const BIGNUM *bn) in quickhashbn() argument 420 hashbn(&sha, bn); in quickhashbn()
|
/external/openssl/include/openssl/ |
D | bn.h | 773 BIGNUM *get_rfc2409_prime_768(BIGNUM *bn); 774 BIGNUM *get_rfc2409_prime_1024(BIGNUM *bn); 777 BIGNUM *get_rfc3526_prime_1536(BIGNUM *bn); 778 BIGNUM *get_rfc3526_prime_2048(BIGNUM *bn); 779 BIGNUM *get_rfc3526_prime_3072(BIGNUM *bn); 780 BIGNUM *get_rfc3526_prime_4096(BIGNUM *bn); 781 BIGNUM *get_rfc3526_prime_6144(BIGNUM *bn); 782 BIGNUM *get_rfc3526_prime_8192(BIGNUM *bn);
|
/external/icu4c/data/lang/ |
D | bn.txt | 6 // * Source File:<path>/common/main/bn.xml 10 * ICU <specials> source: <path>/xml/main/bn.xml 12 bn{ 73 bn{"বাংলা"}
|