Lines Matching refs:secret
403 typedef int (*tls_prf_fn)( const unsigned char *secret, size_t slen,
432 static int tls_prf_sha256( const unsigned char *secret, size_t slen,
443 static int tls_prf_sha384( const unsigned char *secret, size_t slen,
473 const unsigned char *secret, size_t slen, in mbedtls_ssl_tls_prf() argument
498 return( tls_prf( secret, slen, label, random, rlen, dstbuf, dlen ) ); in mbedtls_ssl_tls_prf()
5847 const unsigned char *secret, size_t slen, in tls_prf_generic() argument
5877 status = psa_import_key( &key_attributes, secret, slen, &master_key ); in tls_prf_generic()
5927 const unsigned char *secret, size_t slen, in tls_prf_generic() argument
5967 ret = mbedtls_md_hmac_starts( &md_ctx, secret, slen ); in tls_prf_generic()
6022 static int tls_prf_sha256( const unsigned char *secret, size_t slen, in tls_prf_sha256() argument
6027 return( tls_prf_generic( MBEDTLS_MD_SHA256, secret, slen, in tls_prf_sha256()
6034 static int tls_prf_sha384( const unsigned char *secret, size_t slen, in tls_prf_sha384() argument
6039 return( tls_prf_generic( MBEDTLS_MD_SHA384, secret, slen, in tls_prf_sha384()