/external/openssl/crypto/evp/ |
D | e_des3.c | 80 DES_key_schedule ks1;/* key schedule */ member 95 &data(ctx)->ks1, &data(ctx)->ks2, in des_ede_ecb_cipher() 107 &data(ctx)->ks1, &data(ctx)->ks2, &data(ctx)->ks3, in des_ede_ofb_cipher() 115 &data(ctx)->ks1, &data(ctx)->ks2, &data(ctx)->ks3, in des_ede_ofb_cipher() 138 &data(ctx)->ks1, &data(ctx)->ks2, &data(ctx)->ks3, in des_ede_cbc_cipher() 146 &data(ctx)->ks1, &data(ctx)->ks2, &data(ctx)->ks3, in des_ede_cbc_cipher() 157 &data(ctx)->ks1, &data(ctx)->ks2, &data(ctx)->ks3, in des_ede_cfb64_cipher() 165 &data(ctx)->ks1, &data(ctx)->ks2, &data(ctx)->ks3, in des_ede_cfb64_cipher() 182 &data(ctx)->ks1,&data(ctx)->ks2,&data(ctx)->ks3, in des_ede3_cfb1_cipher() 197 &data(ctx)->ks1,&data(ctx)->ks2,&data(ctx)->ks3, in des_ede3_cfb8_cipher() [all …]
|
D | e_aes.c | 89 AES_KEY ks1, ks2; /* AES key schedules to use */ member 358 aesni_set_encrypt_key(key, ctx->key_len * 4, &xctx->ks1); in aesni_xts_init_key() 364 aesni_set_decrypt_key(key, ctx->key_len * 4, &xctx->ks1); in aesni_xts_init_key() 373 xctx->xts.key1 = &xctx->ks1; in aesni_xts_init_key() 1077 vpaes_set_encrypt_key(key, ctx->key_len * 4, &xctx->ks1); in aes_xts_init_key() 1082 vpaes_set_decrypt_key(key, ctx->key_len * 4, &xctx->ks1); in aes_xts_init_key() 1090 xctx->xts.key1 = &xctx->ks1; in aes_xts_init_key() 1096 AES_set_encrypt_key(key, ctx->key_len * 4, &xctx->ks1); in aes_xts_init_key() 1101 AES_set_decrypt_key(key, ctx->key_len * 4, &xctx->ks1); in aes_xts_init_key() 1109 xctx->xts.key1 = &xctx->ks1; in aes_xts_init_key()
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
D | SecretKeySpecTest.java | 217 SecretKeySpec ks1 = new SecretKeySpec(key, algorithm); in testHashCode() local 220 ks1.hashCode() == ks2.hashCode()); in testHashCode() 232 SecretKeySpec ks1 = new SecretKeySpec(key, algorithm); in testEquals() local 238 ks1.equals(ks1)); in testEquals() 241 ks1.equals(ks2)); in testEquals() 244 ks2.equals(ks1)); in testEquals() 250 ks1.equals(ks3)); in testEquals() 253 ks1.equals(null)); in testEquals() 256 assertFalse("Objects should not be equal.", ks1.equals(ks2)); in testEquals() 259 assertFalse("Objects should not be equal.", ks1.equals(ks2)); in testEquals()
|
/external/openssl/crypto/des/ |
D | des_old.c | 84 des_key_schedule ks1,des_key_schedule ks2, in _ossl_old_des_ecb3_encrypt() argument 88 (DES_key_schedule *)ks1, (DES_key_schedule *)ks2, in _ossl_old_des_ecb3_encrypt() 135 void _ossl_old_des_encrypt3(DES_LONG *data, des_key_schedule ks1, in _ossl_old_des_encrypt3() argument 138 DES_encrypt3(data, (DES_key_schedule *)ks1, (DES_key_schedule *)ks2, in _ossl_old_des_encrypt3() 141 void _ossl_old_des_decrypt3(DES_LONG *data, des_key_schedule ks1, in _ossl_old_des_decrypt3() argument 144 DES_decrypt3(data, (DES_key_schedule *)ks1, (DES_key_schedule *)ks2, in _ossl_old_des_decrypt3() 148 long length, des_key_schedule ks1, des_key_schedule ks2, in _ossl_old_des_ede3_cbc_encrypt() argument 152 length, (DES_key_schedule *)ks1, (DES_key_schedule *)ks2, in _ossl_old_des_ede3_cbc_encrypt() 156 long length, des_key_schedule ks1, des_key_schedule ks2, in _ossl_old_des_ede3_cfb64_encrypt() argument 160 (DES_key_schedule *)ks1, (DES_key_schedule *)ks2, in _ossl_old_des_ede3_cfb64_encrypt() [all …]
|
D | cfb64ede.c | 68 long length, DES_key_schedule *ks1, in DES_ede3_cfb64_encrypt() argument 90 DES_encrypt3(ti,ks1,ks2,ks3); in DES_ede3_cfb64_encrypt() 116 DES_encrypt3(ti,ks1,ks2,ks3); in DES_ede3_cfb64_encrypt() 138 DES_key_schedule ks1, DES_key_schedule ks2, DES_cblock (*ivec), in DES_ede2_cfb64_encrypt() argument 141 DES_ede3_cfb64_encrypt(in,out,length,ks1,ks2,ks1,ivec,num,enc); in DES_ede2_cfb64_encrypt() 150 int numbits,long length,DES_key_schedule *ks1, in DES_ede3_cfb_encrypt() argument 172 DES_encrypt3(ti,ks1,ks2,ks3); in DES_ede3_cfb_encrypt() 214 DES_encrypt3(ti,ks1,ks2,ks3); in DES_ede3_cfb_encrypt()
|
D | cbc3_enc.c | 63 DES_key_schedule ks1, DES_key_schedule ks2, DES_cblock *iv1, in DES_3cbc_encrypt() argument 73 (unsigned char*)output,length,&ks1,iv1,enc); in DES_3cbc_encrypt() 79 (unsigned char*)output,l8,&ks1,iv2,enc); in DES_3cbc_encrypt() 88 (unsigned char*)output,l8,&ks1,iv2,enc); in DES_3cbc_encrypt() 94 (unsigned char*)output,length,&ks1,iv1,enc); in DES_3cbc_encrypt()
|
D | des.h | 132 DES_key_schedule *ks1,DES_key_schedule *ks2, 172 void DES_encrypt3(DES_LONG *data, DES_key_schedule *ks1, 174 void DES_decrypt3(DES_LONG *data, DES_key_schedule *ks1, 178 DES_key_schedule *ks1,DES_key_schedule *ks2, 182 DES_key_schedule *ks1,DES_key_schedule *ks2, 187 long length,DES_key_schedule *ks1, 191 int numbits,long length,DES_key_schedule *ks1, 195 long length,DES_key_schedule *ks1,
|
D | ecb3_enc.c | 62 DES_key_schedule *ks1, DES_key_schedule *ks2, in DES_ecb3_encrypt() argument 76 DES_encrypt3(ll,ks1,ks2,ks3); in DES_ecb3_encrypt() 78 DES_decrypt3(ll,ks1,ks2,ks3); in DES_ecb3_encrypt()
|
D | ede_cbcm_enc.c | 77 long length, DES_key_schedule *ks1, DES_key_schedule *ks2, in DES_ede3_cbcm_encrypt() argument 118 DES_encrypt1(tin,ks1,1); in DES_ede3_cbcm_encrypt() 124 DES_encrypt1(tin,ks1,1); in DES_ede3_cbcm_encrypt() 163 DES_encrypt1(tin,ks1,0); in DES_ede3_cbcm_encrypt() 169 DES_encrypt1(tin,ks1,0); in DES_ede3_cbcm_encrypt()
|
D | des_enc.c | 243 void DES_encrypt3(DES_LONG *data, DES_key_schedule *ks1, in DES_encrypt3() argument 253 DES_encrypt2((DES_LONG *)data,ks1,DES_ENCRYPT); in DES_encrypt3() 263 void DES_decrypt3(DES_LONG *data, DES_key_schedule *ks1, in DES_decrypt3() argument 275 DES_encrypt2((DES_LONG *)data,ks1,DES_DECRYPT); in DES_decrypt3() 289 long length, DES_key_schedule *ks1, in DES_ede3_cbc_encrypt() argument 318 DES_encrypt3((DES_LONG *)tin,ks1,ks2,ks3); in DES_ede3_cbc_encrypt() 333 DES_encrypt3((DES_LONG *)tin,ks1,ks2,ks3); in DES_ede3_cbc_encrypt() 360 DES_decrypt3((DES_LONG *)tin,ks1,ks2,ks3); in DES_ede3_cbc_encrypt() 381 DES_decrypt3((DES_LONG *)tin,ks1,ks2,ks3); in DES_ede3_cbc_encrypt()
|
D | DES.xs | 85 des_cbc3_encrypt(input,ks1,ks2,ivec1,ivec2,encrypt) in des_cbc3_encrypt() argument 87 des_key_schedule * ks1 in des_cbc3_encrypt() 104 l,*ks1,*ks2,ivec1,ivec2,encrypt); in des_cbc3_encrypt() 162 des_ecb3_encrypt(input,ks1,ks2,encrypt) in des_ecb3_encrypt() argument 164 des_key_schedule * ks1 in des_ecb3_encrypt() 172 *ks1,*ks2,encrypt); in des_ecb3_encrypt()
|
D | des_old.h | 337 _ossl_old_des_key_schedule ks1,_ossl_old_des_key_schedule ks2, 354 void _ossl_old_des_encrypt3(DES_LONG *data, _ossl_old_des_key_schedule ks1, 356 void _ossl_old_des_decrypt3(DES_LONG *data, _ossl_old_des_key_schedule ks1, 359 long length, _ossl_old_des_key_schedule ks1, _ossl_old_des_key_schedule ks2, 362 long length, _ossl_old_des_key_schedule ks1, _ossl_old_des_key_schedule ks2, 365 long length, _ossl_old_des_key_schedule ks1, _ossl_old_des_key_schedule ks2,
|
/external/openssl/include/openssl/ |
D | des.h | 132 DES_key_schedule *ks1,DES_key_schedule *ks2, 172 void DES_encrypt3(DES_LONG *data, DES_key_schedule *ks1, 174 void DES_decrypt3(DES_LONG *data, DES_key_schedule *ks1, 178 DES_key_schedule *ks1,DES_key_schedule *ks2, 182 DES_key_schedule *ks1,DES_key_schedule *ks2, 187 long length,DES_key_schedule *ks1, 191 int numbits,long length,DES_key_schedule *ks1, 195 long length,DES_key_schedule *ks1,
|
D | des_old.h | 337 _ossl_old_des_key_schedule ks1,_ossl_old_des_key_schedule ks2, 354 void _ossl_old_des_encrypt3(DES_LONG *data, _ossl_old_des_key_schedule ks1, 356 void _ossl_old_des_decrypt3(DES_LONG *data, _ossl_old_des_key_schedule ks1, 359 long length, _ossl_old_des_key_schedule ks1, _ossl_old_des_key_schedule ks2, 362 long length, _ossl_old_des_key_schedule ks1, _ossl_old_des_key_schedule ks2, 365 long length, _ossl_old_des_key_schedule ks1, _ossl_old_des_key_schedule ks2,
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
D | KSBuilder_ImplTest.java | 244 KeyStore ks1 = null; in testNewInstanceStringProviderFileProtectionParameter() local 328 ks1 = ksB1.getKeyStore(); in testNewInstanceStringProviderFileProtectionParameter() 338 assertEquals("Incorrect KeyStore size", ks.size(), ks1.size()); in testNewInstanceStringProviderFileProtectionParameter() 354 iter = ks1.aliases(); in testNewInstanceStringProviderFileProtectionParameter()
|
/external/openssl/crypto/des/asm/ |
D | des_enc.m4 | 642 ! parameter 5 1: load ks1/ks2 to in3/in4, add 120 to in4 1351 ! void DES_encrypt3(data, ks1, ks2, ks3) 1396 ! void DES_decrypt3(data, ks1, ks2, ks3) 1427 add in1, 120, in4 ! preload ks1 1521 ! parameter 5 1: load ks1/ks2 to in3/in4, add 120 to in4 1665 ! void DES_ede3_cbc_encrypt(input, output, lenght, ks1, ks2, ks3, ivec, enc) 1729 call .des_enc ! ks1 in3 1755 ! parameter 5 1: load ks1/ks2 to in3/in4, add 120 to in4 1851 call .des_dec ! ks1 in4
|
D | readme | 13 des_encrypt3(DES_LONG data[2],des_key_schedule ks1,ks2,ks3); 14 des_decrypt3(DES_LONG data[2],des_key_schedule ks1,ks2,ks3);
|