Home
last modified time | relevance | path

Searched refs:plen (Results 1 – 6 of 6) sorted by relevance

/mbedtls-latest/library/
Dpkcs5.c270 size_t plen, const unsigned char *salt, size_t slen, in pkcs5_pbkdf2_hmac() argument
292 if ((ret = mbedtls_md_hmac_starts(ctx, password, plen)) != 0) { in pkcs5_pbkdf2_hmac()
360 size_t plen, const unsigned char *salt, size_t slen, in mbedtls_pkcs5_pbkdf2_hmac() argument
364 return pkcs5_pbkdf2_hmac(ctx, password, plen, salt, slen, iteration_count, in mbedtls_pkcs5_pbkdf2_hmac()
371 size_t plen, const unsigned char *salt, size_t slen, in mbedtls_pkcs5_pbkdf2_hmac_ext() argument
389 ret = pkcs5_pbkdf2_hmac(&md_ctx, password, plen, salt, slen, in mbedtls_pkcs5_pbkdf2_hmac_ext()
Decp.c697 size_t plen; in mbedtls_ecp_point_write_binary() local
703 plen = mbedtls_mpi_size(&grp->P); in mbedtls_ecp_point_write_binary()
708 *olen = plen; in mbedtls_ecp_point_write_binary()
713 MBEDTLS_MPI_CHK(mbedtls_mpi_write_binary_le(&P->X, buf, plen)); in mbedtls_ecp_point_write_binary()
733 *olen = 2 * plen + 1; in mbedtls_ecp_point_write_binary()
740 MBEDTLS_MPI_CHK(mbedtls_mpi_write_binary(&P->X, buf + 1, plen)); in mbedtls_ecp_point_write_binary()
741 MBEDTLS_MPI_CHK(mbedtls_mpi_write_binary(&P->Y, buf + 1 + plen, plen)); in mbedtls_ecp_point_write_binary()
743 *olen = plen + 1; in mbedtls_ecp_point_write_binary()
750 MBEDTLS_MPI_CHK(mbedtls_mpi_write_binary(&P->X, buf + 1, plen)); in mbedtls_ecp_point_write_binary()
774 size_t plen; in mbedtls_ecp_point_read_binary() local
[all …]
Dbignum.c748 size_t n, slen, plen; in mbedtls_mpi_write_file() local
767 plen = strlen(p); in mbedtls_mpi_write_file()
773 if (fwrite(p, 1, plen, fout) != plen || in mbedtls_mpi_write_file()
Decp_curves.c4515 const mbedtls_mpi_uint *p, size_t plen, in ecp_group_load() argument
4523 ecp_mpi_load(&grp->P, p, plen); in ecp_group_load()
Decp_curves_new.c4525 const mbedtls_mpi_uint *p, size_t plen, in ecp_group_load() argument
4533 ecp_mpi_load(&grp->P, p, plen); in ecp_group_load()
/mbedtls-latest/include/mbedtls/
Dpkcs5.h151 size_t plen, const unsigned char *salt, size_t slen,
175 size_t plen,