Searched refs:encrypt (Results 1 - 25 of 92) sorted by relevance

1234

/external/openssl/crypto/bf/
H A Dbf_ecb.c82 const BF_KEY *key, int encrypt)
88 if (encrypt)
81 BF_ecb_encrypt(const unsigned char *in, unsigned char *out, const BF_KEY *key, int encrypt) argument
H A Dbf_cfb64.c68 const BF_KEY *schedule, unsigned char *ivec, int *num, int encrypt)
77 if (encrypt)
67 BF_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, const BF_KEY *schedule, unsigned char *ivec, int *num, int encrypt) argument
/external/openssl/crypto/rc2/
H A Drc2_ecb.c74 int encrypt)
80 if (encrypt)
73 RC2_ecb_encrypt(const unsigned char *in, unsigned char *out, RC2_KEY *ks, int encrypt) argument
H A Drc2cfb64.c69 int *num, int encrypt)
78 if (encrypt)
67 RC2_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, RC2_KEY *schedule, unsigned char *ivec, int *num, int encrypt) argument
/external/openssh/
H A Dacss.h37 int encrypt; /* XXX make these bit flags? */ member in struct:acss_key_st
H A Dcipher-aes.c64 enc = ctx->encrypt;
90 if (ctx->encrypt) {
/external/openssl/crypto/des/
H A DDES.xs50 des_ecb_encrypt(input,ks,encrypt)
53 int encrypt
55 des_ecb_encrypt(input,&RETVAL,*ks,encrypt);
60 des_cbc_encrypt(input,ks,ivec,encrypt)
64 int encrypt
79 l,*ks,ivec,encrypt);
85 des_cbc3_encrypt(input,ks1,ks2,ivec1,ivec2,encrypt)
91 int encrypt
104 l,*ks1,*ks2,ivec1,ivec2,encrypt);
137 des_cfb_encrypt(input,numbits,ks,ivec,encrypt)
[all...]
/external/openssl/crypto/evp/
H A De_des.c78 DES_ecb_encrypt((DES_cblock *)(in + i), (DES_cblock *)(out + i), ctx->cipher_data, ctx->encrypt);
105 (DES_cblock *)ctx->iv, ctx->encrypt);
112 (DES_cblock *)ctx->iv, ctx->encrypt);
122 (DES_cblock *)ctx->iv, &ctx->num, ctx->encrypt);
129 (DES_cblock *)ctx->iv, &ctx->num, ctx->encrypt);
149 ctx->encrypt);
168 (DES_cblock *)ctx->iv,ctx->encrypt);
175 (DES_cblock *)ctx->iv,ctx->encrypt);
H A De_des3.c97 ctx->encrypt);
139 (DES_cblock *)ctx->iv, ctx->encrypt);
147 (DES_cblock *)ctx->iv, ctx->encrypt);
158 (DES_cblock *)ctx->iv, &ctx->num, ctx->encrypt);
166 (DES_cblock *)ctx->iv, &ctx->num, ctx->encrypt);
183 (DES_cblock *)ctx->iv,ctx->encrypt);
198 (DES_cblock *)ctx->iv,ctx->encrypt);
206 (DES_cblock *)ctx->iv,ctx->encrypt);
H A De_xcbc_d.c125 ctx->encrypt);
135 ctx->encrypt);
H A De_aes.c268 aesni_cbc_encrypt(in,out,len,ctx->cipher_data,ctx->iv,ctx->encrypt);
280 aesni_ecb_encrypt(in,out,len,ctx->cipher_data,ctx->encrypt);
580 (*dat->stream.cbc)(in,out,len,&dat->ks,ctx->iv,ctx->encrypt);
581 else if (ctx->encrypt)
620 ctx->iv,&ctx->num,ctx->encrypt,dat->block);
630 ctx->iv,&ctx->num,ctx->encrypt,dat->block);
641 ctx->iv,&ctx->num,ctx->encrypt,dat->block);
647 ctx->iv,&ctx->num,ctx->encrypt,dat->block);
652 ctx->iv,&ctx->num,ctx->encrypt,dat->block);
736 if (arg <= 0 || arg > 16 || c->encrypt)
[all...]
H A Dpmeth_fn.c195 if (!ctx || !ctx->pmeth || !ctx->pmeth->encrypt)
214 if (!ctx || !ctx->pmeth || !ctx->pmeth->encrypt)
226 return ctx->pmeth->encrypt(ctx, out, outlen, in, inlen);
288 if (!ctx || !ctx->pmeth || !(ctx->pmeth->derive||ctx->pmeth->encrypt||ctx->pmeth->decrypt) || !ctx->pmeth->ctrl)
H A Devp_locl.h74 cprefix##_ecb_encrypt(in + i, out + i, &((kstruct *)ctx->cipher_data)->ksched, ctx->encrypt);\
100 cprefix##_cbc_encrypt(in, out, (long)EVP_MAXCHUNK, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, ctx->encrypt);\
106 cprefix##_cbc_encrypt(in, out, (long)inl, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, ctx->encrypt);\
118 cprefix##_cfb##cbits##_encrypt(in, out, (long)((cbits==1) && !(ctx->flags & EVP_CIPH_FLAG_LENGTH_BITS) ?inl*8:inl), &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, &ctx->num, ctx->encrypt);\
329 int (*encrypt)(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, member in struct:evp_pkey_method_st
H A Devp_enc.c107 enc = ctx->encrypt;
112 ctx->encrypt = enc;
132 /* Restore encrypt and flags */
133 ctx->encrypt = enc;
264 if (ctx->encrypt)
271 if (ctx->encrypt)
278 if (ctx->encrypt)
H A Dopenbsd_hw.c167 cryp.op=ctx->encrypt ? COP_ENCRYPT : COP_DECRYPT;
177 if(!ctx->encrypt)
230 if(ctx->encrypt)
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/
H A DDESede.java42 private boolean encrypt; field in class:DESede
68 encrypt = encrypting;
91 if (encrypt)
H A DBlockCipherFactory.java73 public static BlockCipher createCipher(String type, boolean encrypt, byte[] key, byte[] iv) argument
83 bc.init(encrypt, key);
84 return new CBCMode(bc, iv, encrypt);
89 return new CTRMode(bc, iv, encrypt);
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dctrl_iface_ap.c176 int encrypt; local
180 encrypt = atoi(pos);
192 encrypt) < 0)
233 int encrypt; local
237 encrypt = atoi(pos);
249 encrypt) < 0)
/external/wpa_supplicant_8/src/ap/
H A Dctrl_iface_ap.c176 int encrypt; local
180 encrypt = atoi(pos);
192 encrypt) < 0)
233 int encrypt; local
237 encrypt = atoi(pos);
249 encrypt) < 0)
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dctrl_iface_ap.c176 int encrypt; local
180 encrypt = atoi(pos);
192 encrypt) < 0)
233 int encrypt; local
237 encrypt = atoi(pos);
249 encrypt) < 0)
/external/ppp/pppd/
H A Dpppcrypt.c137 encrypt((char *)des_input, 0);
153 encrypt((char *)des_input, 1);
/external/srtp/crypto/include/
H A Dcipher.h85 * and direction (i.e., encrypt or decrypt)
143 cipher_encrypt_func_t encrypt; member in struct:cipher_type_t
175 (((c)->type)->encrypt(((c)->state), (buf), (len)))
206 * number of bits that a cipher implementation can encrypt in a second
/external/chromium/crypto/
H A Dencryptor.h48 bool Crypt(bool encrypt, // Pass true to encrypt, false to decrypt.
/external/ipsec-tools/src/racoon/
H A Dalgorithm.h156 vchar_t *(*encrypt) __P((vchar_t *, vchar_t *, vchar_t *)); member in struct:enc_algorithm
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.security_1.0.200.v20100503.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 309 milliseconds

1234