Searched refs:plen (Results 1 – 5 of 5) sorted by relevance
/net-tools-3.5.0/mbedtls-2.4.0/library/ |
D | pkcs5.c | 218 size_t plen, const unsigned char *salt, size_t slen, in mbedtls_pkcs5_pbkdf2_hmac() argument 241 if( ( ret = mbedtls_md_hmac_starts( ctx, password, plen ) ) != 0 ) in mbedtls_pkcs5_pbkdf2_hmac() 259 if( ( ret = mbedtls_md_hmac_starts( ctx, password, plen ) ) != 0 ) in mbedtls_pkcs5_pbkdf2_hmac() 302 static const size_t plen[MAX_TESTS] = variable 378 ret = mbedtls_pkcs5_pbkdf2_hmac( &sha1_ctx, password[i], plen[i], salt[i], in mbedtls_pkcs5_self_test()
|
D | ecp.c | 446 size_t plen; in mbedtls_ecp_point_write_binary() local 466 plen = mbedtls_mpi_size( &grp->P ); in mbedtls_ecp_point_write_binary() 470 *olen = 2 * plen + 1; in mbedtls_ecp_point_write_binary() 476 MBEDTLS_MPI_CHK( mbedtls_mpi_write_binary( &P->X, buf + 1, plen ) ); in mbedtls_ecp_point_write_binary() 477 MBEDTLS_MPI_CHK( mbedtls_mpi_write_binary( &P->Y, buf + 1 + plen, plen ) ); in mbedtls_ecp_point_write_binary() 481 *olen = plen + 1; in mbedtls_ecp_point_write_binary() 487 MBEDTLS_MPI_CHK( mbedtls_mpi_write_binary( &P->X, buf + 1, plen ) ); in mbedtls_ecp_point_write_binary() 501 size_t plen; in mbedtls_ecp_point_read_binary() local 514 plen = mbedtls_mpi_size( &grp->P ); in mbedtls_ecp_point_read_binary() 519 if( ilen != 2 * plen + 1 ) in mbedtls_ecp_point_read_binary() [all …]
|
D | ecp_curves.c | 576 const mbedtls_mpi_uint *p, size_t plen, in ecp_group_load() argument 583 ecp_mpi_load( &grp->P, p, plen ); in ecp_group_load()
|
D | bignum.c | 631 size_t n, slen, plen; in mbedtls_mpi_write_file() local 644 plen = strlen( p ); in mbedtls_mpi_write_file() 651 if( fwrite( p, 1, plen, fout ) != plen || in mbedtls_mpi_write_file()
|
/net-tools-3.5.0/mbedtls-2.4.0/include/mbedtls/ |
D | pkcs5.h | 79 size_t plen, const unsigned char *salt, size_t slen,
|