Home
last modified time | relevance | path

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

/optee_os/lib/libmbedtls/core/
A Ddh.c51 mbedtls_dhm_context dhm; in crypto_acipher_gen_dh_key() local
55 memset(&dhm, 0, sizeof(dhm)); in crypto_acipher_gen_dh_key()
56 mbedtls_dhm_init(&dhm); in crypto_acipher_gen_dh_key()
68 xbytes = dhm.len; in crypto_acipher_gen_dh_key()
72 buf = malloc(dhm.len); in crypto_acipher_gen_dh_key()
92 mbedtls_dhm_free(&dhm); in crypto_acipher_gen_dh_key()
106 memset(&dhm, 0, sizeof(dhm)); in crypto_acipher_dh_shared_secret()
107 mbedtls_dhm_init(&dhm); in crypto_acipher_dh_shared_secret()
117 buf = malloc(dhm.len); in crypto_acipher_dh_shared_secret()
123 lmd_res = mbedtls_dhm_calc_secret(&dhm, buf, dhm.len, in crypto_acipher_dh_shared_secret()
[all …]
/optee_os/lib/libmbedtls/mbedtls/library/
A Ddhm.c490 DHM_VALIDATE_RET( dhm != NULL ); in mbedtls_dhm_parse_dhm()
537 if( ( ret = mbedtls_asn1_get_mpi( &p, end, &dhm->P ) ) != 0 || in mbedtls_dhm_parse_dhm()
538 ( ret = mbedtls_asn1_get_mpi( &p, end, &dhm->G ) ) != 0 ) in mbedtls_dhm_parse_dhm()
567 dhm->len = mbedtls_mpi_size( &dhm->P ); in mbedtls_dhm_parse_dhm()
574 mbedtls_dhm_free( dhm ); in mbedtls_dhm_parse_dhm()
640 DHM_VALIDATE_RET( dhm != NULL ); in mbedtls_dhm_parse_dhmfile()
646 ret = mbedtls_dhm_parse_dhm( dhm, buf, n ); in mbedtls_dhm_parse_dhmfile()
690 mbedtls_dhm_context dhm; in mbedtls_dhm_self_test() local
692 mbedtls_dhm_init( &dhm ); in mbedtls_dhm_self_test()
697 if( ( ret = mbedtls_dhm_parse_dhm( &dhm, in mbedtls_dhm_self_test()
[all …]
/optee_os/out/arm/ta_arm64-lib/libmbedtls/mbedtls/library/
A D.dhm.o.cmd1dhm.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bin/aarc…
A D.dhm.o.d1 out/arm/ta_arm64-lib/libmbedtls/mbedtls/library/dhm.o: \
2 lib/libmbedtls/mbedtls/library/dhm.c out/arm/include/generated/conf.h \
/optee_os/out/arm/ta_arm32-lib/libmbedtls/mbedtls/library/
A D.dhm.o.cmd1dhm.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch32/bin/arm-…
A D.dhm.o.d1 out/arm/ta_arm32-lib/libmbedtls/mbedtls/library/dhm.o: \
2 lib/libmbedtls/mbedtls/library/dhm.c out/arm/include/generated/conf.h \
/optee_os/out/arm/core-lib/libmbedtls/mbedtls/library/
A D.dhm.o.cmd1dhm.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bin/aarc…
A D.dhm.o.d1 out/arm/core-lib/libmbedtls/mbedtls/library/dhm.o: \
2 lib/libmbedtls/mbedtls/library/dhm.c out/arm/include/generated/conf.h \
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
A Ddhm.h313 int mbedtls_dhm_parse_dhm( mbedtls_dhm_context *dhm, const unsigned char *dhmin,
329 int mbedtls_dhm_parse_dhmfile( mbedtls_dhm_context *dhm, const char *path );
/optee_os/out/arm/export-ta_arm64/include/mbedtls/
A Ddhm.h313 int mbedtls_dhm_parse_dhm( mbedtls_dhm_context *dhm, const unsigned char *dhmin,
329 int mbedtls_dhm_parse_dhmfile( mbedtls_dhm_context *dhm, const char *path );
/optee_os/out/arm/export-ta_arm32/host_include/mbedtls/
A Ddhm.h313 int mbedtls_dhm_parse_dhm( mbedtls_dhm_context *dhm, const unsigned char *dhmin,
329 int mbedtls_dhm_parse_dhmfile( mbedtls_dhm_context *dhm, const char *path );
/optee_os/out/arm/export-ta_arm32/include/mbedtls/
A Ddhm.h313 int mbedtls_dhm_parse_dhm( mbedtls_dhm_context *dhm, const unsigned char *dhmin,
329 int mbedtls_dhm_parse_dhmfile( mbedtls_dhm_context *dhm, const char *path );
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/
A Ddhm.h313 int mbedtls_dhm_parse_dhm( mbedtls_dhm_context *dhm, const unsigned char *dhmin,
329 int mbedtls_dhm_parse_dhmfile( mbedtls_dhm_context *dhm, const char *path );
/optee_os/lib/libmbedtls/
A Dsub.mk25 SRCS_CRYPTO += dhm.c
78 SRCS_CRYPTO += dhm.c
/optee_os/lib/libmbedtls/mbedtls/
A DChangeLog3188 * dhm_parse_dhm() (hence dhm_parse_dhmfile()) did not set dhm->len.

Completed in 32 milliseconds