| /optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
| H A D | pkcs5.h | 151 size_t plen, const unsigned char *salt, size_t slen, 175 size_t plen,
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | pkcs5.c | 270 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()
|
| H A D | ecp.c | 701 size_t plen; in mbedtls_ecp_point_write_binary() local 707 plen = mbedtls_mpi_size(&grp->P); in mbedtls_ecp_point_write_binary() 712 *olen = plen; in mbedtls_ecp_point_write_binary() 717 MBEDTLS_MPI_CHK(mbedtls_mpi_write_binary_le(&P->X, buf, plen)); in mbedtls_ecp_point_write_binary() 737 *olen = 2 * plen + 1; in mbedtls_ecp_point_write_binary() 744 MBEDTLS_MPI_CHK(mbedtls_mpi_write_binary(&P->X, buf + 1, plen)); in mbedtls_ecp_point_write_binary() 745 MBEDTLS_MPI_CHK(mbedtls_mpi_write_binary(&P->Y, buf + 1 + plen, plen)); in mbedtls_ecp_point_write_binary() 747 *olen = plen + 1; in mbedtls_ecp_point_write_binary() 754 MBEDTLS_MPI_CHK(mbedtls_mpi_write_binary(&P->X, buf + 1, plen)); in mbedtls_ecp_point_write_binary() 778 size_t plen; in mbedtls_ecp_point_read_binary() local [all …]
|
| H A D | bignum.c | 799 size_t n, slen, plen; in mbedtls_mpi_write_file() local 818 plen = strlen(p); in mbedtls_mpi_write_file() 824 if (fwrite(p, 1, plen, fout) != plen || in mbedtls_mpi_write_file()
|
| H A D | ecp_curves.c | 4557 const mbedtls_mpi_uint *p, size_t plen, in ecp_group_load() argument 4565 ecp_mpi_load(&grp->P, p, plen); in ecp_group_load()
|
| H A D | ecp_curves_new.c | 4525 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()
|
| /optee_os/core/lib/libtomcrypt/src/pk/rsa/ |
| H A D | rsa_set.c | 62 int rsa_set_factors(const unsigned char *p, unsigned long plen, in rsa_set_factors() argument 75 …if ((err = mp_read_unsigned_bin(key->p , (unsigned char *)p , plen)) != CRYPT_OK) { goto LBL_ERR; } in rsa_set_factors()
|
| /optee_os/core/lib/libtomcrypt/src/pk/dsa/ |
| H A D | dsa_set.c | 19 int dsa_set_pqg(const unsigned char *p, unsigned long plen, in dsa_set_pqg() argument 36 … if ((err = mp_read_unsigned_bin(key->p, (unsigned char *)p , plen)) != CRYPT_OK) { goto LBL_ERR; } in dsa_set_pqg()
|
| /optee_os/core/lib/libtomcrypt/src/pk/dh/ |
| H A D | dh_set.c | 18 int dh_set_pg(const unsigned char *p, unsigned long plen, in dh_set_pg() argument 34 …if ((err = mp_read_unsigned_bin(key->prime, (unsigned char*)p, plen)) != CRYPT_OK) { goto LBL_ERR… in dh_set_pg()
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | boot.c | 757 int plen; in check_node_compat_prefix() local 760 prop = fdt_getprop(dt->blob, offs, "compatible", &plen); in check_node_compat_prefix() 764 while (plen > 0) { in check_node_compat_prefix() 770 plen -= l; in check_node_compat_prefix()
|
| /optee_os/core/lib/libtomcrypt/src/headers/ |
| H A D | tomcrypt_pk.h | 117 int rsa_set_factors(const unsigned char *p, unsigned long plen, 142 int dh_set_pg(const unsigned char *p, unsigned long plen, 443 int dsa_set_pqg(const unsigned char *p, unsigned long plen,
|