Searched refs:our_secret (Results 1 – 2 of 2) sorted by relevance
/third_party/mbedtls/3rdparty/everest/library/ |
D | x25519.c | 55 mbedtls_platform_zeroize( ctx->our_secret, MBEDTLS_X25519_KEY_SIZE_BYTES ); in mbedtls_x25519_free() 68 if( ( ret = f_rng( p_rng, ctx->our_secret, MBEDTLS_X25519_KEY_SIZE_BYTES ) ) != 0 ) in mbedtls_x25519_make_params() 81 Hacl_Curve25519_crypto_scalarmult( buf, ctx->our_secret, base ); in mbedtls_x25519_make_params() 113 … return mbedtls_mpi_write_binary_le( &key->d, ctx->our_secret, MBEDTLS_X25519_KEY_SIZE_BYTES ); in mbedtls_x25519_get_params() 134 Hacl_Curve25519_crypto_scalarmult( buf, ctx->our_secret, ctx->peer_point); in mbedtls_x25519_calc_secret() 137 mbedtls_platform_zeroize( ctx->our_secret, MBEDTLS_X25519_KEY_SIZE_BYTES ); in mbedtls_x25519_calc_secret() 139 if( memcmp( buf, ctx->our_secret, MBEDTLS_X25519_KEY_SIZE_BYTES) == 0 ) in mbedtls_x25519_calc_secret() 156 if( ( ret = f_rng( p_rng, ctx->our_secret, MBEDTLS_X25519_KEY_SIZE_BYTES ) ) != 0 ) in mbedtls_x25519_make_public() 165 Hacl_Curve25519_crypto_scalarmult( buf, ctx->our_secret, base ); in mbedtls_x25519_make_public()
|
/third_party/mbedtls/3rdparty/everest/include/everest/ |
D | x25519.h | 46 unsigned char our_secret[MBEDTLS_X25519_KEY_SIZE_BYTES]; member
|