/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/libbb/ |
H A D | pw_encrypt.c | 16 static char *cipher; local 19 free(cipher); 20 cipher = xstrdup(crypt(clear, salt)); 21 return cipher;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/demos/ssltest-ecc/ |
H A D | ssltest.sh | 2 # Tests ECC cipher suites using ssltest. Requires one argument which could 60 # Anonymous cipher suites do not require key or certificate files 66 for cipher in $AECDH_CIPHER_LIST 68 echo "Testing $cipher" 69 $SSLTEST $SSL_VERSION -cert $SERVER_PEM -cipher $cipher 76 -named_curve $curve -cipher AECDH-NULL-SHA 83 -named_curve $curve -cipher AECDH-RC4-SHA 88 # Both ECDH-ECDSA and ECDHE-ECDSA cipher suites require 95 for cipher i [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/test/ |
H A D | testenc | 10 $cmd enc < $test > $test.cipher 11 $cmd enc < $test.cipher >$test.clear 17 /bin/rm $test.cipher $test.clear 20 $cmd enc -a -e < $test > $test.cipher 21 $cmd enc -a -d < $test.cipher >$test.clear 27 /bin/rm $test.cipher $test.clear 30 for i in `$cmd list-cipher-commands` 33 $cmd $i -bufsize 113 -e -k test < $test > $test.$i.cipher 34 $cmd $i -bufsize 157 -d -k test < $test.$i.cipher >$test.$i.clear 40 /bin/rm $test.$i.cipher [all...] |
H A D | testenc.com | 16 $ if f$search(test+"-cipher") .nes. "" then delete 'test'-cipher;* 20 $ 'cmd' enc -in 'test' -out 'test'-cipher 21 $ 'cmd' enc -in 'test'-cipher -out 'test'-clear 24 $ delete 'test'-cipher;*,'test'-clear;* 27 $ 'cmd' enc -a -e -in 'test' -out 'test'-cipher 28 $ 'cmd' enc -a -d -in 'test'-cipher -out 'test'-clear 31 $ delete 'test'-cipher;*,'test'-clear;* 33 $ define/user sys$output 'test'-cipher-commands 34 $ 'cmd' list-cipher [all...] |
H A D | evp_test.c | 146 printf("Testing cipher %s%s\n",EVP_CIPHER_name(c), 244 static int test_cipher(const char *cipher,const unsigned char *key,int kn, argument 252 c=EVP_get_cipherbyname(cipher); 359 * It'll prevent ENGINEs being ENGINE_init()ialised for cipher/digest use if 368 char *cipher; local 378 cipher=sstrsep(&p,":"); 396 if(!test_cipher(cipher,key,kn,iv,in,plaintext,pn,ciphertext,cn,encdec) 397 && !test_digest(cipher,plaintext,pn,ciphertext,cn)) 400 if (strstr(cipher, "AES") == cipher) [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/test/ |
H A D | testenc | 10 $cmd enc -non-fips-allow < $test > $test.cipher 11 $cmd enc -non-fips-allow < $test.cipher >$test.clear 17 /bin/rm $test.cipher $test.clear 20 $cmd enc -non-fips-allow -a -e < $test > $test.cipher 21 $cmd enc -non-fips-allow -a -d < $test.cipher >$test.clear 27 /bin/rm $test.cipher $test.clear 30 for i in `$cmd list-cipher-commands` 33 $cmd $i -non-fips-allow -bufsize 113 -e -k test < $test > $test.$i.cipher 34 $cmd $i -non-fips-allow -bufsize 157 -d -k test < $test.$i.cipher >$test.$i.clear 40 /bin/rm $test.$i.cipher [all...] |
H A D | testenc.com | 16 $ if f$search(test+"-cipher") .nes. "" then delete 'test'-cipher;* 20 $ 'cmd' enc -in 'test' -out 'test'-cipher 21 $ 'cmd' enc -in 'test'-cipher -out 'test'-clear 24 $ delete 'test'-cipher;*,'test'-clear;* 27 $ 'cmd' enc -a -e -in 'test' -out 'test'-cipher 28 $ 'cmd' enc -a -d -in 'test'-cipher -out 'test'-clear 31 $ delete 'test'-cipher;*,'test'-clear;* 33 $ define/user sys$output 'test'-cipher-commands 34 $ 'cmd' list-cipher [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/evp/ |
H A D | evp_enc.c | 73 /* ctx->cipher=NULL; */ 77 int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, argument 80 if (cipher) 82 return EVP_CipherInit_ex(ctx,cipher,NULL,key,iv,enc); 127 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, argument 143 if (ctx->engine && ctx->cipher && (!cipher || 144 (cipher && (cipher->nid == ctx->cipher 303 EVP_EncryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv) argument 309 EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key, const unsigned char *iv) argument 315 EVP_DecryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv) argument 321 EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key, const unsigned char *iv) argument [all...] |
H A D | p5_crpt.c | 104 ASN1_TYPE *param, const EVP_CIPHER *cipher, const EVP_MD *md, 143 OPENSSL_assert(EVP_CIPHER_key_length(cipher) <= sizeof md_tmp); 144 memcpy(key, md_tmp, EVP_CIPHER_key_length(cipher)); 145 OPENSSL_assert(EVP_CIPHER_iv_length(cipher) <= 16); 146 memcpy(iv, md_tmp + (16 - EVP_CIPHER_iv_length(cipher)), 147 EVP_CIPHER_iv_length(cipher)); 148 EVP_CipherInit_ex(cctx, cipher, NULL, key, iv, en_de); 103 PKCS5_PBE_keyivgen(EVP_CIPHER_CTX *cctx, const char *pass, int passlen, ASN1_TYPE *param, const EVP_CIPHER *cipher, const EVP_MD *md, int en_de) argument
|
H A D | evp_pbe.c | 68 /* Setup a cipher context from a PBE algorithm */ 72 const EVP_CIPHER *cipher; member in struct:__anon1400 98 i = (*pbetmp->keygen)(ctx, pass, passlen, param, pbetmp->cipher, 115 int EVP_PBE_alg_add(int nid, const EVP_CIPHER *cipher, const EVP_MD *md, argument 125 pbe_tmp->cipher = cipher;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/evp/ |
H A D | evp_enc.c | 74 /* ctx->cipher=NULL; */ 85 int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, argument 88 if (cipher) 90 return EVP_CipherInit_ex(ctx,cipher,NULL,key,iv,enc); 93 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, argument 109 if (ctx->engine && ctx->cipher && (!cipher || 110 (cipher && (cipher->nid == ctx->cipher 253 EVP_EncryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv) argument 259 EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key, const unsigned char *iv) argument 265 EVP_DecryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv) argument 271 EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key, const unsigned char *iv) argument [all...] |
H A D | evp_lib.c | 68 if (c->cipher->set_asn1_parameters != NULL) 69 ret=c->cipher->set_asn1_parameters(c,type); 79 if (c->cipher->get_asn1_parameters != NULL) 80 ret=c->cipher->get_asn1_parameters(c,type); 118 /* Convert the various cipher NIDs and dummies to a proper OID NID */ 178 return ctx->cipher->block_size; 183 return ctx->cipher->do_cipher(ctx,out,in,inl); 188 return ctx->cipher; 191 unsigned long EVP_CIPHER_flags(const EVP_CIPHER *cipher) argument 193 return cipher 211 EVP_CIPHER_iv_length(const EVP_CIPHER *cipher) argument 221 EVP_CIPHER_key_length(const EVP_CIPHER *cipher) argument 231 EVP_CIPHER_nid(const EVP_CIPHER *cipher) argument [all...] |
H A D | p5_crpt.c | 104 ASN1_TYPE *param, const EVP_CIPHER *cipher, const EVP_MD *md, 149 OPENSSL_assert(EVP_CIPHER_key_length(cipher) <= (int)sizeof(md_tmp)); 150 memcpy(key, md_tmp, EVP_CIPHER_key_length(cipher)); 151 OPENSSL_assert(EVP_CIPHER_iv_length(cipher) <= 16); 152 memcpy(iv, md_tmp + (16 - EVP_CIPHER_iv_length(cipher)), 153 EVP_CIPHER_iv_length(cipher)); 154 EVP_CipherInit_ex(cctx, cipher, NULL, key, iv, en_de); 103 PKCS5_PBE_keyivgen(EVP_CIPHER_CTX *cctx, const char *pass, int passlen, ASN1_TYPE *param, const EVP_CIPHER *cipher, const EVP_MD *md, int en_de) argument
|
H A D | evp_pbe.c | 68 /* Setup a cipher context from a PBE algorithm */ 72 const EVP_CIPHER *cipher; member in struct:__anon2939 98 i = (*pbetmp->keygen)(ctx, pass, passlen, param, pbetmp->cipher, 116 int EVP_PBE_alg_add(int nid, const EVP_CIPHER *cipher, const EVP_MD *md, argument 126 pbe_tmp->cipher = cipher;
|
H A D | evp_test.c | 146 printf("Testing cipher %s%s\n",EVP_CIPHER_name(c), 244 static int test_cipher(const char *cipher,const unsigned char *key,int kn, argument 252 c=EVP_get_cipherbyname(cipher); 359 * It'll prevent ENGINEs being ENGINE_init()ialised for cipher/digest use if 368 char *cipher; local 378 cipher=sstrsep(&p,":"); 396 if(!test_cipher(cipher,key,kn,iv,in,plaintext,pn,ciphertext,cn,encdec) 397 && !test_digest(cipher,plaintext,pn,ciphertext,cn)) 400 if (strstr(cipher, "AES") == cipher) [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppd/ |
H A D | pppcrypt.c | 129 DesEncrypt(clear, cipher) 131 u_char *cipher; /* OUT 8 octets */ 140 Collapse(des_input, cipher); 145 DesDecrypt(cipher, clear) 146 u_char *cipher; /* IN 8 octets */ 151 Expand(cipher, des_input); 174 DesEncrypt(clear, key, cipher) 176 u_char *cipher; /* OUT 8 octets */ 178 des_ecb_encrypt((des_cblock *)clear, (des_cblock *)cipher, 184 DesDecrypt(cipher, clea [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/common/include/proto/ |
H A D | wpa.h | 41 #define DOT11_RC_INVALID_MC_CIPHER 18 /* Invalid multicast cipher */ 42 #define DOT11_RC_INVALID_UC_CIPHER 19 /* Invalid unicast cipher */ 105 /* WPA cipher suites */ 116 #define IS_WPA_CIPHER(cipher) ((cipher) == WPA_CIPHER_NONE || \ 117 (cipher) == WPA_CIPHER_WEP_40 || \ 118 (cipher) == WPA_CIPHER_WEP_104 || \ 119 (cipher) == WPA_CIPHER_TKIP || \ 120 (cipher) == WPA_CIPHER_AES_OCB || \ 121 (cipher) [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/include/proto/ |
H A D | wpa.h | 41 #define DOT11_RC_INVALID_MC_CIPHER 18 /* Invalid multicast cipher */ 42 #define DOT11_RC_INVALID_UC_CIPHER 19 /* Invalid unicast cipher */ 105 /* WPA cipher suites */ 116 #define IS_WPA_CIPHER(cipher) ((cipher) == WPA_CIPHER_NONE || \ 117 (cipher) == WPA_CIPHER_WEP_40 || \ 118 (cipher) == WPA_CIPHER_WEP_104 || \ 119 (cipher) == WPA_CIPHER_TKIP || \ 120 (cipher) == WPA_CIPHER_AES_OCB || \ 121 (cipher) [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/asn1/ |
H A D | x_pkey.c | 82 ret->cipher.cipher=EVP_get_cipherbyname( 84 if (ret->cipher.cipher == NULL) 99 memcpy(ret->cipher.iv, 103 memset(ret->cipher.iv,0,EVP_MAX_IV_LENGTH); 120 ret->cipher.cipher=NULL; 121 memset(ret->cipher.iv,0,EVP_MAX_IV_LENGTH);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/asn1/ |
H A D | x_pkey.c | 82 ret->cipher.cipher=EVP_get_cipherbyname( 84 if (ret->cipher.cipher == NULL) 99 memcpy(ret->cipher.iv, 103 memset(ret->cipher.iv,0,EVP_MAX_IV_LENGTH); 120 ret->cipher.cipher=NULL; 121 memset(ret->cipher.iv,0,EVP_MAX_IV_LENGTH);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/crypto/ |
H A D | cipher.c | 54 struct cipher_alg *cipher = &tfm->__crt_alg->cra_cipher; local 57 cipher_crypt_unaligned(cipher->cia_encrypt, tfm, dst, src); 61 cipher->cia_encrypt(tfm, dst, src); 68 struct cipher_alg *cipher = &tfm->__crt_alg->cra_cipher; local 71 cipher_crypt_unaligned(cipher->cia_decrypt, tfm, dst, src); 75 cipher->cia_decrypt(tfm, dst, src); 81 struct cipher_alg *cipher = &tfm->__crt_alg->cra_cipher; local 85 cipher_encrypt_unaligned : cipher->cia_encrypt; 87 cipher_decrypt_unaligned : cipher->cia_decrypt;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libgcrypt-1.5.0/cipher/ |
H A D | cipher.c | 0 /* cipher.c - cipher dispatcher 28 #include "cipher.h" 36 /* Try to use 16 byte aligned cipher context for better performance. 53 gcry_cipher_spec_t *cipher; member in struct:cipher_table_entry 167 gcry_cipher_spec_t *cipher; member in struct:gcry_cipher_handle 177 API) we need to keep these function pointers here. The cipher 226 /* What follows are two contexts of the cipher in use. The first 227 one needs to be aligned well enough for the cipher operation 237 /* These dummy functions are used in case a cipher implementatio 333 gcry_cipher_spec_t *cipher = (gcry_cipher_spec_t *) spec; local 349 gcry_cipher_spec_t *cipher = (gcry_cipher_spec_t *) spec; local 366 gcry_module_t cipher; local 378 gcry_module_t cipher; local 390 _gcry_cipher_register(gcry_cipher_spec_t *cipher, cipher_extra_spec_t *extraspec, int *algorithm_id, gcry_module_t *module) argument 448 gcry_cipher_spec_t *cipher = module->spec; local 473 gcry_module_t cipher; local 533 gcry_module_t cipher; local 570 gcry_module_t cipher; local 593 gcry_module_t cipher; local 620 gcry_module_t cipher; local 648 gcry_module_t cipher; local 689 gcry_cipher_spec_t *cipher = NULL; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libgcrypt-1.5.0/tests/ |
H A D | cavs_driver.pl | 118 # porting to a new cipher library 126 # independent ciphers is given with the cipher specification, we hand in 131 # $3 cipher - the cipher string is defined as specified in the openssl 187 # supplying the call to the external cipher implementation 190 # $1: cipher 201 # supplying the call to the external cipher implementation 206 # $1: cipher key in hex format 274 my $cipher=shift; 283 my $program="openssl enc -$cipher [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/pkcs12/ |
H A D | p12_p8e.c | 63 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher, argument 76 if(pbe_nid == -1) pbe = PKCS5_pbe2_set(cipher, iter, salt, saltlen);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/pkcs12/ |
H A D | p12_p8e.c | 63 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher, argument 76 if(pbe_nid == -1) pbe = PKCS5_pbe2_set(cipher, iter, salt, saltlen);
|