/net-tools-3.7.0/mbedtls-2.4.0/library/ |
D | ecdh.c | 119 unsigned char *buf, size_t blen, in mbedtls_ecdh_make_params() argument 133 if( ( ret = mbedtls_ecp_tls_write_group( &ctx->grp, &grp_len, buf, blen ) ) in mbedtls_ecdh_make_params() 138 blen -= grp_len; in mbedtls_ecdh_make_params() 141 &pt_len, buf, blen ) ) != 0 ) in mbedtls_ecdh_make_params() 200 unsigned char *buf, size_t blen, in mbedtls_ecdh_make_public() argument 214 olen, buf, blen ); in mbedtls_ecdh_make_public() 221 const unsigned char *buf, size_t blen ) in mbedtls_ecdh_read_public() argument 229 if( ( ret = mbedtls_ecp_tls_read_point( &ctx->grp, &ctx->Qp, &p, blen ) ) != 0 ) in mbedtls_ecdh_read_public() 232 if( (size_t)( p - buf ) != blen ) in mbedtls_ecdh_read_public() 242 unsigned char *buf, size_t blen, in mbedtls_ecdh_calc_secret() argument [all …]
|
D | ecdsa.c | 50 const unsigned char *buf, size_t blen ) in derive_mpi() argument 54 size_t use_size = blen > n_size ? n_size : blen; in derive_mpi() 73 const mbedtls_mpi *d, const unsigned char *buf, size_t blen, in mbedtls_ecdsa_sign() argument 111 MBEDTLS_MPI_CHK( derive_mpi( grp, &e, buf, blen ) ); in mbedtls_ecdsa_sign() 162 const mbedtls_mpi *d, const unsigned char *buf, size_t blen, in mbedtls_ecdsa_sign_det() argument 180 MBEDTLS_MPI_CHK( derive_mpi( grp, &h, buf, blen ) ); in mbedtls_ecdsa_sign_det() 184 ret = mbedtls_ecdsa_sign( grp, r, s, d, buf, blen, in mbedtls_ecdsa_sign_det() 200 const unsigned char *buf, size_t blen, in mbedtls_ecdsa_verify() argument 232 MBEDTLS_MPI_CHK( derive_mpi( grp, &e, buf, blen ) ); in mbedtls_ecdsa_verify()
|
D | ecp.c | 569 unsigned char *buf, size_t blen ) in mbedtls_ecp_tls_write_point() argument 576 if( blen < 1 ) in mbedtls_ecp_tls_write_point() 580 olen, buf + 1, blen - 1) ) != 0 ) in mbedtls_ecp_tls_write_point() 629 unsigned char *buf, size_t blen ) in mbedtls_ecp_tls_write_group() argument 640 if( blen < *olen ) in mbedtls_ecp_tls_write_group()
|
D | ecp_curves.c | 578 const mbedtls_mpi_uint *b, size_t blen, in ecp_group_load() argument 586 ecp_mpi_load( &grp->B, b, blen ); in ecp_group_load()
|
/net-tools-3.7.0/mbedtls-2.4.0/include/mbedtls/ |
D | ecdh.h | 129 unsigned char *buf, size_t blen, 175 unsigned char *buf, size_t blen, 190 const unsigned char *buf, size_t blen ); 206 unsigned char *buf, size_t blen,
|
D | ecdsa.h | 76 const mbedtls_mpi *d, const unsigned char *buf, size_t blen, 96 const mbedtls_mpi *d, const unsigned char *buf, size_t blen, 115 const unsigned char *buf, size_t blen,
|
D | ecp.h | 449 unsigned char *buf, size_t blen ); 493 unsigned char *buf, size_t blen );
|
/net-tools-3.7.0/mbedtls-2.4.0/tests/suites/ |
D | test_suite_x509parse.function | 533 void x509_oid_numstr( char *oid_str, char *numstr, int blen, int ret ) 546 TEST_ASSERT( (size_t) blen <= sizeof num_buf ); 548 TEST_ASSERT( mbedtls_oid_get_numeric_string( num_buf, blen, &oid ) == ret );
|
D | test_suite_ecp.function | 194 char *out, int blen, int ret ) 213 &olen, buf, blen ) == ret );
|
/net-tools-3.7.0/libcoap/src/ |
D | net.c | 979 const unsigned char *b, size_t blen) { in token_match() argument 980 return alen == blen && (alen == 0 || memcmp(a, b, alen) == 0); in token_match()
|