/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyPairGeneratorSpiTest.java | 76 KeyPair kp = keyPairGen.generateKeyPair(); local 77 assertNull("Not null KeyPair", kp);
|
KeyPairGenerator3Test.java | 97 KeyPair kp, kp1; local 101 kp = kpg[i].generateKeyPair(); 103 assertFalse("Incorrect private key", kp.getPrivate().equals( 105 assertFalse("Incorrect public key", kp.getPublic().equals( 123 KeyPair kp, kp1; local 125 kp = kpg[i].generateKeyPair(); 127 assertFalse("Incorrect private key", kp.getPrivate().equals( 129 assertFalse("Incorrect public key", kp.getPublic().equals(
|
SignerTest.java | 57 KeyPair kp = new KeyPair(new PublicKeyStub("public", "SignerTest.testToString", null), new PrivateKeyStub("private", "SignerTest.testToString", null)); local 58 s1.setKeyPair(kp); 61 s2.setKeyPair(kp); 103 KeyPair kp = new KeyPair(publicKey, privateKey); local 109 s.setKeyPair(kp);
|
KeyPairGenerator1Test.java | 321 KeyPair kp, kp1; local 324 kp = kpg[i].generateKeyPair(); 327 assertFalse("Incorrect private key", kp.getPrivate().equals( 329 assertFalse("Incorrect public key", kp.getPublic().equals(
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyPairGeneratorSpiTest.java | 72 KeyPair kp = keyPairGen.generateKeyPair(); local 73 assertNull("Not null KeyPair", kp);
|
KeyPairGenerator3Test.java | 98 KeyPair kp, kp1; local 102 kp = kpg[i].generateKeyPair(); 104 assertFalse("Incorrect private key", kp.getPrivate().equals( 106 assertFalse("Incorrect public key", kp.getPublic().equals( 124 KeyPair kp, kp1; local 126 kp = kpg[i].generateKeyPair(); 128 assertFalse("Incorrect private key", kp.getPrivate().equals( 130 assertFalse("Incorrect public key", kp.getPublic().equals(
|
SignerTest.java | 65 KeyPair kp = new KeyPair(new PublicKeyStub("public", "SignerTest.testToString", null), local 67 s1.setKeyPair(kp); 70 s2.setKeyPair(kp); 129 KeyPair kp = new KeyPair(publicKey, privateKey); local 135 s.setKeyPair(kp); 153 KeyPair kp = new KeyPair(null, null); local 155 s.setKeyPair(kp);
|
KeyPairGenerator1Test.java | 320 KeyPair kp, kp1; local 323 kp = kpg[i].generateKeyPair(); 326 assertFalse("Incorrect private key", kp.getPrivate().equals( 328 assertFalse("Incorrect public key", kp.getPublic().equals(
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
CipherRSAThread.java | 38 KeyPair kp = kpg.generateKeyPair(); local 42 cip.init(Cipher.ENCRYPT_MODE, kp.getPublic()); 45 cip.init(Cipher.DECRYPT_MODE, kp.getPrivate());
|
/external/dropbear/libtomcrypt/src/ciphers/ |
skipjack.c | 91 tmp = g_func(w1, &kp, skey->skipjack.key); \ 97 tmp = g_func(w1, &kp, skey->skipjack.key); \ 104 w1 = ig_func(w2, &kp, skey->skipjack.key); \ 108 tmp = ig_func(w2, &kp, skey->skipjack.key); \ 112 static unsigned g_func(unsigned w, int *kp, unsigned char *key) 117 g1 ^= sbox[g2^key[*kp]]; *kp = keystep[*kp]; 118 g2 ^= sbox[g1^key[*kp]]; *kp = keystep[*kp] 150 int x, kp; local 214 int x, kp; local [all...] |
/external/jpeg/ |
ansi2knr.c | 514 char *kp; local 517 while ( (kp = *key) != 0 ) 518 { if ( strlen(kp) == len && !strncmp(kp, buf, len) )
|
/external/tcpdump/ |
print-krb.c | 155 register const struct krb *kp; local 161 #define IS_LENDIAN(kp) (((kp)->type & 0x01) != 0) 162 #define KTOHSP(kp, cp) (IS_LENDIAN(kp) ? EXTRACT_LE_16BITS(cp) : EXTRACT_16BITS(cp)) 164 kp = (struct krb *)cp; 166 if ((&kp->type) >= snapend) { 171 type = kp->type & (0xFF << 1); 174 IS_LENDIAN(kp) ? "le" : "be", tok2str(type2str, NULL, type)); 205 len = KTOHSP(kp, cp) 232 register const struct krb *kp; local [all...] |
/libcore/luni/src/test/java/libcore/java/security/ |
SignatureTest.java | 48 KeyPair kp = keyPair(algorithm); local 52 test_Signature(sig1, kp); 58 test_Signature(sig2, kp); 64 test_Signature(sig3, kp); 93 KeyPair kp = keypairAlgorithmToInstance.get(kpAlgorithm); local 94 if (kp == null) { 95 kp = KeyPairGenerator.getInstance(kpAlgorithm).generateKeyPair(); 96 keypairAlgorithmToInstance.put(sigAlgorithm, kp); 98 return kp;
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/kerberos/ |
KerberosKeyTest.java | 151 KerberosPrincipal kp = new KerberosPrincipal( local 154 key = new KerberosKey(kp, ((String) element[1]).toCharArray(),
|
/ndk/sources/host-tools/make-3.81/ |
ansi2knr.c | 512 char *kp; local 515 while ( (kp = *key) != 0 ) 516 { if ( strlen(kp) == len && !strncmp(kp, buf, len) )
|
/ndk/sources/host-tools/nawk-20071023/ |
lex.c | 437 int binsearch(char *w, Keyword *kp, int n) 445 if ((cond = strcmp(w, kp[mid].word)) < 0) 457 Keyword *kp; local 462 kp = keywords + n; 464 yylval.i = kp->sub; 465 switch (kp->type) { /* special handling */ 467 if (kp->sub == FSYSTEM && safe) 469 RET(kp->type); 473 RET(kp->type); 477 RET(kp->type) [all...] |
/packages/apps/Contacts/src/com/android/contacts/model/ |
BaseAccountType.java | 1028 final DataKind kp = newDataKind(context, parser, attrs, true, local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
ClientHandshakeImpl.java | 460 KeyPair kp = kpg.generateKeyPair(); local 461 Key key = kp.getPublic(); 484 key = kp.getPrivate();
|
ServerHandshakeImpl.java | 497 KeyPair kp = null; local 499 kp = kpg.genKeyPair(); 501 rsakey = (RSAPublicKey) kp.getPublic(); 503 DHPublicKey dhkey = (DHPublicKey) kp.getPublic(); 514 privKey = kp.getPrivate(); 551 privKey = kp.getPrivate(); // use emphemeral key for key exchange
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
EncryptedPrivateKeyInfoTest.java | 1555 KeyPair kp = kpg.genKeyPair(); local [all...] |
/external/opencv/cv/src/ |
cvinpaint.cpp | 334 int km=k-1+(k==1),kp=k-1-(k==t->rows-2); local 365 gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km-1,lm,color)))*2.0f; 367 gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color))); 371 gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km-1,lm,color))); 447 int km=k-1+(k==1),kp=k-1-(k==t->rows-2); local 478 gradI.y=(float)((CV_MAT_ELEM(*out,uchar,kp+1,lm)-CV_MAT_ELEM(*out,uchar,km-1,lm)))*2.0f; 480 gradI.y=(float)((CV_MAT_ELEM(*out,uchar,kp+1,lm)-CV_MAT_ELEM(*out,uchar,km,lm))); 484 gradI.y=(float)((CV_MAT_ELEM(*out,uchar,kp,lm)-CV_MAT_ELEM(*out,uchar,km-1,lm))); 542 int km=k-1+(k==1),kp=k-1-(k==f->rows-2); local 555 gradI.x=(float)(abs(CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,kp,lm,color)) 633 int km=k-1+(k==1),kp=k-1-(k==t->rows-2); local [all...] |
cvsurf.cpp | 357 CvSURFPoint* kp = (CvSURFPoint*)cvGetSeqElem( keypoints, k ); local 358 CvPoint2D32f center = kp->pt; 359 int size = kp->size; 409 kp->dir = descriptor_dir;
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
EncryptedPrivateKeyInfoTest.java | 1627 KeyPair kp = kpg.genKeyPair(); local [all...] |
/external/freetype/src/psaux/ |
afmparse.c | 316 "KP", 687 AFM_KernPair kp; local 726 kp = fi->KernPairs + n; 736 kp->index1 = shared_vals[0].u.i; 737 kp->index2 = shared_vals[1].u.i; 740 kp->x = 0; 741 kp->y = shared_vals[2].u.i; 745 kp->x = shared_vals[2].u.i; 746 kp->y = ( token == AFM_TOKEN_KP && r == 4 )
|
/external/libpng/ |
pngwutil.c | 1232 png_charp kp, dp; local [all...] |