Home
last modified time | relevance | path

Searched refs:encrypt (Results 1 – 25 of 90) sorted by relevance

1234

/external/openssl/crypto/des/
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) in des_cbc_encrypt() argument
64 int encrypt in des_cbc_encrypt()
79 l,*ks,ivec,encrypt); in des_cbc_encrypt()
85 des_cbc3_encrypt(input,ks1,ks2,ivec1,ivec2,encrypt) in des_cbc3_encrypt() argument
91 int encrypt in des_cbc3_encrypt()
104 l,*ks1,*ks2,ivec1,ivec2,encrypt); in des_cbc3_encrypt()
137 des_cfb_encrypt(input,numbits,ks,ivec,encrypt) in des_cfb_encrypt() argument
[all …]
/external/openssl/crypto/evp/
De_des.c78 DES_ecb_encrypt((DES_cblock *)(in + i), (DES_cblock *)(out + i), ctx->cipher_data, ctx->encrypt); in des_ecb_cipher()
105 (DES_cblock *)ctx->iv, ctx->encrypt); in des_cbc_cipher()
112 (DES_cblock *)ctx->iv, ctx->encrypt); in des_cbc_cipher()
122 (DES_cblock *)ctx->iv, &ctx->num, ctx->encrypt); in des_cfb64_cipher()
129 (DES_cblock *)ctx->iv, &ctx->num, ctx->encrypt); in des_cfb64_cipher()
149 ctx->encrypt); in des_cfb1_cipher()
168 (DES_cblock *)ctx->iv,ctx->encrypt); in des_cfb8_cipher()
175 (DES_cblock *)ctx->iv,ctx->encrypt); in des_cfb8_cipher()
De_des3.c97 ctx->encrypt); in des_ede_ecb_cipher()
139 (DES_cblock *)ctx->iv, ctx->encrypt); in des_ede_cbc_cipher()
147 (DES_cblock *)ctx->iv, ctx->encrypt); in des_ede_cbc_cipher()
158 (DES_cblock *)ctx->iv, &ctx->num, ctx->encrypt); in des_ede_cfb64_cipher()
166 (DES_cblock *)ctx->iv, &ctx->num, ctx->encrypt); in des_ede_cfb64_cipher()
183 (DES_cblock *)ctx->iv,ctx->encrypt); in des_ede3_cfb1_cipher()
198 (DES_cblock *)ctx->iv,ctx->encrypt); in des_ede3_cfb8_cipher()
206 (DES_cblock *)ctx->iv,ctx->encrypt); in des_ede3_cfb8_cipher()
De_aes.c268 aesni_cbc_encrypt(in,out,len,ctx->cipher_data,ctx->iv,ctx->encrypt); in aesni_cbc_cipher()
280 aesni_ecb_encrypt(in,out,len,ctx->cipher_data,ctx->encrypt); in aesni_ecb_cipher()
580 (*dat->stream.cbc)(in,out,len,&dat->ks,ctx->iv,ctx->encrypt); in aes_cbc_cipher()
581 else if (ctx->encrypt) in aes_cbc_cipher()
620 ctx->iv,&ctx->num,ctx->encrypt,dat->block); in aes_cfb_cipher()
630 ctx->iv,&ctx->num,ctx->encrypt,dat->block); in aes_cfb8_cipher()
641 ctx->iv,&ctx->num,ctx->encrypt,dat->block); in aes_cfb1_cipher()
647 ctx->iv,&ctx->num,ctx->encrypt,dat->block); in aes_cfb1_cipher()
652 ctx->iv,&ctx->num,ctx->encrypt,dat->block); in aes_cfb1_cipher()
736 if (arg <= 0 || arg > 16 || c->encrypt) in aes_gcm_ctrl()
[all …]
De_xcbc_d.c125 ctx->encrypt); in desx_cbc_cipher()
135 ctx->encrypt); in desx_cbc_cipher()
Dpmeth_fn.c195 if (!ctx || !ctx->pmeth || !ctx->pmeth->encrypt) in EVP_PKEY_encrypt_init()
214 if (!ctx || !ctx->pmeth || !ctx->pmeth->encrypt) in EVP_PKEY_encrypt()
226 return ctx->pmeth->encrypt(ctx, out, outlen, in, inlen); in EVP_PKEY_encrypt()
288 …if (!ctx || !ctx->pmeth || !(ctx->pmeth->derive||ctx->pmeth->encrypt||ctx->pmeth->decrypt) || !ctx… in EVP_PKEY_derive_set_peer()
Devp_locl.h74 cprefix##_ecb_encrypt(in + i, out + i, &((kstruct *)ctx->cipher_data)->ksched, ctx->encrypt);\
100 …crypt(in, out, (long)EVP_MAXCHUNK, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, ctx->encrypt);\
106 …##_cbc_encrypt(in, out, (long)inl, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, ctx->encrypt);\
118 …NGTH_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
Devp_enc.c107 enc = ctx->encrypt; in EVP_CipherInit_ex()
112 ctx->encrypt = enc; in EVP_CipherInit_ex()
133 ctx->encrypt = enc; in EVP_CipherInit_ex()
264 if (ctx->encrypt) in EVP_CipherUpdate()
271 if (ctx->encrypt) in EVP_CipherFinal_ex()
278 if (ctx->encrypt) in EVP_CipherFinal()
Devptests.txt1 #cipher:key:iv:plaintext:ciphertext:0/1(decrypt/encrypt)
16 # AES 128 ECB tests (from FIPS-197 test vectors, encrypt)
20 # AES 192 ECB tests (from FIPS-197 test vectors, encrypt)
24 # AES 256 ECB tests (from FIPS-197 test vectors, encrypt)
28 # AES 128 ECB tests (from NIST test vectors, encrypt)
44 # AES 128 CBC tests (from NIST test vectors, encrypt)
48 # AES 192 CBC tests (from NIST test vectors, encrypt)
52 # AES 256 CBC tests (from NIST test vectors, encrypt)
Dopenbsd_hw.c167 cryp.op=ctx->encrypt ? COP_ENCRYPT : COP_DECRYPT;
177 if(!ctx->encrypt)
230 if(ctx->encrypt)
Dpmeth_lib.c230 pmeth->encrypt = 0; in EVP_PKEY_meth_new()
279 dst->encrypt = src->encrypt; in EVP_PKEY_meth_copy()
567 pmeth->encrypt = encryptfn; in EVP_PKEY_meth_set_encrypt()
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/
DDESede.java42 private boolean encrypt; field in DESede
68 encrypt = encrypting; in init()
91 if (encrypt) in transformBlock()
DBlockCipherFactory.java73 public static BlockCipher createCipher(String type, boolean encrypt, byte[] key, byte[] iv) in createCipher() argument
83 bc.init(encrypt, key); in createCipher()
84 return new CBCMode(bc, iv, encrypt); in createCipher()
89 return new CTRMode(bc, iv, encrypt); in createCipher()
/external/wpa_supplicant_8/src/ap/
Dctrl_iface_ap.c203 int encrypt; in hostapd_ctrl_iface_deauthenticate() local
207 encrypt = atoi(pos); in hostapd_ctrl_iface_deauthenticate()
219 encrypt) < 0) in hostapd_ctrl_iface_deauthenticate()
264 int encrypt; in hostapd_ctrl_iface_disassociate() local
268 encrypt = atoi(pos); in hostapd_ctrl_iface_disassociate()
280 encrypt) < 0) in hostapd_ctrl_iface_disassociate()
/external/openssl/crypto/rc2/
Drc2_ecb.c74 int encrypt) in RC2_ecb_encrypt() argument
80 if (encrypt) in RC2_ecb_encrypt()
Drc2cfb64.c69 int *num, int encrypt) in RC2_cfb64_encrypt() argument
78 if (encrypt) in RC2_cfb64_encrypt()
/external/openssl/crypto/bf/
Dbf_ecb.c82 const BF_KEY *key, int encrypt) in BF_ecb_encrypt() argument
88 if (encrypt) in BF_ecb_encrypt()
Dbf_cfb64.c68 const BF_KEY *schedule, unsigned char *ivec, int *num, int encrypt) in BF_cfb64_encrypt() argument
77 if (encrypt) in BF_cfb64_encrypt()
/external/chromium/chrome/browser/sync/protocol/
Dencryption.proto18 // the name of the key that was used to encrypt blob and blob is encrypted data
26 // keep track of all keys, assign each key a name (by using that key to encrypt
27 // a well known string) and keep track of which key was used to encrypt each
/external/srtp/crypto/include/
Dcipher.h143 cipher_encrypt_func_t encrypt; member
175 (((c)->type)->encrypt(((c)->state), (buf), (len)))
/external/ppp/pppd/
Dpppcrypt.c137 encrypt((char *)des_input, 0);
153 encrypt((char *)des_input, 1);
/external/openssh/
Dacss.c209 if (key->encrypt) { in acss()
253 key->encrypt = enc; in acss_setkey()
Dcipher-aes.c64 enc = ctx->encrypt; in ssh_rijndael_init()
90 if (ctx->encrypt) { in ssh_rijndael_cbc()
Dacss.h37 int encrypt; /* XXX make these bit flags? */ member
/external/chromium/crypto/
Dencryptor.h48 bool Crypt(bool encrypt, // Pass true to encrypt, false to decrypt.

1234