/external/openssl/crypto/dh/ |
dhtest.c | 102 unsigned char *abuf=NULL,*bbuf=NULL; local 179 bbuf=(unsigned char *)OPENSSL_malloc(blen); 180 bout=DH_compute_key(bbuf,a->pub_key,b); 185 sprintf(buf,"%02X",bbuf[i]); 189 if ((aout < 4) || (bout != aout) || (memcmp(abuf,bbuf,aout) != 0)) 200 if (bbuf != NULL) OPENSSL_free(bbuf);
|
/external/openssl/crypto/ecdh/ |
ecdhtest.c | 130 unsigned char *abuf=NULL,*bbuf=NULL; local 223 bbuf=(unsigned char *)OPENSSL_malloc(blen); 224 bout=ECDH_compute_key(bbuf,blen,EC_KEY_get0_public_key(a),b,KDF1_SHA1); 230 sprintf(buf,"%02X",bbuf[i]); 239 if ((aout < 4) || (bout != aout) || (memcmp(abuf,bbuf,aout) != 0)) 263 sprintf(buf, "%02X", bbuf[i]); 289 if (bbuf != NULL) OPENSSL_free(bbuf);
|
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/ |
MacSpiTest.java | 114 byte [] bbuf = {(byte)5, (byte)4, (byte)3, (byte)2, (byte)1}; 116 byteBuf.put(bbuf);
|
CipherSpiTest.java | 182 byte[] bbuf = new byte[len]; 183 for (int i = 0; i < bbuf.length; i++) { 184 bbuf[i] = (byte) i; 186 ByteBuffer bb1 = ByteBuffer.wrap(bbuf);
|
/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
stunserver.cc | 53 talk_base::ByteBuffer bbuf(buf, size); 55 if (!msg.Read(&bbuf)) {
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
MacSpiTest.java | 216 byte [] bbuf = {(byte)5, (byte)4, (byte)3, (byte)2, (byte)1}; 218 byteBuf.put(bbuf);
|
CipherSpiTest.java | 268 byte[] bbuf = new byte[len]; 269 for (int i = 0; i < bbuf.length; i++) { 270 bbuf[i] = (byte) i; 272 ByteBuffer bb1 = ByteBuffer.wrap(bbuf);
|
MacTest.java | 303 ByteBuffer bBuf = ByteBuffer.wrap(buf, 0, 10); 323 macs[i].update(bBuf); 678 byte [] bbuf = {(byte)5, (byte)4, (byte)3, (byte)2, (byte)1}; 684 byteBuf.put(bbuf); 691 macs[i].update(bbuf, 2, 3); 748 byte [] bbuf = {(byte)5, (byte)4, (byte)3, (byte)2, (byte)1}; 761 macs[i].update(bbuf); 764 macs[i].update(bbuf, 0, bbuf.length);
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
MacTest.java | 299 ByteBuffer bBuf = ByteBuffer.wrap(buf, 0, 10); 317 macs[i].update(bBuf); 655 byte [] bbuf = {(byte)5, (byte)4, (byte)3, (byte)2, (byte)1}; 661 byteBuf.put(bbuf); 668 macs[i].update(bbuf, 2, 3); 725 byte [] bbuf = {(byte)5, (byte)4, (byte)3, (byte)2, (byte)1}; 738 macs[i].update(bbuf); 741 macs[i].update(bbuf, 0, bbuf.length);
|
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
SecureClassLoaderTest.java | 204 ByteBuffer bbuf = ByteBuffer.wrap(klassData); local 205 Class klass = ldr.defineClass(null, bbuf, null);
|
/external/grub/netboot/ |
tlan.c | [all...] |