/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/openssl/crypto/dh/ |
H A D | dh_key.c | 1 /* crypto/dh/dh_key.c */ 63 #include <openssl/dh.h> 67 static int generate_key(DH *dh); 68 static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh); 69 static int dh_bn_mod_exp(const DH *dh, BIGNUM *r, 73 static int dh_init(DH *dh); 74 static int dh_finish(DH *dh); 76 int DH_generate_key(DH *dh) argument 78 return dh->meth->generate_key(dh); 81 DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) argument 102 generate_key(DH *dh) argument 160 compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) argument 198 dh_bn_mod_exp(const DH *dh, BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx) argument 213 dh_init(DH *dh) argument 219 dh_finish(DH *dh) argument [all...] |
H A D | p192.c | 1 /* crypto/dh/p192.c */ 62 #include <openssl/dh.h> 73 DH *dh; local 75 dh=DH_new(); 76 dh->p=BN_bin2bn(data,sizeof(data),NULL); 77 dh->g=BN_new(); 78 BN_set_word(dh->g,3); 79 PEM_write_DHparams(stdout,dh);
|
H A D | dh_check.c | 1 /* crypto/dh/dh_check.c */ 62 #include <openssl/dh.h> 75 int DH_check(const DH *dh, int *ret) argument 88 if (BN_is_word(dh->g,DH_GENERATOR_2)) 90 l=BN_mod_word(dh->p,24); 94 else if (BN_is_word(dh->g,DH_GENERATOR_3)) 96 l=BN_mod_word(dh->p,12); 100 else if (BN_is_word(dh->g,DH_GENERATOR_5)) 102 l=BN_mod_word(dh->p,10); 109 if (!BN_is_prime(dh [all...] |
H A D | p512.c | 1 /* crypto/dh/p512.c */ 62 #include <openssl/dh.h> 78 DH *dh; local 80 dh=DH_new(); 81 dh->p=BN_bin2bn(data,sizeof(data),NULL); 82 dh->g=BN_new(); 83 BN_set_word(dh->g,2); 84 PEM_write_DHparams(stdout,dh);
|
H A D | p1024.c | 1 /* crypto/dh/p1024.c */ 62 #include <openssl/dh.h> 85 DH *dh; local 87 dh=DH_new(); 88 dh->p=BN_bin2bn(data,sizeof(data),NULL); 89 dh->g=BN_new(); 90 BN_set_word(dh->g,2); 91 PEM_write_DHparams(stdout,dh);
|
H A D | dh.h | 1 /* crypto/dh/dh.h */ 84 int (*generate_key)(DH *dh); 85 int (*compute_key)(unsigned char *key,const BIGNUM *pub_key,DH *dh); 86 int (*bn_mod_exp)(const DH *dh, BIGNUM *r, const BIGNUM *a, 90 int (*init)(DH *dh); 91 int (*finish)(DH *dh); 157 int DH_set_method(DH *dh, const DH_METHOD *meth); 161 void DH_free(DH *dh); 162 int DH_up_ref(DH *dh); [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/openssl/fips/dh/ |
H A D | fips_dh_key.c | 1 /* crypto/dh/dh_key.c */ 66 #include <openssl/dh.h> 70 static int generate_key(DH *dh); 71 static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh); 72 static int dh_bn_mod_exp(const DH *dh, BIGNUM *r, 76 static int dh_init(DH *dh); 77 static int dh_finish(DH *dh); 79 int DH_generate_key(DH *dh) argument 81 return dh->meth->generate_key(dh); 84 DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) argument 105 generate_key(DH *dh) argument 163 compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) argument 201 dh_bn_mod_exp(const DH *dh, BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx) argument 216 dh_init(DH *dh) argument 222 dh_finish(DH *dh) argument [all...] |
H A D | fips_dh_check.c | 1 /* crypto/dh/dh_check.c */ 62 #include <openssl/dh.h> 75 int DH_check(const DH *dh, int *ret) argument 88 if (BN_is_word(dh->g,DH_GENERATOR_2)) 90 l=BN_mod_word(dh->p,24); 94 else if (BN_is_word(dh->g,DH_GENERATOR_3)) 96 l=BN_mod_word(dh->p,12); 100 else if (BN_is_word(dh->g,DH_GENERATOR_5)) 102 l=BN_mod_word(dh->p,10); 109 if (!BN_is_prime(dh [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/openssl-0.9.8e/crypto/dh/ |
H A D | dh_key.c | 1 /* crypto/dh/dh_key.c */ 63 #include <openssl/dh.h> 65 static int generate_key(DH *dh); 66 static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh); 67 static int dh_bn_mod_exp(const DH *dh, BIGNUM *r, 71 static int dh_init(DH *dh); 72 static int dh_finish(DH *dh); 74 int DH_generate_key(DH *dh) argument 76 return dh->meth->generate_key(dh); 79 DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) argument 101 generate_key(DH *dh) argument 174 compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) argument 234 dh_bn_mod_exp(const DH *dh, BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx) argument 252 dh_init(DH *dh) argument 258 dh_finish(DH *dh) argument [all...] |
H A D | p192.c | 1 /* crypto/dh/p192.c */ 62 #include <openssl/dh.h> 73 DH *dh; local 75 dh=DH_new(); 76 dh->p=BN_bin2bn(data,sizeof(data),NULL); 77 dh->g=BN_new(); 78 BN_set_word(dh->g,3); 79 PEM_write_DHparams(stdout,dh);
|
H A D | dh_check.c | 1 /* crypto/dh/dh_check.c */ 62 #include <openssl/dh.h> 73 int DH_check(const DH *dh, int *ret) argument 86 if (BN_is_word(dh->g,DH_GENERATOR_2)) 88 l=BN_mod_word(dh->p,24); 92 else if (BN_is_word(dh->g,DH_GENERATOR_3)) 94 l=BN_mod_word(dh->p,12); 98 else if (BN_is_word(dh->g,DH_GENERATOR_5)) 100 l=BN_mod_word(dh->p,10); 107 if (!BN_is_prime_ex(dh 122 DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *ret) argument [all...] |
H A D | p512.c | 1 /* crypto/dh/p512.c */ 62 #include <openssl/dh.h> 78 DH *dh; local 80 dh=DH_new(); 81 dh->p=BN_bin2bn(data,sizeof(data),NULL); 82 dh->g=BN_new(); 83 BN_set_word(dh->g,2); 84 PEM_write_DHparams(stdout,dh);
|
H A D | dh.h | 1 /* crypto/dh/dh.h */ 101 int (*generate_key)(DH *dh); 102 int (*compute_key)(unsigned char *key,const BIGNUM *pub_key,DH *dh); 103 int (*bn_mod_exp)(const DH *dh, BIGNUM *r, const BIGNUM *a, 107 int (*init)(DH *dh); 108 int (*finish)(DH *dh); 112 int (*generate_params)(DH *dh, int prime_len, int generator, BN_GENCB *cb); 172 int DH_set_method(DH *dh, const DH_METHOD *meth); 176 void DH_free(DH *dh); [all...] |
H A D | p1024.c | 1 /* crypto/dh/p1024.c */ 62 #include <openssl/dh.h> 85 DH *dh; local 87 dh=DH_new(); 88 dh->p=BN_bin2bn(data,sizeof(data),NULL); 89 dh->g=BN_new(); 90 BN_set_word(dh->g,2); 91 PEM_write_DHparams(stdout,dh);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/net/netfilter/ |
H A D | xt_dccp.c | 38 const struct dccp_hdr *dh, 43 unsigned int optoff = __dccp_hdr_len(dh); 44 unsigned int optlen = dh->dccph_doff*4 - __dccp_hdr_len(dh); 47 if (dh->dccph_doff * 4 < __dccp_hdr_len(dh)) { 82 match_types(const struct dccp_hdr *dh, u_int16_t typemask) argument 84 return (typemask & (1 << dh->dccph_type)); 89 const struct dccp_hdr *dh, int *hotdrop) 91 return dccp_find_option(option, skb, protoff, dh, hotdro 35 dccp_find_option(u_int8_t option, const struct sk_buff *skb, unsigned int protoff, const struct dccp_hdr *dh, int *hotdrop) argument 88 match_option(u_int8_t option, const struct sk_buff *skb, unsigned int protoff, const struct dccp_hdr *dh, int *hotdrop) argument 105 struct dccp_hdr _dh, *dh; local [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/include/bcmcrypto/ |
H A D | dh.h | 2 * dh.h: Diffie-Hellman header file. 21 * $Id: dh.h,v 1.3.622.1 2010/08/13 18:00:16 Exp $ 122 void DH_free(DH *dh); 123 int DH_generate_key(unsigned char *key, DH *dh); 124 int DH_compute_key(unsigned char *key, unsigned char *pubbuf, int buflen, DH *dh); 125 int DH_compute_key_bn(unsigned char *key, BIGNUM *peer_key, DH *dh); 129 int DH_size(const DH *dh); 130 DH * DH_generate_parameters(DH *dh, int prime_len, int generator, 132 int DH_check(const DH *dh, int *codes);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/openssl-0.9.8e/include/openssl/ |
H A D | dh.h | 1 /* crypto/dh/dh.h */ 101 int (*generate_key)(DH *dh); 102 int (*compute_key)(unsigned char *key,const BIGNUM *pub_key,DH *dh); 103 int (*bn_mod_exp)(const DH *dh, BIGNUM *r, const BIGNUM *a, 107 int (*init)(DH *dh); 108 int (*finish)(DH *dh); 112 int (*generate_params)(DH *dh, int prime_len, int generator, BN_GENCB *cb); 172 int DH_set_method(DH *dh, const DH_METHOD *meth); 176 void DH_free(DH *dh); [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/autofs/ |
H A D | dirhash.c | 17 static void autofs_init_usage(struct autofs_dirhash *dh, argument 20 list_add_tail(&ent->exp, &dh->expiry_head); 29 void autofs_update_usage(struct autofs_dirhash *dh, argument 33 autofs_init_usage(dh,ent); /* Relink at queue tail */ 40 struct autofs_dirhash *dh = &sbi->dirhash; local 46 if ( list_empty(&dh->expiry_head) || sbi->catatonic ) 49 ent = list_entry(dh->expiry_head.next, struct autofs_dir_ent, exp); 53 autofs_update_usage(dh, ent); 106 void autofs_initialize_hash(struct autofs_dirhash *dh) { argument 107 memset(&dh 111 autofs_hash_lookup(const struct autofs_dirhash *dh, struct qstr *name) argument 128 autofs_hash_insert(struct autofs_dirhash *dh, struct autofs_dir_ent *ent) argument 169 autofs_hash_enum(const struct autofs_dirhash *dh, off_t *ptr, struct autofs_dir_ent *last) argument 218 autofs_hash_dputall(struct autofs_dirhash *dh) argument [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/openssl-0.9.8e/apps/ |
H A D | dhparam.c | 122 #include <openssl/dh.h> 155 DH *dh=NULL; local 322 dh = DSA_dup_DH(dsa); 324 if (dh == NULL) 333 dh = DH_new(); 336 if(!dh || !DH_generate_parameters_ex(dh, num, g, &cb)) 338 if(dh) DH_free(dh); 387 dh [all...] |
H A D | dh.c | 1 /* apps/dh.c */ 70 #include <openssl/dh.h> 94 DH *dh=NULL; local 233 dh=d2i_DHparams_bio(in,NULL); 235 dh=PEM_read_bio_DHparams(in,NULL,NULL,NULL); 241 if (dh == NULL) 252 DHparams_print(out,dh); 255 BN_print(stdout,dh->p); 257 BN_print(stdout,dh->g); 259 if (dh [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/net/dccp/ |
H A D | input.c | 69 const struct dccp_hdr *dh = dccp_hdr(skb); local 85 if (dh->dccph_type == DCCP_PKT_SYNC || 86 dh->dccph_type == DCCP_PKT_SYNCACK) { 113 if (dh->dccph_type == DCCP_PKT_CLOSEREQ || 114 dh->dccph_type == DCCP_PKT_CLOSE || 115 dh->dccph_type == DCCP_PKT_RESET) { 127 if (dh->dccph_type != DCCP_PKT_SYNC && 135 "sending SYNC...\n", dccp_packet_name(dh->dccph_type), 152 const struct dccp_hdr *dh, const unsigned len) 159 __skb_pull(skb, dh 151 __dccp_rcv_established(struct sock *sk, struct sk_buff *skb, const struct dccp_hdr *dh, const unsigned len) argument 229 dccp_rcv_established(struct sock *sk, struct sk_buff *skb, const struct dccp_hdr *dh, const unsigned len) argument 260 dccp_rcv_request_sent_state_process(struct sock *sk, struct sk_buff *skb, const struct dccp_hdr *dh, const unsigned len) argument 383 dccp_rcv_respond_partopen_state_process(struct sock *sk, struct sk_buff *skb, const struct dccp_hdr *dh, const unsigned len) argument 419 dccp_rcv_state_process(struct sock *sk, struct sk_buff *skb, struct dccp_hdr *dh, unsigned len) argument [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/openssl/apps/ |
H A D | dh.c | 1 /* apps/dh.c */ 69 #include <openssl/dh.h> 93 DH *dh=NULL; local 232 dh=d2i_DHparams_bio(in,NULL); 234 dh=PEM_read_bio_DHparams(in,NULL,NULL,NULL); 240 if (dh == NULL) 251 DHparams_print(out,dh); 254 BN_print(stdout,dh->p); 256 BN_print(stdout,dh->g); 258 if (dh [all...] |
H A D | dhparam.c | 121 #include <openssl/dh.h> 154 DH *dh=NULL; local 318 dh = DSA_dup_DH(dsa); 320 if (dh == NULL) 331 dh=DH_generate_parameters(num,g,dh_cb,bio_err); 333 if (dh == NULL) 383 dh = DSA_dup_DH(dsa); 385 if (dh == NULL) 395 dh=d2i_DHparams_bio(in,NULL); 397 dh [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/openssl/include/openssl/ |
H A D | dh.h | 1 /* crypto/dh/dh.h */ 84 int (*generate_key)(DH *dh); 85 int (*compute_key)(unsigned char *key,const BIGNUM *pub_key,DH *dh); 86 int (*bn_mod_exp)(const DH *dh, BIGNUM *r, const BIGNUM *a, 90 int (*init)(DH *dh); 91 int (*finish)(DH *dh); 157 int DH_set_method(DH *dh, const DH_METHOD *meth); 161 void DH_free(DH *dh); 162 int DH_up_ref(DH *dh); [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/testsuite/libsmbclient/src/lseekdir/ |
H A D | lseekdir_6.c | 34 int dh = 0; local 93 dh = smbc_opendir(url); 98 dirptr = smbc_readdir(dh); 109 smbc_lseekdir(dh,0); /* move to front */ 110 smbc_lseekdir(dh,dirsize); /* move to end */ 111 offset = smbc_telldir(dh);
|