package noise

import (
	
	
)

func hkdf( func() hash.Hash,  int, , , , ,  []byte) ([]byte, []byte, []byte) {
	if len() > 0 {
		panic("len(out1) > 0")
	}
	if len() > 0 {
		panic("len(out2) > 0")
	}
	if len() > 0 {
		panic("len(out3) > 0")
	}
	if  > 3 {
		panic("outputs > 3")
	}

	 := hmac.New(, )
	.Write()
	 := .Sum()

	 := hmac.New(, )
	.Write([]byte{0x01})
	 = .Sum()

	if  == 1 {
		return , nil, nil
	}

	 := hmac.New(, )
	.Write()
	.Write([]byte{0x02})
	 = .Sum()

	if  == 2 {
		return , , nil
	}

	 := hmac.New(, )
	.Write()
	.Write([]byte{0x03})
	 = .Sum()

	return , , 
}