Searched refs:secret_len (Results 1 – 1 of 1) sorted by relevance
/openthread-3.4.0/third_party/mbedtls/repo/library/ |
D | ecp.c | 173 const mbedtls_mpi *secret, size_t secret_len ) in ecp_drbg_seed() argument 181 if( secret_len > MBEDTLS_ECP_MAX_BYTES ) in ecp_drbg_seed() 188 secret_bytes, secret_len ) ); in ecp_drbg_seed() 190 ret = mbedtls_hmac_drbg_seed_buf( ctx, md_info, secret_bytes, secret_len ); in ecp_drbg_seed() 193 mbedtls_platform_zeroize( secret_bytes, secret_len ); in ecp_drbg_seed() 238 const mbedtls_mpi *secret, size_t secret_len ) in ecp_drbg_seed() argument 243 if( secret_len > MBEDTLS_ECP_MAX_BYTES ) in ecp_drbg_seed() 250 secret_bytes, secret_len ) ); in ecp_drbg_seed() 253 secret_bytes, secret_len ); in ecp_drbg_seed() 256 mbedtls_platform_zeroize( secret_bytes, secret_len ); in ecp_drbg_seed()
|