/barrelfish-2018-10-04/lib/openssl-1.0.0d/apps/ |
H A D | 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,check [all...] |
H A D | 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);
|
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/asn1/ |
H A D | 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)) {
|
H A D | a_enum.c | 62 #include <openssl/bn.h> 138 ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(BIGNUM *bn, ASN1_ENUMERATED *ai) argument 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) argument 178 if ((ret=BN_bin2bn(ai->data,ai->length,bn)) == NULL)
|
H A D | i2d_pu.c | 61 #include <openssl/bn.h>
|
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/bn/ |
H A D | bn_print.c | 1 /* crypto/bn/bn_print.c */ 172 int BN_hex2bn(BIGNUM **bn, const char *a) argument 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) argument 253 if (bn == NULL) return(num); 257 if (*bn 297 BN_asc2bn(BIGNUM **bn, const char *a) argument [all...] |
H A D | 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...] |
H A D | Makefile | 2 # OpenSSL/crypto/bn/Makefile 5 DIR= bn 39 EXHEADER= bn.h 63 bn-586.s: asm/bn-586.pl ../perlasm/x86asm.pl 64 $(PERL) asm/bn-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@ 72 bn-sparcv9.o: asm/sparcv8plus.S 79 bn-mips3.o: asm/mips3.s 85 bn-s390x.o: asm/s390x.S 93 bn [all...] |
/barrelfish-2018-10-04/lib/openssl-1.0.0d/demos/tunala/ |
H A D | cb.c | 137 BIGNUM *bn = NULL; local 141 if(!(bn = BN_new())) 143 if(!BN_set_word(bn, RSA_F4)) 147 if(!RSA_generate_key_ex(rsa_tmp, keylength, bn, NULL)) 152 if(bn) 153 BN_free(bn);
|
/barrelfish-2018-10-04/lib/openssl-1.0.0d/util/ |
H A D | speed.sh | 21 /bin/rm -f crypto/rc4/*.o crypto/bn/bn*.o crypto/md2/md2_dgst.o 31 /bin/rm -f crypto/idea/i_*.o crypto/rc4/*.o crypto/des/ecb_enc.o crypto/bn/bn*.o
|
/barrelfish-2018-10-04/lib/openssl-1.0.0d/engines/ |
H A D | e_gmp.c | 91 #include <openssl/bn.h> 261 static int bn2gmp(const BIGNUM *bn, mpz_t g) argument 263 bn_check_top(bn); 264 if(((sizeof(bn->d[0]) * 8) == GMP_NUMB_BITS) && 268 if(!_mpz_realloc (g, bn->top)) 270 memcpy(&g->_mp_d[0], &bn->d[0], bn->top * sizeof(bn->d[0])); 271 g->_mp_size = bn->top; 272 if(bn 287 gmp2bn(mpz_t g, BIGNUM *bn) argument [all...] |
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/dh/ |
H A D | dh_depr.c | 61 #include <openssl/bn.h>
|
H A D | dh_asn1.c | 61 #include <openssl/bn.h>
|
H A D | p192.c | 60 #include <openssl/bn.h>
|
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/rsa/ |
H A D | rsa_none.c | 61 #include <openssl/bn.h>
|
H A D | rsa_depr.c | 62 #include <openssl/bn.h>
|
/barrelfish-2018-10-04/lib/tommath/ |
H A D | makefile | 152 mandvi: bn.tex 153 echo "hello" > bn.ind 154 latex bn > /dev/null 155 latex bn > /dev/null 156 makeindex bn 157 latex bn > /dev/null 161 pdflatex bn >/dev/null 162 rm -f bn.aux bn.dvi bn [all...] |
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/ec/ |
H A D | ec_print.c | 90 const BIGNUM *bn, 98 if ((buf_len = BN_num_bytes(bn)) == 0) return NULL; 103 if (!BN_bn2bin(bn, buf)) 89 EC_POINT_bn2point(const EC_GROUP *group, const BIGNUM *bn, EC_POINT *point, BN_CTX *ctx) argument
|
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/dsa/ |
H A D | dsa_depr.c | 80 #include <openssl/bn.h>
|
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/ecdh/ |
H A D | ecdh.h | 81 #include <openssl/bn.h>
|
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/ts/ |
H A D | ts_req_print.c | 62 #include <openssl/bn.h>
|
/barrelfish-2018-10-04/lib/openssl-1.0.0d/demos/prime/ |
H A D | prime.c | 61 #include <openssl/bn.h>
|
/barrelfish-2018-10-04/lib/openssl-1.0.0d/ms/ |
H A D | speed32.bat | 12 del tmp\rc4*.obj tmp\bn*.obj tmp\md2_dgst.obj 26 del tmp\i_*.obj tmp\rc4*.obj tmp\ecb_enc.obj tmp\bn*.obj
|
/barrelfish-2018-10-04/lib/openssl-1.0.0d/shlib/ |
H A D | win32.bat | 11 rem ml /coff /c crypto\bn\asm\x86nt32.asm 17 cl /Fessleay.exe %OPTIONS% eay.obj ssl.obj crypto.obj crypto\bf\asm\b-win32.obj crypto\des\asm\c-win32.obj crypto\des\asm\d-win32.obj crypto\bn\asm\x86nt32.obj user32.lib gdi32.lib ws2_32.lib
|
/barrelfish-2018-10-04/include/openssl/ |
H A D | ecdh.h | 81 #include <openssl/bn.h>
|