Home
last modified time | relevance | path

Searched refs:other_secret (Results 1 – 3 of 3) sorted by relevance

/optee_os/lib/libmbedtls/mbedtls/include/psa/
H A Dcrypto_builtin_key_derivation.h85 uint8_t *MBEDTLS_PRIVATE(other_secret);
/optee_os/lib/libmbedtls/mbedtls/library/
H A Dpsa_crypto.c5742 if (operation->ctx.tls12_prf.other_secret != NULL) { in psa_key_derivation_abort()
5743 mbedtls_zeroize_and_free(operation->ctx.tls12_prf.other_secret, in psa_key_derivation_abort()
7238 memcpy(cur, prf->other_secret, prf->other_secret_length); in psa_tls12_prf_psk_to_ms_set_key()
7239 mbedtls_platform_zeroize(prf->other_secret, prf->other_secret_length); in psa_tls12_prf_psk_to_ms_set_key()
7270 prf->other_secret = mbedtls_calloc(1, data_length); in psa_tls12_prf_psk_to_ms_set_other_key()
7271 if (prf->other_secret == NULL) { in psa_tls12_prf_psk_to_ms_set_other_key()
7275 memcpy(prf->other_secret, data, data_length); in psa_tls12_prf_psk_to_ms_set_other_key()
H A Dssl_tls.c6709 const unsigned char *other_secret, in setup_psa_key_derivation() argument
6728 if (other_secret != NULL) { in setup_psa_key_derivation()
6731 other_secret, other_secret_length); in setup_psa_key_derivation()
7111 unsigned char *other_secret = NULL; in ssl_compute_master() local
7121 other_secret = handshake->premaster + 2; in ssl_compute_master()
7126 other_secret = handshake->premaster + 2; in ssl_compute_master()
7137 other_secret, other_secret_len, in ssl_compute_master()