Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/pk/dh/
A Ddh_set.c25 int dh_set_pg(const unsigned char *p, unsigned long plen, in dh_set_pg() argument
41 …if ((err = mp_read_unsigned_bin(key->prime, (unsigned char*)p, plen)) != CRYPT_OK) { goto LBL_ERR… in dh_set_pg()
/optee_os/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_set.c26 int dsa_set_pqg(const unsigned char *p, unsigned long plen, in dsa_set_pqg() argument
43 … 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/rsa/
A Drsa_set.c70 int rsa_set_factors(const unsigned char *p, unsigned long plen, in rsa_set_factors() argument
83 …if ((err = mp_read_unsigned_bin(key->p , (unsigned char *)p , plen)) != CRYPT_OK) { goto LBL_ERR; } in rsa_set_factors()
/optee_os/out/arm/export-ta_arm32/host_include/mbedtls/
A Dpkcs5.h88 size_t plen, const unsigned char *salt, size_t slen,
/optee_os/out/arm/export-ta_arm32/include/mbedtls/
A Dpkcs5.h88 size_t plen, const unsigned char *salt, size_t slen,
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
A Dpkcs5.h88 size_t plen, const unsigned char *salt, size_t slen,
/optee_os/out/arm/export-ta_arm64/include/mbedtls/
A Dpkcs5.h88 size_t plen, const unsigned char *salt, size_t slen,
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/
A Dpkcs5.h88 size_t plen, const unsigned char *salt, size_t slen,
/optee_os/lib/libmbedtls/mbedtls/library/
A Decp.c879 size_t plen; in mbedtls_ecp_point_write_binary() local
887 plen = mbedtls_mpi_size( &grp->P ); in mbedtls_ecp_point_write_binary()
893 *olen = plen; in mbedtls_ecp_point_write_binary()
919 *olen = 2 * plen + 1; in mbedtls_ecp_point_write_binary()
926 MBEDTLS_MPI_CHK( mbedtls_mpi_write_binary( &P->Y, buf + 1 + plen, plen ) ); in mbedtls_ecp_point_write_binary()
930 *olen = plen + 1; in mbedtls_ecp_point_write_binary()
953 size_t plen; in mbedtls_ecp_point_read_binary() local
961 plen = mbedtls_mpi_size( &grp->P ); in mbedtls_ecp_point_read_binary()
966 if( plen != ilen ) in mbedtls_ecp_point_read_binary()
993 if( ilen != 2 * plen + 1 ) in mbedtls_ecp_point_read_binary()
[all …]
A Dpkcs5.c220 size_t plen, const unsigned char *salt, size_t slen, in mbedtls_pkcs5_pbkdf2_hmac() argument
242 if( ( ret = mbedtls_md_hmac_starts( ctx, password, plen ) ) != 0 ) in mbedtls_pkcs5_pbkdf2_hmac()
A Decp_curves.c606 const mbedtls_mpi_uint *p, size_t plen, in ecp_group_load() argument
613 ecp_mpi_load( &grp->P, p, plen ); in ecp_group_load()
A Dbignum.c859 size_t n, slen, plen; in mbedtls_mpi_write_file() local
876 plen = strlen( p ); in mbedtls_mpi_write_file()
883 if( fwrite( p, 1, plen, fout ) != plen || in mbedtls_mpi_write_file()
/optee_os/core/arch/arm/kernel/
A Dboot.c809 int plen; in check_node_compat_prefix() local
812 prop = fdt_getprop(dt->blob, offs, "compatible", &plen); in check_node_compat_prefix()
816 while (plen > 0) { in check_node_compat_prefix()
822 plen -= l; in check_node_compat_prefix()
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_pk.h122 int rsa_set_factors(const unsigned char *p, unsigned long plen,
147 int dh_set_pg(const unsigned char *p, unsigned long plen,
433 int dsa_set_pqg(const unsigned char *p, unsigned long plen,

Completed in 31 milliseconds