/external/openssl/crypto/des/ |
D | cbc_cksm.c | 65 register DES_LONG tout0,tout1,tin0,tin1; in DES_cbc_cksum() local 72 c2l(iv,tout1); in DES_cbc_cksum() 84 tin1^=tout1; tin[1]=tin1; in DES_cbc_cksum() 88 tout1=tin[1]; in DES_cbc_cksum() 93 l2c(tout1,out); in DES_cbc_cksum() 101 tout1 = ((tout1 >> 24L) & 0x000000FF) in DES_cbc_cksum() 102 | ((tout1 >> 8L) & 0x0000FF00) in DES_cbc_cksum() 103 | ((tout1 << 8L) & 0x00FF0000) in DES_cbc_cksum() 104 | ((tout1 << 24L) & 0xFF000000); in DES_cbc_cksum() 105 return(tout1); in DES_cbc_cksum()
|
D | ncbc_enc.c | 75 register DES_LONG tout0,tout1,xor0,xor1; in DES_cbc_encrypt() local 85 c2l(iv,tout1); in DES_cbc_encrypt() 91 tin1^=tout1; tin[1]=tin1; in DES_cbc_encrypt() 94 tout1=tin[1]; l2c(tout1,out); in DES_cbc_encrypt() 100 tin1^=tout1; tin[1]=tin1; in DES_cbc_encrypt() 103 tout1=tin[1]; l2c(tout1,out); in DES_cbc_encrypt() 108 l2c(tout1,iv); in DES_cbc_encrypt() 121 tout1=tin[1]^xor1; in DES_cbc_encrypt() 123 l2c(tout1,out); in DES_cbc_encrypt() 133 tout1=tin[1]^xor1; in DES_cbc_encrypt() [all …]
|
D | xcbc_enc.c | 118 register DES_LONG tout0,tout1,xor0,xor1; in DES_xcbc_encrypt() local 137 c2l(iv,tout1); in DES_xcbc_encrypt() 143 tin1^=tout1^inW1; tin[1]=tin1; in DES_xcbc_encrypt() 146 tout1=tin[1]^outW1; l2c(tout1,out); in DES_xcbc_encrypt() 152 tin1^=tout1^inW1; tin[1]=tin1; in DES_xcbc_encrypt() 155 tout1=tin[1]^outW1; l2c(tout1,out); in DES_xcbc_encrypt() 159 l2c(tout1,iv); in DES_xcbc_encrypt() 171 tout1=tin[1]^xor1^inW1; in DES_xcbc_encrypt() 173 l2c(tout1,out); in DES_xcbc_encrypt() 183 tout1=tin[1]^xor1^inW1; in DES_xcbc_encrypt() [all …]
|
D | pcbc_enc.c | 65 register DES_LONG sin0,sin1,xor0,xor1,tout0,tout1; in DES_pcbc_encrypt() local 91 tout1=tin[1]; in DES_pcbc_encrypt() 93 xor1=sin1^tout1; in DES_pcbc_encrypt() 95 l2c(tout1,out); in DES_pcbc_encrypt() 109 tout1=tin[1]^xor1; in DES_pcbc_encrypt() 113 l2c(tout1,out); in DES_pcbc_encrypt() 116 l2cn(tout0,tout1,out,length); in DES_pcbc_encrypt() 118 xor1=tout1^sin1; in DES_pcbc_encrypt() 122 sin0=sin1=xor0=xor1=tout0=tout1=0; in DES_pcbc_encrypt()
|
D | ede_cbcm_enc.c | 82 register DES_LONG tout0,tout1,xor0,xor1,m0,m1; in DES_ede3_cbcm_encrypt() local 95 c2l(iv2,tout1); in DES_ede3_cbcm_encrypt() 114 tin1^=tout1; in DES_ede3_cbcm_encrypt() 126 tout1=tin[1]; in DES_ede3_cbcm_encrypt() 129 l2c(tout1,out); in DES_ede3_cbcm_encrypt() 137 l2c(tout1,iv2); in DES_ede3_cbcm_encrypt() 171 tout1=tin[1]; in DES_ede3_cbcm_encrypt() 174 tout1^=xor1; in DES_ede3_cbcm_encrypt() 177 l2cn(tout0,tout1,out,l+8); in DES_ede3_cbcm_encrypt() 182 l2c(tout1,out); in DES_ede3_cbcm_encrypt() [all …]
|
D | des_enc.c | 294 register DES_LONG tout0,tout1,xor0,xor1; in DES_ede3_cbc_encrypt() local 308 c2l(iv,tout1); in DES_ede3_cbc_encrypt() 314 tin1^=tout1; in DES_ede3_cbc_encrypt() 320 tout1=tin[1]; in DES_ede3_cbc_encrypt() 323 l2c(tout1,out); in DES_ede3_cbc_encrypt() 329 tin1^=tout1; in DES_ede3_cbc_encrypt() 335 tout1=tin[1]; in DES_ede3_cbc_encrypt() 338 l2c(tout1,out); in DES_ede3_cbc_encrypt() 342 l2c(tout1,iv); in DES_ede3_cbc_encrypt() 362 tout1=tin[1]; in DES_ede3_cbc_encrypt() [all …]
|
/external/openssl/crypto/rc2/ |
D | rc2_cbc.c | 66 register unsigned long tout0,tout1,xor0,xor1; in RC2_cbc_encrypt() local 73 c2l(iv,tout1); in RC2_cbc_encrypt() 80 tin1^=tout1; in RC2_cbc_encrypt() 85 tout1=tin[1]; l2c(tout1,out); in RC2_cbc_encrypt() 91 tin1^=tout1; in RC2_cbc_encrypt() 96 tout1=tin[1]; l2c(tout1,out); in RC2_cbc_encrypt() 99 l2c(tout1,iv); in RC2_cbc_encrypt() 112 tout1=tin[1]^xor1; in RC2_cbc_encrypt() 114 l2c(tout1,out); in RC2_cbc_encrypt() 124 tout1=tin[1]^xor1; in RC2_cbc_encrypt() [all …]
|
/external/openssl/crypto/bf/ |
D | bf_enc.c | 228 register BF_LONG tout0,tout1,xor0,xor1; in BF_cbc_encrypt() local 235 n2l(ivec,tout1); in BF_cbc_encrypt() 242 tin1^=tout1; in BF_cbc_encrypt() 247 tout1=tin[1]; in BF_cbc_encrypt() 249 l2n(tout1,out); in BF_cbc_encrypt() 255 tin1^=tout1; in BF_cbc_encrypt() 260 tout1=tin[1]; in BF_cbc_encrypt() 262 l2n(tout1,out); in BF_cbc_encrypt() 265 l2n(tout1,ivec); in BF_cbc_encrypt() 280 tout1=tin[1]^xor1; in BF_cbc_encrypt() [all …]
|