Home
last modified time | relevance | path

Searched refs:blen (Results 1 – 15 of 15) sorted by relevance

/openthread-3.5.0/third_party/mbedtls/repo/3rdparty/everest/library/
Deverest.c54 unsigned char *buf, size_t blen, in mbedtls_everest_make_params() argument
59 return mbedtls_x25519_make_params( x25519_ctx, olen, buf, blen, f_rng, p_rng ); in mbedtls_everest_make_params()
82 unsigned char *buf, size_t blen, in mbedtls_everest_make_public() argument
87 return mbedtls_x25519_make_public( x25519_ctx, olen, buf, blen, f_rng, p_rng ); in mbedtls_everest_make_public()
91 const unsigned char *buf, size_t blen ) in mbedtls_everest_read_public() argument
94 return mbedtls_x25519_read_public ( x25519_ctx, buf, blen ); in mbedtls_everest_read_public()
98 unsigned char *buf, size_t blen, in mbedtls_everest_calc_secret() argument
103 return mbedtls_x25519_calc_secret( x25519_ctx, olen, buf, blen, f_rng, p_rng ); in mbedtls_everest_calc_secret()
Dx25519.c60 unsigned char *buf, size_t blen, in mbedtls_x25519_make_params() argument
72 if( blen < *olen ) in mbedtls_x25519_make_params()
120 unsigned char *buf, size_t blen, in mbedtls_x25519_calc_secret() argument
131 if( blen < *olen ) in mbedtls_x25519_calc_secret()
146 unsigned char *buf, size_t blen, in mbedtls_x25519_make_public() argument
160 if( blen < *olen ) in mbedtls_x25519_make_public()
175 const unsigned char *buf, size_t blen ) in mbedtls_x25519_read_public() argument
177 if( blen < MBEDTLS_X25519_KEY_SIZE_BYTES + 1 ) in mbedtls_x25519_read_public()
/openthread-3.5.0/third_party/mbedtls/repo/library/
Decdh.c298 unsigned char *buf, size_t blen, in ecdh_make_params_internal() argument
333 blen ) ) != 0 ) in ecdh_make_params_internal()
337 blen -= grp_len; in ecdh_make_params_internal()
340 &pt_len, buf, blen ) ) != 0 ) in ecdh_make_params_internal()
355 unsigned char *buf, size_t blen, in mbedtls_ecdh_make_params() argument
372 return( ecdh_make_params_internal( ctx, olen, ctx->point_format, buf, blen, in mbedtls_ecdh_make_params()
380 buf, blen, f_rng, p_rng ) ); in mbedtls_ecdh_make_params()
384 ctx->point_format, buf, blen, in mbedtls_ecdh_make_params()
521 unsigned char *buf, size_t blen, in ecdh_make_public_internal() argument
554 buf, blen ); in ecdh_make_public_internal()
[all …]
Decdsa.c228 const unsigned char *buf, size_t blen ) in derive_mpi() argument
232 size_t use_size = blen > n_size ? n_size : blen; in derive_mpi()
254 const mbedtls_mpi *d, const unsigned char *buf, size_t blen, in ecdsa_sign_restartable() argument
349 MBEDTLS_MPI_CHK( derive_mpi( grp, &e, buf, blen ) ); in ecdsa_sign_restartable()
404 const mbedtls_mpi *d, const unsigned char *buf, size_t blen, in mbedtls_ecdsa_sign() argument
412 ECDSA_VALIDATE_RET( buf != NULL || blen == 0 ); in mbedtls_ecdsa_sign()
415 return( ecdsa_sign_restartable( grp, r, s, d, buf, blen, in mbedtls_ecdsa_sign()
426 const mbedtls_mpi *d, const unsigned char *buf, size_t blen, in ecdsa_sign_det_restartable() argument
462 MBEDTLS_MPI_CHK( derive_mpi( grp, &h, buf, blen ) ); in ecdsa_sign_det_restartable()
475 ret = mbedtls_ecdsa_sign( grp, r, s, d, buf, blen, in ecdsa_sign_det_restartable()
[all …]
Dssl_tls13_keys.c138 unsigned char *buf, size_t blen ) in mbedtls_ssl_tls1_3_hkdf_expand_label() argument
158 if( blen > MBEDTLS_SSL_TLS1_3_KEY_SCHEDULE_MAX_EXPANSION_LEN ) in mbedtls_ssl_tls1_3_hkdf_expand_label()
168 ssl_tls1_3_hkdf_encode_label( blen, in mbedtls_ssl_tls1_3_hkdf_expand_label()
177 buf, blen ) ); in mbedtls_ssl_tls1_3_hkdf_expand_label()
Dssl_tls13_keys.h114 unsigned char *buf, size_t blen );
Decp.c1047 unsigned char *buf, size_t blen ) in mbedtls_ecp_tls_write_point() argument
1060 if( blen < 1 ) in mbedtls_ecp_tls_write_point()
1064 olen, buf + 1, blen - 1) ) != 0 ) in mbedtls_ecp_tls_write_point()
1138 unsigned char *buf, size_t blen ) in mbedtls_ecp_tls_write_group() argument
1152 if( blen < *olen ) in mbedtls_ecp_tls_write_group()
Decp_curves.c567 const mbedtls_mpi_uint *b, size_t blen, in ecp_group_load() argument
575 ecp_mpi_load( &grp->B, b, blen ); in ecp_group_load()
/openthread-3.5.0/third_party/mbedtls/repo/3rdparty/everest/include/everest/
Dx25519.h82 unsigned char *buf, size_t blen,
141 unsigned char *buf, size_t blen,
164 unsigned char *buf, size_t blen,
184 const unsigned char *buf, size_t blen );
Deverest.h94 unsigned char *buf, size_t blen,
179 unsigned char *buf, size_t blen,
201 const unsigned char *buf, size_t blen );
226 unsigned char *buf, size_t blen,
/openthread-3.5.0/third_party/mbedtls/repo/include/mbedtls/
Decdh.h283 unsigned char *buf, size_t blen,
365 unsigned char *buf, size_t blen,
389 const unsigned char *buf, size_t blen );
422 unsigned char *buf, size_t blen,
Decdsa.h173 const mbedtls_mpi *d, const unsigned char *buf, size_t blen,
233 const unsigned char *buf, size_t blen,
279 const unsigned char *buf, size_t blen,
318 const unsigned char *buf, size_t blen,
Decp.h839 unsigned char *buf, size_t blen );
921 unsigned char *buf, size_t blen );
/openthread-3.5.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_x509parse.function1133 void x509_oid_numstr( data_t * oid_buf, char * numstr, int blen, int ret )
1144 TEST_ASSERT( (size_t) blen <= sizeof num_buf );
1146 TEST_ASSERT( mbedtls_oid_get_numeric_string( num_buf, blen, &oid ) == ret );
Dtest_suite_ecp.function849 data_t * out, int blen, int ret )
867 &olen, buf, blen ) == ret );