Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/crypto_api/acipher/
H A Ddh.c64 uint8_t *secret_buf = NULL; in crypto_acipher_dh_shared_secret() local
75 secret_buf = malloc(sdata.secret.length); in crypto_acipher_dh_shared_secret()
76 if (!secret_buf) in crypto_acipher_dh_shared_secret()
82 sdata.secret.data = secret_buf; in crypto_acipher_dh_shared_secret()
86 ret = crypto_bignum_bin2bn(secret_buf, in crypto_acipher_dh_shared_secret()
89 free(secret_buf); in crypto_acipher_dh_shared_secret()