Searched refs:cipher (Results 1 - 25 of 456) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/libbb/
H A Dpw_encrypt.c16 static char *cipher; local
19 free(cipher);
20 cipher = xstrdup(crypt(clear, salt));
21 return cipher;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/demos/ssltest-ecc/
H A Dssltest.sh2 # 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-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/demos/ssltest-ecc/
H A Dssltest.sh2 # 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-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/demos/ssltest-ecc/
H A Dssltest.sh2 # 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-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/test/
H A Dtestenc10 $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 Dtestenc.com20 $ if f$search(test+"-cipher") .nes. "" then delete 'test'-cipher;*
24 $ 'cmd' enc -in 'test' -out 'test'-cipher
25 $ 'cmd' enc -in 'test'-cipher -out 'test'-clear
28 $ delete 'test'-cipher;*,'test'-clear;*
31 $ 'cmd' enc -a -e -in 'test' -out 'test'-cipher
32 $ 'cmd' enc -a -d -in 'test'-cipher -out 'test'-clear
35 $ delete 'test'-cipher;*,'test'-clear;*
37 $ define/user sys$output 'test'-cipher-commands
38 $ 'cmd' list-cipher
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/test/
H A Dtestenc10 $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 Dtestenc.com16 $ 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-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/test/
H A Dtestenc10 $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 Dtestenc.com20 $ if f$search(test+"-cipher") .nes. "" then delete 'test'-cipher;*
24 $ 'cmd' enc -in 'test' -out 'test'-cipher
25 $ 'cmd' enc -in 'test'-cipher -out 'test'-clear
28 $ delete 'test'-cipher;*,'test'-clear;*
31 $ 'cmd' enc -a -e -in 'test' -out 'test'-cipher
32 $ 'cmd' enc -a -d -in 'test'-cipher -out 'test'-clear
35 $ delete 'test'-cipher;*,'test'-clear;*
37 $ define/user sys$output 'test'-cipher-commands
38 $ 'cmd' list-cipher
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/evp/
H A Devp_enc.c74 /* 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 Devp_lib.c68 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...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/
H A Dcmac.cpp38 throw InvalidArgument("CMAC: " + IntToString(length) + " is not a supported cipher block size");
45 BlockCipher &cipher = AccessCipher(); local
46 unsigned int blockSize = cipher.BlockSize();
48 cipher.SetKey(key, length, params);
52 cipher.ProcessBlock(m_reg, m_reg+blockSize);
63 BlockCipher &cipher = AccessCipher();
64 unsigned int blockSize = cipher.BlockSize();
76 cipher.ProcessBlock(m_reg);
84 size_t leftOver = 1 + cipher.AdvancedProcessBlocks(m_reg, input, m_reg, length-1, BlockTransformation::BT_DontIncrementInOutPointers|BlockTransformation::BT_XorInput);
103 BlockCipher &cipher local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/pppd/
H A Dpppcrypt.c129 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-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/evp/
H A Devp_enc.c75 # define M_do_cipher(ctx, out, in, inl) ctx->cipher->do_cipher(ctx, out, in, inl)
83 /* ctx->cipher=NULL; */
94 int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, argument
97 if (cipher)
99 return EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, enc);
102 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, argument
120 if (ctx->engine && ctx->cipher && (!cipher ||
121 (cipher
122 && (cipher
292 EVP_EncryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv) argument
298 EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key, const unsigned char *iv) argument
305 EVP_DecryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv) argument
311 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 Devp_lib.c72 if (c->cipher->set_asn1_parameters != NULL)
73 ret = c->cipher->set_asn1_parameters(c, type);
74 else if (c->cipher->flags & EVP_CIPH_FLAG_DEFAULT_ASN1) {
100 if (c->cipher->get_asn1_parameters != NULL)
101 ret = c->cipher->get_asn1_parameters(c, type);
102 else if (c->cipher->flags & EVP_CIPH_FLAG_DEFAULT_ASN1) {
154 /* Convert the various cipher NIDs and dummies to a proper OID NID */
221 return ctx->cipher->block_size;
227 return ctx->cipher->do_cipher(ctx, out, in, inl);
232 return ctx->cipher;
235 EVP_CIPHER_flags(const EVP_CIPHER *cipher) argument
265 EVP_CIPHER_iv_length(const EVP_CIPHER *cipher) argument
275 EVP_CIPHER_key_length(const EVP_CIPHER *cipher) argument
285 EVP_CIPHER_nid(const EVP_CIPHER *cipher) argument
334 evp_get_fips_cipher(const EVP_CIPHER *cipher) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/evp/
H A Devp_enc.c75 # define M_do_cipher(ctx, out, in, inl) ctx->cipher->do_cipher(ctx, out, in, inl)
83 /* ctx->cipher=NULL; */
94 int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, argument
97 if (cipher)
99 return EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, enc);
102 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, argument
120 if (ctx->engine && ctx->cipher && (!cipher ||
121 (cipher
122 && (cipher
292 EVP_EncryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv) argument
298 EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key, const unsigned char *iv) argument
305 EVP_DecryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv) argument
311 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 Devp_lib.c72 if (c->cipher->set_asn1_parameters != NULL)
73 ret = c->cipher->set_asn1_parameters(c, type);
74 else if (c->cipher->flags & EVP_CIPH_FLAG_DEFAULT_ASN1) {
100 if (c->cipher->get_asn1_parameters != NULL)
101 ret = c->cipher->get_asn1_parameters(c, type);
102 else if (c->cipher->flags & EVP_CIPH_FLAG_DEFAULT_ASN1) {
154 /* Convert the various cipher NIDs and dummies to a proper OID NID */
221 return ctx->cipher->block_size;
227 return ctx->cipher->do_cipher(ctx, out, in, inl);
232 return ctx->cipher;
235 EVP_CIPHER_flags(const EVP_CIPHER *cipher) argument
265 EVP_CIPHER_iv_length(const EVP_CIPHER *cipher) argument
275 EVP_CIPHER_key_length(const EVP_CIPHER *cipher) argument
285 EVP_CIPHER_nid(const EVP_CIPHER *cipher) argument
334 evp_get_fips_cipher(const EVP_CIPHER *cipher) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/include/proto/
H A Dwpa.h41 #define DOT11_RC_INVALID_MC_CIPHER 18 /* Invalid multicast cipher */
42 #define DOT11_RC_INVALID_UC_CIPHER 19 /* Invalid unicast cipher */
107 /* WPA cipher suites */
118 #define IS_WPA_CIPHER(cipher) ((cipher) == WPA_CIPHER_NONE || \
119 (cipher) == WPA_CIPHER_WEP_40 || \
120 (cipher) == WPA_CIPHER_WEP_104 || \
121 (cipher) == WPA_CIPHER_TKIP || \
122 (cipher) == WPA_CIPHER_AES_OCB || \
123 (cipher)
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/iputils/racoon/missing/crypto/rijndael/
H A Drijndael-api-fst.h27 #define BITSPERBLOCK 128 /* Default number of bits in a cipher block */
65 /* The structure for cipher information */
84 int rijndael_cipherInit(cipherInstance *cipher, u_int8_t mode, char *IV);
86 int rijndael_blockEncrypt(cipherInstance *cipher, keyInstance *key,
89 int rijndael_padEncrypt(cipherInstance *cipher, keyInstance *key,
92 int rijndael_blockDecrypt(cipherInstance *cipher, keyInstance *key,
95 int rijndael_padDecrypt(cipherInstance *cipher, keyInstance *key,
99 int rijndael_cipherUpdateRounds(cipherInstance *cipher, keyInstance *key,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sunrpc/auth_gss/
H A Dgss_krb5_seqnum.c46 struct crypto_blkcipher *cipher; local
51 cipher = crypto_alloc_blkcipher(kctx->gk5e->encrypt_name, 0,
53 if (IS_ERR(cipher))
54 return PTR_ERR(cipher);
65 code = krb5_rc4_setup_seq_key(kctx, cipher, cksum);
69 code = krb5_encrypt(cipher, cksum, plain, buf, 8);
71 crypto_free_blkcipher(cipher);
104 struct crypto_blkcipher *cipher; local
109 cipher = crypto_alloc_blkcipher(kctx->gk5e->encrypt_name, 0,
111 if (IS_ERR(cipher))
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/asn1/
H A Dx_pkey.c82 ret->cipher.cipher =
85 if (ret->cipher.cipher == NULL) {
97 memcpy(ret->cipher.iv,
100 memset(ret->cipher.iv, 0, EVP_MAX_IV_LENGTH);
117 ret->cipher.cipher = NULL;
118 memset(ret->cipher.iv, 0, EVP_MAX_IV_LENGTH);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/asn1/
H A Dx_pkey.c82 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-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/asn1/
H A Dx_pkey.c82 ret->cipher.cipher =
85 if (ret->cipher.cipher == NULL) {
97 memcpy(ret->cipher.iv,
100 memset(ret->cipher.iv, 0, EVP_MAX_IV_LENGTH);
117 ret->cipher.cipher = NULL;
118 memset(ret->cipher.iv, 0, EVP_MAX_IV_LENGTH);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/pkcs12/
H A Dp12_crpt.c71 ASN1_TYPE *param, const EVP_CIPHER *cipher,
80 if (cipher == NULL)
103 iter, EVP_CIPHER_key_length(cipher), key, md)) {
109 iter, EVP_CIPHER_iv_length(cipher), iv, md)) {
115 ret = EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, en_de);
70 PKCS12_PBE_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen, ASN1_TYPE *param, const EVP_CIPHER *cipher, const EVP_MD *md, int en_de) argument

Completed in 567 milliseconds

1234567891011>>