Home
last modified time | relevance | path

Searched refs:SSL3_RANDOM_LENGTH (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/net/third_party/nss/patches/
Dsecretexporterlocks.patch28 PORT_Memcpy(val + i, &ss->ssl3.hs.client_random.rand, SSL3_RANDOM_LENGTH);
29 i += SSL3_RANDOM_LENGTH;
30 PORT_Memcpy(val + i, &ss->ssl3.hs.server_random.rand, SSL3_RANDOM_LENGTH);
31 i += SSL3_RANDOM_LENGTH;
Dnssrwlock.patch58 SSL3_RANDOM_LENGTH);
/external/chromium_org/net/third_party/nss/ssl/
Dderive.c93 unsigned char srcrdata[SSL3_RANDOM_LENGTH * 2]; in ssl3_KeyAndMacDeriveBypass()
94 unsigned char crsrdata[SSL3_RANDOM_LENGTH * 2]; in ssl3_KeyAndMacDeriveBypass()
140 PORT_Memcpy(srcrdata, sr, SSL3_RANDOM_LENGTH); in ssl3_KeyAndMacDeriveBypass()
141 PORT_Memcpy(srcrdata + SSL3_RANDOM_LENGTH, cr, SSL3_RANDOM_LENGTH); in ssl3_KeyAndMacDeriveBypass()
147 PORT_Memcpy(crsrdata, cr, SSL3_RANDOM_LENGTH); in ssl3_KeyAndMacDeriveBypass()
148 PORT_Memcpy(crsrdata + SSL3_RANDOM_LENGTH, sr, SSL3_RANDOM_LENGTH); in ssl3_KeyAndMacDeriveBypass()
449 unsigned char crsrdata[SSL3_RANDOM_LENGTH * 2]; in ssl3_MasterKeyDeriveBypass()
470 PORT_Memcpy(crsrdata, cr, SSL3_RANDOM_LENGTH); in ssl3_MasterKeyDeriveBypass()
471 PORT_Memcpy(crsrdata + SSL3_RANDOM_LENGTH, sr, SSL3_RANDOM_LENGTH); in ssl3_MasterKeyDeriveBypass()
530 unsigned char rand[SSL3_RANDOM_LENGTH]; in ssl_canExtractMS()
[all …]
Dsslinfo.c367 valLen = SSL3_RANDOM_LENGTH * 2; in SSL_ExportKeyingMaterial()
379 PORT_Memcpy(val + i, &ss->ssl3.hs.client_random.rand, SSL3_RANDOM_LENGTH); in SSL_ExportKeyingMaterial()
380 i += SSL3_RANDOM_LENGTH; in SSL_ExportKeyingMaterial()
381 PORT_Memcpy(val + i, &ss->ssl3.hs.server_random.rand, SSL3_RANDOM_LENGTH); in SSL_ExportKeyingMaterial()
382 i += SSL3_RANDOM_LENGTH; in SSL_ExportKeyingMaterial()
Dssl3prot.h26 #define SSL3_RANDOM_LENGTH 32 macro
142 SSL3Opaque rand[SSL3_RANDOM_LENGTH];
Dssl3ecc.c231 PRUint8 buf[2*SSL3_RANDOM_LENGTH + 2 + 1 + 256]; in ssl3_ComputeECDHKeyHash()
233 bufLen = 2*SSL3_RANDOM_LENGTH + ec_params.len + 1 + server_ecpoint.len; in ssl3_ComputeECDHKeyHash()
243 memcpy(hashBuf, client_rand, SSL3_RANDOM_LENGTH); in ssl3_ComputeECDHKeyHash()
244 pBuf = hashBuf + SSL3_RANDOM_LENGTH; in ssl3_ComputeECDHKeyHash()
245 memcpy(pBuf, server_rand, SSL3_RANDOM_LENGTH); in ssl3_ComputeECDHKeyHash()
246 pBuf += SSL3_RANDOM_LENGTH; in ssl3_ComputeECDHKeyHash()
Dssl3con.c928 rv = PK11_GenerateRandom(random->rand, SSL3_RANDOM_LENGTH); in ssl3_GetNewRandom()
1214 PRUint8 buf[2*SSL3_RANDOM_LENGTH + 2 + 4096/8 + 2 + 4096/8]; in ssl3_ComputeExportRSAKeyHash()
1216 bufLen = 2*SSL3_RANDOM_LENGTH + 2 + modulus.len + 2 + publicExponent.len; in ssl3_ComputeExportRSAKeyHash()
1226 memcpy(hashBuf, client_rand, SSL3_RANDOM_LENGTH); in ssl3_ComputeExportRSAKeyHash()
1227 pBuf = hashBuf + SSL3_RANDOM_LENGTH; in ssl3_ComputeExportRSAKeyHash()
1228 memcpy(pBuf, server_rand, SSL3_RANDOM_LENGTH); in ssl3_ComputeExportRSAKeyHash()
1229 pBuf += SSL3_RANDOM_LENGTH; in ssl3_ComputeExportRSAKeyHash()
1273 PRUint8 buf[2*SSL3_RANDOM_LENGTH + 2 + 4096/8 + 2 + 4096/8]; in ssl3_ComputeDHKeyHash()
1275 bufLen = 2*SSL3_RANDOM_LENGTH + 2 + dh_p.len + 2 + dh_g.len + 2 + dh_Ys.len; in ssl3_ComputeDHKeyHash()
1285 memcpy(hashBuf, client_rand, SSL3_RANDOM_LENGTH); in ssl3_ComputeDHKeyHash()
[all …]