Home
last modified time | relevance | path

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

/net-tools-3.6.0/tinydtls-0.8.2/ecc/
Dtest_helper.c53 void ecc_setRandom(uint32_t *secret){ in ecc_setRandom() argument
58 secret[i] = rand(); in ecc_setRandom()
Decc.h47 void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx,…
49 static inline void ecc_ecdh(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_… in ecc_ecdh() argument
50 ecc_ec_mult(px, py, secret, resultx, resulty); in ecc_ecdh()
Dtest_helper.h45 void ecc_setRandom(uint32_t *secret);
Dtestecc.c79 uint32_t secret[8] = { 0x2ffb06fd, 0x6522468b, 0x3072708b, 0xd0c7a893, variable
140 ecc_ec_mult(Sx, Sy, secret, tempx, tempy); in multTest()
Decc.c491 void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx,… in ecc_ec_mult() argument
505 if (((secret[i / 32]) & ((uint32_t)1 << (i % 32)))) { in ecc_ec_mult()
/net-tools-3.6.0/mbedtls-2.4.0/include/mbedtls/
Decjpake.h116 const unsigned char *secret,
/net-tools-3.6.0/mbedtls-2.4.0/library/
Dssl_tls.c219 static int ssl3_prf( const unsigned char *secret, size_t slen, in ssl3_prf() argument
248 mbedtls_sha1_update( &sha1, secret, slen ); in ssl3_prf()
253 mbedtls_md5_update( &md5, secret, slen ); in ssl3_prf()
269 static int tls1_prf( const unsigned char *secret, size_t slen, in tls1_prf() argument
289 S1 = secret; in tls1_prf()
290 S2 = secret + slen - hs; in tls1_prf()
368 const unsigned char *secret, size_t slen, in tls_prf_generic() argument
402 mbedtls_md_hmac_starts( &md_ctx, secret, slen ); in tls_prf_generic()
431 static int tls_prf_sha256( const unsigned char *secret, size_t slen, in tls_prf_sha256() argument
436 return( tls_prf_generic( MBEDTLS_MD_SHA256, secret, slen, in tls_prf_sha256()
[all …]
Decjpake.c102 const unsigned char *secret, in mbedtls_ecjpake_setup() argument
114 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &ctx->s, secret, len ) ); in mbedtls_ecjpake_setup()
/net-tools-3.6.0/mbedtls-2.4.0/
DChangeLog178 * Added a key extraction callback to accees the master secret and key
787 * Fix possible miscomputation of the premaster secret with DHE-PSK key