Lines Matching refs:dlen
338 unsigned char *dstbuf, size_t dlen ) in ssl3_prf() argument
359 for( i = 0; i < dlen / 16; i++ ) in ssl3_prf()
399 unsigned char *dstbuf, size_t dlen ) in tls1_prf() argument
448 for( i = 0; i < dlen; i += 16 ) in tls1_prf()
458 k = ( i + 16 > dlen ) ? dlen % 16 : 16; in tls1_prf()
484 for( i = 0; i < dlen; i += 20 ) in tls1_prf()
494 k = ( i + 20 > dlen ) ? dlen % 20 : 20; in tls1_prf()
571 unsigned char *dstbuf, size_t dlen ) in tls_prf_generic() argument
608 dlen ); in tls_prf_generic()
616 status = psa_key_derivation_output_bytes( &derivation, dstbuf, dlen ); in tls_prf_generic()
645 unsigned char *dstbuf, size_t dlen ) in tls_prf_generic() argument
686 for( i = 0; i < dlen; i += md_len ) in tls_prf_generic()
696 k = ( i + md_len > dlen ) ? dlen % md_len : md_len; in tls_prf_generic()
717 unsigned char *dstbuf, size_t dlen ) in tls_prf_sha256() argument
720 label, random, rlen, dstbuf, dlen ) ); in tls_prf_sha256()
728 unsigned char *dstbuf, size_t dlen ) in tls_prf_sha384() argument
731 label, random, rlen, dstbuf, dlen ) ); in tls_prf_sha384()
830 unsigned char *dstbuf, size_t dlen ) in mbedtls_ssl_tls_prf() argument
863 return( tls_prf( secret, slen, label, random, rlen, dstbuf, dlen ) ); in mbedtls_ssl_tls_prf()
6437 unsigned char *dstbuf, size_t dlen );