/external/chromium_org/third_party/openssl/openssl/crypto/dh/ |
D | dhtest.c | 102 unsigned char *abuf=NULL,*bbuf=NULL; in main() local 179 bbuf=(unsigned char *)OPENSSL_malloc(blen); in main() 180 bout=DH_compute_key(bbuf,a->pub_key,b); in main() 185 sprintf(buf,"%02X",bbuf[i]); in main() 189 if ((aout < 4) || (bout != aout) || (memcmp(abuf,bbuf,aout) != 0)) in main() 200 if (bbuf != NULL) OPENSSL_free(bbuf); in main()
|
/external/openssl/crypto/dh/ |
D | dhtest.c | 102 unsigned char *abuf=NULL,*bbuf=NULL; in main() local 179 bbuf=(unsigned char *)OPENSSL_malloc(blen); in main() 180 bout=DH_compute_key(bbuf,a->pub_key,b); in main() 185 sprintf(buf,"%02X",bbuf[i]); in main() 189 if ((aout < 4) || (bout != aout) || (memcmp(abuf,bbuf,aout) != 0)) in main() 200 if (bbuf != NULL) OPENSSL_free(bbuf); in main()
|
/external/openssl/crypto/ecdh/ |
D | ecdhtest.c | 130 unsigned char *abuf=NULL,*bbuf=NULL; in test_ecdh_curve() local 227 bbuf=(unsigned char *)OPENSSL_malloc(blen); in test_ecdh_curve() 228 bout=ECDH_compute_key(bbuf,blen,EC_KEY_get0_public_key(a),b,KDF1_SHA1); in test_ecdh_curve() 234 sprintf(buf,"%02X",bbuf[i]); in test_ecdh_curve() 243 if ((aout < 4) || (bout != aout) || (memcmp(abuf,bbuf,aout) != 0)) in test_ecdh_curve() 267 sprintf(buf, "%02X", bbuf[i]); in test_ecdh_curve() 293 if (bbuf != NULL) OPENSSL_free(bbuf); in test_ecdh_curve()
|
/external/chromium_org/third_party/openssl/openssl/crypto/ecdh/ |
D | ecdhtest.c | 130 unsigned char *abuf=NULL,*bbuf=NULL; in test_ecdh_curve() local 227 bbuf=(unsigned char *)OPENSSL_malloc(blen); in test_ecdh_curve() 228 bout=ECDH_compute_key(bbuf,blen,EC_KEY_get0_public_key(a),b,KDF1_SHA1); in test_ecdh_curve() 234 sprintf(buf,"%02X",bbuf[i]); in test_ecdh_curve() 243 if ((aout < 4) || (bout != aout) || (memcmp(abuf,bbuf,aout) != 0)) in test_ecdh_curve() 267 sprintf(buf, "%02X", bbuf[i]); in test_ecdh_curve() 293 if (bbuf != NULL) OPENSSL_free(bbuf); in test_ecdh_curve()
|
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
D | SecureClassLoaderTest.java | 203 ByteBuffer bbuf = ByteBuffer.wrap(klassData); in testDefineClassStringByteBufferCodeSource() local 204 Class klass = ldr.defineClass(null, bbuf, null); in testDefineClassStringByteBufferCodeSource()
|
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/ |
D | CipherSpiTest.java | 181 byte[] bbuf = new byte[len]; in testCipherSpi06() 182 for (int i = 0; i < bbuf.length; i++) { in testCipherSpi06() 183 bbuf[i] = (byte) i; in testCipherSpi06() 185 ByteBuffer bb1 = ByteBuffer.wrap(bbuf); in testCipherSpi06()
|
D | MacSpiTest.java | 113 byte[] bbuf = { (byte) 5, (byte) 4, (byte) 3, (byte) 2, (byte) 1 }; in testMacSpiTests01() 115 byteBuf.put(bbuf); in testMacSpiTests01()
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
D | stunserver.cc | 48 talk_base::ByteBuffer bbuf(buf, size); in OnPacket() local 50 if (!msg.Read(&bbuf)) { in OnPacket()
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | MacTest.java | 664 byte[] bbuf = { (byte) 5, (byte) 4, (byte) 3, (byte) 2, (byte) 1 }; in testUpdateByteBuffer02() 670 byteBuf.put(bbuf); in testUpdateByteBuffer02() 677 macs[i].update(bbuf, 2, 3); in testUpdateByteBuffer02() 736 byte[] bbuf = { (byte) 5, (byte) 4, (byte) 3, (byte) 2, (byte) 1 }; in testReset() 749 macs[i].update(bbuf); in testReset() 752 macs[i].update(bbuf, 0, bbuf.length); in testReset()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cnumtst.c | 2520 char bbuf[kUBufMax*2]; in TestContext() local 2521 u_austrncpy(bbuf, ubufResult, sizeof(bbuf)); in TestContext() 2524 itemPtr->expectedResult, ulenRes, bbuf); in TestContext()
|