Lines Matching refs:currentvalpos
1212 size_t vallen, currentvalpos; in tls1_export_keying_material() local
1237 currentvalpos = 0; in tls1_export_keying_material()
1238 memcpy(val + currentvalpos, (unsigned char *)label, llen); in tls1_export_keying_material()
1239 currentvalpos += llen; in tls1_export_keying_material()
1240 memcpy(val + currentvalpos, s->s3->client_random, SSL3_RANDOM_SIZE); in tls1_export_keying_material()
1241 currentvalpos += SSL3_RANDOM_SIZE; in tls1_export_keying_material()
1242 memcpy(val + currentvalpos, s->s3->server_random, SSL3_RANDOM_SIZE); in tls1_export_keying_material()
1243 currentvalpos += SSL3_RANDOM_SIZE; in tls1_export_keying_material()
1246 val[currentvalpos] = (contextlen >> 8) & 0xff; in tls1_export_keying_material()
1247 currentvalpos++; in tls1_export_keying_material()
1248 val[currentvalpos] = contextlen & 0xff; in tls1_export_keying_material()
1249 currentvalpos++; in tls1_export_keying_material()
1251 memcpy(val + currentvalpos, context, contextlen); in tls1_export_keying_material()