Searched refs:secret_len (Results 1 – 1 of 1) sorted by relevance
/openthread-2.7.6/third_party/mbedtls/repo/library/ |
D | ecp.c | 170 const mbedtls_mpi *secret, size_t secret_len ) in ecp_drbg_seed() argument 178 if( secret_len > MBEDTLS_ECP_MAX_BYTES ) in ecp_drbg_seed() 185 secret_bytes, secret_len ) ); in ecp_drbg_seed() 187 ret = mbedtls_hmac_drbg_seed_buf( ctx, md_info, secret_bytes, secret_len ); in ecp_drbg_seed() 190 mbedtls_platform_zeroize( secret_bytes, secret_len ); in ecp_drbg_seed() 235 const mbedtls_mpi *secret, size_t secret_len ) in ecp_drbg_seed() argument 240 if( secret_len > MBEDTLS_ECP_MAX_BYTES ) in ecp_drbg_seed() 247 secret_bytes, secret_len ) ); in ecp_drbg_seed() 250 secret_bytes, secret_len ); in ecp_drbg_seed() 253 mbedtls_platform_zeroize( secret_bytes, secret_len ); in ecp_drbg_seed()
|