Lines Matching refs:rlen
337 const unsigned char *random, size_t rlen, in ssl3_prf() argument
369 if( ( ret = mbedtls_sha1_update_ret( &sha1, random, rlen ) ) != 0 ) in ssl3_prf()
398 const unsigned char *random, size_t rlen, in tls1_prf() argument
413 tmp_len = 20 + strlen( label ) + rlen; in tls1_prf()
427 memcpy( tmp + 20 + nb, random, rlen ); in tls1_prf()
428 nb += rlen; in tls1_prf()
570 const unsigned char *random, size_t rlen, in tls_prf_generic() argument
605 random, rlen, in tls_prf_generic()
644 const unsigned char *random, size_t rlen, in tls_prf_generic() argument
663 tmp_len = md_len + strlen( label ) + rlen; in tls_prf_generic()
673 memcpy( tmp + md_len + nb, random, rlen ); in tls_prf_generic()
674 nb += rlen; in tls_prf_generic()
716 const unsigned char *random, size_t rlen, in tls_prf_sha256() argument
720 label, random, rlen, dstbuf, dlen ) ); in tls_prf_sha256()
727 const unsigned char *random, size_t rlen, in tls_prf_sha384() argument
731 label, random, rlen, dstbuf, dlen ) ); in tls_prf_sha384()
829 const unsigned char *random, size_t rlen, in mbedtls_ssl_tls_prf() argument
863 return( tls_prf( secret, slen, label, random, rlen, dstbuf, dlen ) ); in mbedtls_ssl_tls_prf()
6436 const unsigned char *random, size_t rlen,