Searched refs:cipher (Results 26 - 50 of 1212) sorted by relevance

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/pppd/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...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/accel-pptp/src/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...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/accel-pptp/src/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...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/pppd/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...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/pppd/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...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/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) {
89 if (c->cipher->get_asn1_parameters != NULL)
90 ret = c->cipher->get_asn1_parameters(c, type);
91 else if (c->cipher->flags & EVP_CIPH_FLAG_DEFAULT_ASN1) {
130 /* Convert the various cipher NIDs and dummies to a proper OID NID */
197 return ctx->cipher->block_size;
203 return ctx->cipher->do_cipher(ctx, out, in, inl);
208 return ctx->cipher;
211 EVP_CIPHER_flags(const EVP_CIPHER *cipher) argument
241 EVP_CIPHER_iv_length(const EVP_CIPHER *cipher) argument
251 EVP_CIPHER_key_length(const EVP_CIPHER *cipher) argument
261 EVP_CIPHER_nid(const EVP_CIPHER *cipher) argument
310 evp_get_fips_cipher(const EVP_CIPHER *cipher) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/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) {
89 if (c->cipher->get_asn1_parameters != NULL)
90 ret = c->cipher->get_asn1_parameters(c, type);
91 else if (c->cipher->flags & EVP_CIPH_FLAG_DEFAULT_ASN1) {
130 /* Convert the various cipher NIDs and dummies to a proper OID NID */
197 return ctx->cipher->block_size;
203 return ctx->cipher->do_cipher(ctx, out, in, inl);
208 return ctx->cipher;
211 EVP_CIPHER_flags(const EVP_CIPHER *cipher) argument
241 EVP_CIPHER_iv_length(const EVP_CIPHER *cipher) argument
251 EVP_CIPHER_key_length(const EVP_CIPHER *cipher) argument
261 EVP_CIPHER_nid(const EVP_CIPHER *cipher) argument
310 evp_get_fips_cipher(const EVP_CIPHER *cipher) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/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) {
89 if (c->cipher->get_asn1_parameters != NULL)
90 ret = c->cipher->get_asn1_parameters(c, type);
91 else if (c->cipher->flags & EVP_CIPH_FLAG_DEFAULT_ASN1) {
130 /* Convert the various cipher NIDs and dummies to a proper OID NID */
197 return ctx->cipher->block_size;
203 return ctx->cipher->do_cipher(ctx, out, in, inl);
208 return ctx->cipher;
211 EVP_CIPHER_flags(const EVP_CIPHER *cipher) argument
241 EVP_CIPHER_iv_length(const EVP_CIPHER *cipher) argument
251 EVP_CIPHER_key_length(const EVP_CIPHER *cipher) argument
261 EVP_CIPHER_nid(const EVP_CIPHER *cipher) argument
310 evp_get_fips_cipher(const EVP_CIPHER *cipher) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/wpa_supplicant-0.7.3/src/crypto/
H A Daes-wrap.c28 * @cipher: Wrapped key, (n + 1) * 64 bits
31 int aes_wrap(const u8 *kek, int n, const u8 *plain, u8 *cipher) argument
37 a = cipher;
38 r = cipher + 8;
56 r = cipher + 8;
71 * These are already in @cipher due to the location of temporary
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/wpa_supplicant-0.7.3/src/crypto/
H A Daes-wrap.c28 * @cipher: Wrapped key, (n + 1) * 64 bits
31 int aes_wrap(const u8 *kek, int n, const u8 *plain, u8 *cipher) argument
37 a = cipher;
38 r = cipher + 8;
56 r = cipher + 8;
71 * These are already in @cipher due to the location of temporary
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/wpa_supplicant-0.7.3/src/crypto/
H A Daes-wrap.c28 * @cipher: Wrapped key, (n + 1) * 64 bits
31 int aes_wrap(const u8 *kek, int n, const u8 *plain, u8 *cipher) argument
37 a = cipher;
38 r = cipher + 8;
56 r = cipher + 8;
71 * These are already in @cipher due to the location of temporary
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/common/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 */
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...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/db-4.8.30/crypto/
H A Dcrypto.c26 CIPHER *cipher; local
53 * Must create the shared information. We need: Shared cipher
58 if ((ret = __env_alloc(infop, sizeof(CIPHER), &cipher)) != 0) {
62 memset(cipher, 0, sizeof(*cipher));
65 __env_alloc_free(infop, cipher);
71 cipher->passwd = R_OFFSET(infop, sh_passwd);
72 cipher->passwd_len = dbenv->passwd_len;
73 cipher->flags = db_cipher->alg;
74 memcpy(sh_passwd, dbenv->passwd, cipher
165 CIPHER *cipher; local
395 CIPHER *cipher; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/db-4.8.30/crypto/
H A Dcrypto.c26 CIPHER *cipher; local
53 * Must create the shared information. We need: Shared cipher
58 if ((ret = __env_alloc(infop, sizeof(CIPHER), &cipher)) != 0) {
62 memset(cipher, 0, sizeof(*cipher));
65 __env_alloc_free(infop, cipher);
71 cipher->passwd = R_OFFSET(infop, sh_passwd);
72 cipher->passwd_len = dbenv->passwd_len;
73 cipher->flags = db_cipher->alg;
74 memcpy(sh_passwd, dbenv->passwd, cipher
165 CIPHER *cipher; local
395 CIPHER *cipher; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/db-4.8.30/crypto/
H A Dcrypto.c26 CIPHER *cipher; local
53 * Must create the shared information. We need: Shared cipher
58 if ((ret = __env_alloc(infop, sizeof(CIPHER), &cipher)) != 0) {
62 memset(cipher, 0, sizeof(*cipher));
65 __env_alloc_free(infop, cipher);
71 cipher->passwd = R_OFFSET(infop, sh_passwd);
72 cipher->passwd_len = dbenv->passwd_len;
73 cipher->flags = db_cipher->alg;
74 memcpy(sh_passwd, dbenv->passwd, cipher
165 CIPHER *cipher; local
395 CIPHER *cipher; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/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...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/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...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openssl-1.0.0q/crypto/evp/
H A Dp5_crpt.c73 ASN1_TYPE *param, const EVP_CIPHER *cipher, const EVP_MD *md,
122 OPENSSL_assert(EVP_CIPHER_key_length(cipher) <= (int)sizeof(md_tmp));
123 memcpy(key, md_tmp, EVP_CIPHER_key_length(cipher));
124 OPENSSL_assert(EVP_CIPHER_iv_length(cipher) <= 16);
125 memcpy(iv, md_tmp + (16 - EVP_CIPHER_iv_length(cipher)),
126 EVP_CIPHER_iv_length(cipher));
127 EVP_CipherInit_ex(cctx, cipher, NULL, key, iv, en_de);
72 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
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/openssl-1.0.0q/crypto/evp/
H A Dp5_crpt.c73 ASN1_TYPE *param, const EVP_CIPHER *cipher, const EVP_MD *md,
122 OPENSSL_assert(EVP_CIPHER_key_length(cipher) <= (int)sizeof(md_tmp));
123 memcpy(key, md_tmp, EVP_CIPHER_key_length(cipher));
124 OPENSSL_assert(EVP_CIPHER_iv_length(cipher) <= 16);
125 memcpy(iv, md_tmp + (16 - EVP_CIPHER_iv_length(cipher)),
126 EVP_CIPHER_iv_length(cipher));
127 EVP_CipherInit_ex(cctx, cipher, NULL, key, iv, en_de);
72 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
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/openssl-1.0.0q/crypto/evp/
H A Dp5_crpt.c73 ASN1_TYPE *param, const EVP_CIPHER *cipher, const EVP_MD *md,
122 OPENSSL_assert(EVP_CIPHER_key_length(cipher) <= (int)sizeof(md_tmp));
123 memcpy(key, md_tmp, EVP_CIPHER_key_length(cipher));
124 OPENSSL_assert(EVP_CIPHER_iv_length(cipher) <= 16);
125 memcpy(iv, md_tmp + (16 - EVP_CIPHER_iv_length(cipher)),
126 EVP_CIPHER_iv_length(cipher));
127 EVP_CipherInit_ex(cctx, cipher, NULL, key, iv, en_de);
72 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
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openssl-1.0.0q/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);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/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);

Completed in 605 milliseconds

1234567891011>>