Searched refs:SSL3_RANDOM_LENGTH (Results 1 – 7 of 7) sorted by relevance
/external/chromium_org/net/third_party/nss/patches/ |
D | secretexporterlocks.patch | 28 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;
|
D | aesgcm.patch | 1074 key_material_params.RandomInfo.ulClientRandomLen = SSL3_RANDOM_LENGTH;
|
/external/chromium_org/net/third_party/nss/ssl/ |
D | derive.c | 93 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 …]
|
D | sslinfo.c | 367 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()
|
D | ssl3prot.h | 26 #define SSL3_RANDOM_LENGTH 32 macro 142 SSL3Opaque rand[SSL3_RANDOM_LENGTH];
|
D | ssl3ecc.c | 240 PRUint8 buf[2*SSL3_RANDOM_LENGTH + 2 + 1 + 256]; in ssl3_ComputeECDHKeyHash() 242 bufLen = 2*SSL3_RANDOM_LENGTH + ec_params.len + 1 + server_ecpoint.len; in ssl3_ComputeECDHKeyHash() 252 memcpy(hashBuf, client_rand, SSL3_RANDOM_LENGTH); in ssl3_ComputeECDHKeyHash() 253 pBuf = hashBuf + SSL3_RANDOM_LENGTH; in ssl3_ComputeECDHKeyHash() 254 memcpy(pBuf, server_rand, SSL3_RANDOM_LENGTH); in ssl3_ComputeECDHKeyHash() 255 pBuf += SSL3_RANDOM_LENGTH; in ssl3_ComputeECDHKeyHash()
|
D | ssl3con.c | 917 rv = PK11_GenerateRandom(&random->rand[4], SSL3_RANDOM_LENGTH - 4); in ssl3_GetNewRandom() 1203 PRUint8 buf[2*SSL3_RANDOM_LENGTH + 2 + 4096/8 + 2 + 4096/8]; in ssl3_ComputeExportRSAKeyHash() 1205 bufLen = 2*SSL3_RANDOM_LENGTH + 2 + modulus.len + 2 + publicExponent.len; in ssl3_ComputeExportRSAKeyHash() 1215 memcpy(hashBuf, client_rand, SSL3_RANDOM_LENGTH); in ssl3_ComputeExportRSAKeyHash() 1216 pBuf = hashBuf + SSL3_RANDOM_LENGTH; in ssl3_ComputeExportRSAKeyHash() 1217 memcpy(pBuf, server_rand, SSL3_RANDOM_LENGTH); in ssl3_ComputeExportRSAKeyHash() 1218 pBuf += SSL3_RANDOM_LENGTH; in ssl3_ComputeExportRSAKeyHash() 1262 PRUint8 buf[2*SSL3_RANDOM_LENGTH + 2 + 4096/8 + 2 + 4096/8]; in ssl3_ComputeDHKeyHash() 1264 bufLen = 2*SSL3_RANDOM_LENGTH + 2 + dh_p.len + 2 + dh_g.len + 2 + dh_Ys.len; in ssl3_ComputeDHKeyHash() 1274 memcpy(hashBuf, client_rand, SSL3_RANDOM_LENGTH); in ssl3_ComputeDHKeyHash() [all …]
|