Lines Matching refs:derivation
6028 static psa_status_t setup_psa_key_derivation(psa_key_derivation_operation_t *derivation, in setup_psa_key_derivation() argument
6040 status = psa_key_derivation_setup(derivation, alg); in setup_psa_key_derivation()
6046 status = psa_key_derivation_input_bytes(derivation, in setup_psa_key_derivation()
6054 status = psa_key_derivation_input_bytes(derivation, in setup_psa_key_derivation()
6064 derivation, PSA_KEY_DERIVATION_INPUT_SECRET, in setup_psa_key_derivation()
6068 derivation, PSA_KEY_DERIVATION_INPUT_SECRET, key); in setup_psa_key_derivation()
6074 status = psa_key_derivation_input_bytes(derivation, in setup_psa_key_derivation()
6084 status = psa_key_derivation_set_capacity(derivation, capacity); in setup_psa_key_derivation()
6104 psa_key_derivation_operation_t derivation = in tls_prf_generic() local
6132 status = setup_psa_key_derivation(&derivation, in tls_prf_generic()
6141 psa_key_derivation_abort(&derivation); in tls_prf_generic()
6146 status = psa_key_derivation_output_bytes(&derivation, dstbuf, dlen); in tls_prf_generic()
6148 psa_key_derivation_abort(&derivation); in tls_prf_generic()
6153 status = psa_key_derivation_abort(&derivation); in tls_prf_generic()
6421 psa_key_derivation_operation_t derivation = in ssl_compute_master() local
6457 status = setup_psa_key_derivation(&derivation, psk, alg, in ssl_compute_master()
6465 psa_key_derivation_abort(&derivation); in ssl_compute_master()
6469 status = psa_key_derivation_output_bytes(&derivation, in ssl_compute_master()
6473 psa_key_derivation_abort(&derivation); in ssl_compute_master()
6477 status = psa_key_derivation_abort(&derivation); in ssl_compute_master()
6489 psa_key_derivation_operation_t derivation = in ssl_compute_master() local
6496 status = psa_key_derivation_setup(&derivation, alg); in ssl_compute_master()
6501 status = psa_key_derivation_set_capacity(&derivation, in ssl_compute_master()
6504 psa_key_derivation_abort(&derivation); in ssl_compute_master()
6509 &derivation); in ssl_compute_master()
6511 psa_key_derivation_abort(&derivation); in ssl_compute_master()
6515 status = psa_key_derivation_output_bytes(&derivation, in ssl_compute_master()
6519 psa_key_derivation_abort(&derivation); in ssl_compute_master()
6523 status = psa_key_derivation_abort(&derivation); in ssl_compute_master()