HomeSort by relevance Sort by last modified time
    Searched defs:ks2 (Results 1 - 6 of 6) sorted by null

  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
SecretKeySpecTest.java 218 SecretKeySpec ks2 = new SecretKeySpec(key, algorithm); local
220 ks1.hashCode() == ks2.hashCode());
233 SecretKeySpec ks2 = new SecretKeySpec(key, algorithm); local
241 ks1.equals(ks2));
244 ks2.equals(ks1));
247 ks2.equals(ks3));
255 ks2 = new SecretKeySpec(new byte[] {1}, algorithm);
256 assertFalse("Objects should not be equal.", ks1.equals(ks2));
258 ks2 = new SecretKeySpec(key, "Another Algorithm");
259 assertFalse("Objects should not be equal.", ks1.equals(ks2));
    [all...]
  /external/openssl/crypto/evp/
e_des3.c 81 DES_key_schedule ks2;/* key schedule (for ede) */ member in struct:__anon10036
95 &data(ctx)->ks1, &data(ctx)->ks2,
107 &data(ctx)->ks1, &data(ctx)->ks2, &data(ctx)->ks3,
115 &data(ctx)->ks1, &data(ctx)->ks2, &data(ctx)->ks3,
138 &data(ctx)->ks1, &data(ctx)->ks2, &data(ctx)->ks3,
146 &data(ctx)->ks1, &data(ctx)->ks2, &data(ctx)->ks3,
157 &data(ctx)->ks1, &data(ctx)->ks2, &data(ctx)->ks3,
165 &data(ctx)->ks1, &data(ctx)->ks2, &data(ctx)->ks3,
182 &data(ctx)->ks1,&data(ctx)->ks2,&data(ctx)->ks3,
197 &data(ctx)->ks1,&data(ctx)->ks2,&data(ctx)->ks3
    [all...]
e_aes.c 89 AES_KEY ks1, ks2; /* AES key schedules to use */ member in struct:__anon10029
370 ctx->key_len * 4, &xctx->ks2);
378 xctx->xts.key2 = &xctx->ks2;
1087 ctx->key_len * 4, &xctx->ks2);
1106 ctx->key_len * 4, &xctx->ks2);
1114 xctx->xts.key2 = &xctx->ks2;
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
SecretKeySpecTest.java 217 SecretKeySpec ks2 = new SecretKeySpec(key, algorithm); local
219 ks1.hashCode() == ks2.hashCode());
232 SecretKeySpec ks2 = new SecretKeySpec(key, algorithm); local
240 ks1.equals(ks2));
243 ks2.equals(ks1));
246 ks2.equals(ks3));
254 ks2 = new SecretKeySpec(new byte[] {1}, algorithm);
255 assertFalse("Objects should not be equal.", ks1.equals(ks2));
257 ks2 = new SecretKeySpec(key, "Another Algorithm");
258 assertFalse("Objects should not be equal.", ks1.equals(ks2));
    [all...]
  /external/openssl/crypto/des/
destest.c 339 des_key_schedule ks,ks2,ks3; local
362 if ((j=DES_set_key_checked(&cbc2_key,&ks2)) != 0)
379 DES_ede3_cbcm_encrypt(cbc_data,cbc_out,16L,&ks,&ks2,&ks3,&iv3,&iv2,
381 DES_ede3_cbcm_encrypt(&cbc_data[16],&cbc_out[16],i-16,&ks,&ks2,&ks3,
392 DES_ede3_cbcm_encrypt(cbc_out,cbc_in,i,&ks,&ks2,&ks3,&iv3,&iv2,DES_DECRYPT);
438 DES_set_key_unchecked(&key_data[i+1],&ks2);
443 des_ecb2_encrypt(&in,&out,ks,ks2,DES_ENCRYPT);
444 des_ecb2_encrypt(&out,&outin,ks,ks2,DES_DECRYPT);
521 if ((j=DES_set_key_checked(&cbc2_key,&ks2)) != 0)
537 des_ede3_cbc_encrypt(cbc_data,cbc_out,16L,ks,ks2,ks3,&iv3
    [all...]
des.c 367 DES_key_schedule ks,ks2; local
429 DES_set_key_unchecked(&k2,&ks2);
437 DES_set_key_unchecked(&k2,&ks2);
518 &ks,&ks2,do_encrypt);
527 (long)l,ks,ks2,&iv,
597 &ks,&ks2,do_encrypt);
602 (long)l,ks,ks2,&iv,
672 OPENSSL_cleanse(&ks2,sizeof(ks2));

Completed in 812 milliseconds