/net-tools-3.4.0/tinydtls-0.8.2/ |
D | ccm.c | 37 #define CCM_FLAGS(A,M,L) (((A > 0) << 6) | (((M - 2)/2) << 3) | (L - 1)) argument 50 block0(size_t M, /* number of auth bytes */ in block0() argument 58 result[0] = CCM_FLAGS(la, M, L); in block0() 176 dtls_ccm_encrypt_message(rijndael_ctx *ctx, size_t M, size_t L, in dtls_ccm_encrypt_message() argument 191 block0(M, L, la, lm, nonce, B); in dtls_ccm_encrypt_message() 233 for (i = 0; i < M; ++i) in dtls_ccm_encrypt_message() 236 return len + M; in dtls_ccm_encrypt_message() 240 dtls_ccm_decrypt_message(rijndael_ctx *ctx, size_t M, size_t L, in dtls_ccm_decrypt_message() argument 254 if (lm < M) in dtls_ccm_decrypt_message() 258 lm -= M; /* detract MAC size*/ in dtls_ccm_decrypt_message() [all …]
|
D | ccm.h | 58 dtls_ccm_encrypt_message(rijndael_ctx *ctx, size_t M, size_t L, 64 dtls_ccm_decrypt_message(rijndael_ctx *ctx, size_t M, size_t L,
|
D | dtls.c | 95 #define DTLS_RECORD_HEADER(M) ((dtls_record_header_t *)(M)) argument 96 #define DTLS_HANDSHAKE_HEADER(M) ((dtls_handshake_header_t *)(M)) argument 98 #define HANDSHAKE(M) ((dtls_handshake_header_t *)((M) + DTLS_RH_LENGTH)) argument 99 #define CLIENTHELLO(M) ((dtls_client_hello_t *)((M) + HS_HDR_LENGTH)) argument
|
/net-tools-3.4.0/mbedtls-2.4.0/library/ |
D | ecp_curves.c | 1118 mbedtls_mpi M; in ecp_mod_p521() local 1128 M.s = 1; in ecp_mod_p521() 1129 M.n = N->n - ( P521_WIDTH - 1 ); in ecp_mod_p521() 1130 if( M.n > P521_WIDTH + 1 ) in ecp_mod_p521() 1131 M.n = P521_WIDTH + 1; in ecp_mod_p521() 1132 M.p = Mp; in ecp_mod_p521() 1133 memcpy( Mp, N->p + P521_WIDTH - 1, M.n * sizeof( mbedtls_mpi_uint ) ); in ecp_mod_p521() 1134 MBEDTLS_MPI_CHK( mbedtls_mpi_shift_r( &M, 521 % ( 8 * sizeof( mbedtls_mpi_uint ) ) ) ); in ecp_mod_p521() 1142 MBEDTLS_MPI_CHK( mbedtls_mpi_add_abs( N, N, &M ) ); in ecp_mod_p521() 1167 mbedtls_mpi M; in ecp_mod_p255() local [all …]
|
D | ecp.c | 909 mbedtls_mpi M, S, T, U; in ecp_double_jac() local 915 mbedtls_mpi_init( &M ); mbedtls_mpi_init( &S ); mbedtls_mpi_init( &T ); mbedtls_mpi_init( &U ); in ecp_double_jac() 925 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_int( &M, &S, 3 ) ); MOD_ADD( M ); in ecp_double_jac() 931 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_int( &M, &S, 3 ) ); MOD_ADD( M ); in ecp_double_jac() 940 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( &M, &M, &S ) ); MOD_ADD( M ); in ecp_double_jac() 955 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &T, &M, &M ) ); MOD_MUL( T ); in ecp_double_jac() 961 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &S, &S, &M ) ); MOD_MUL( S ); in ecp_double_jac() 973 mbedtls_mpi_free( &M ); mbedtls_mpi_free( &S ); mbedtls_mpi_free( &T ); mbedtls_mpi_free( &U ); in ecp_double_jac() 1319 mbedtls_mpi M, mm; in ecp_mul_comb() local 1321 mbedtls_mpi_init( &M ); in ecp_mul_comb() [all …]
|
/net-tools-3.4.0/mbedtls-2.4.0/tests/data_files/ |
D | server10_int3_int-ca2.crt | 37 7/lH9VQiE3/px7amD32cidoPvWLA9U3f1FsPmJESUz0wwNfINpDjmPr8dGbkCN+M 77 7/lH9VQiE3/px7amD32cidoPvWLA9U3f1FsPmJESUz0wwNfINpDjmPr8dGbkCN+M
|
D | server9.req.sha512 | 11 W7F7X0f9lpzNKOtQ8ix0s+nYS2ONyzfu55+Rlzf8/63M
|
D | enco-ca-prstr.pem | 12 6NEn6xC+M+H2LGVHSSropcGa8olLlo98LrsFuHVHMewTs7SK2lc+7rU/ILec3ymj
|
D | test-int-ca2.crt | 15 7/lH9VQiE3/px7amD32cidoPvWLA9U3f1FsPmJESUz0wwNfINpDjmPr8dGbkCN+M
|
D | server8_int-ca2.crt | 33 7/lH9VQiE3/px7amD32cidoPvWLA9U3f1FsPmJESUz0wwNfINpDjmPr8dGbkCN+M
|
D | server10_int3_int-ca2_ca.crt | 37 7/lH9VQiE3/px7amD32cidoPvWLA9U3f1FsPmJESUz0wwNfINpDjmPr8dGbkCN+M 77 7/lH9VQiE3/px7amD32cidoPvWLA9U3f1FsPmJESUz0wwNfINpDjmPr8dGbkCN+M
|
/net-tools-3.4.0/tinydtls-0.8.2/tests/ |
D | ccm-test.c | 66 len = dtls_ccm_encrypt_message(&ctx, data[n].M, data[n].L, data[n].nonce, 81 len = dtls_ccm_decrypt_message(&ctx, data[n].M, data[n].L, data[n].nonce,
|
D | ccm-testdata.c | 29 size_t M, L; member
|
/net-tools-3.4.0/ |
D | echo-apps-cert.pem | 6 M/ipxebUGYuCJdkZdHB57MZoye/OGqnwtwE1kf/TdW4CugaaKqzPIr8rH8FyOCI1
|
D | https-server.pem | 19 YnszmLvfVwKBgBP+fGk3zT3CRDBXI6FV4ykWb+Kh58ja0vYozgXAm4aQ0/M/j4tZ
|
/net-tools-3.4.0/mbedtls-2.4.0/ |
D | ChangeLog | 596 (suggested by Thorsten Mühlfelder). 1992 by Jonathan M. McCune)
|