/net-tools-3.4.0/mbedtls-2.4.0/library/ |
D | ripemd160.c | 117 uint32_t A, B, C, D, E, Ap, Bp, Cp, Dp, Ep, X[16]; in mbedtls_ripemd160_process() local 140 E = Ep = ctx->state[4]; in mbedtls_ripemd160_process() 163 P2( A, B, C, D, E, 0, 11, 5, 8 ); in mbedtls_ripemd160_process() 164 P2( E, A, B, C, D, 1, 14, 14, 9 ); in mbedtls_ripemd160_process() 165 P2( D, E, A, B, C, 2, 15, 7, 9 ); in mbedtls_ripemd160_process() 166 P2( C, D, E, A, B, 3, 12, 0, 11 ); in mbedtls_ripemd160_process() 167 P2( B, C, D, E, A, 4, 5, 9, 13 ); in mbedtls_ripemd160_process() 168 P2( A, B, C, D, E, 5, 8, 2, 15 ); in mbedtls_ripemd160_process() 169 P2( E, A, B, C, D, 6, 7, 11, 15 ); in mbedtls_ripemd160_process() 170 P2( D, E, A, B, C, 7, 9, 4, 5 ); in mbedtls_ripemd160_process() [all …]
|
D | sha1.c | 115 uint32_t temp, W[16], A, B, C, D, E; in mbedtls_sha1_process() local 152 E = ctx->state[4]; in mbedtls_sha1_process() 157 P( A, B, C, D, E, W[0] ); in mbedtls_sha1_process() 158 P( E, A, B, C, D, W[1] ); in mbedtls_sha1_process() 159 P( D, E, A, B, C, W[2] ); in mbedtls_sha1_process() 160 P( C, D, E, A, B, W[3] ); in mbedtls_sha1_process() 161 P( B, C, D, E, A, W[4] ); in mbedtls_sha1_process() 162 P( A, B, C, D, E, W[5] ); in mbedtls_sha1_process() 163 P( E, A, B, C, D, W[6] ); in mbedtls_sha1_process() 164 P( D, E, A, B, C, W[7] ); in mbedtls_sha1_process() [all …]
|
D | aes.c | 140 V(15,FA,FA,EF), V(EB,59,59,B2), V(C9,47,47,8E), V(0B,F0,F0,FB), \ 144 V(5A,36,36,6C), V(41,3F,3F,7E), V(02,F7,F7,F5), V(4F,CC,CC,83), \ 147 V(0C,04,04,08), V(52,C7,C7,95), V(65,23,23,46), V(5E,C3,C3,9D), \ 149 V(09,07,07,0E), V(36,12,12,24), V(9B,80,80,1B), V(3D,E2,E2,DF), \ 150 V(26,EB,EB,CD), V(69,27,27,4E), V(CD,B2,B2,7F), V(9F,75,75,EA), \ 151 V(1B,09,09,12), V(9E,83,83,1D), V(74,2C,2C,58), V(2E,1A,1A,34), \ 152 V(2D,1B,1B,36), V(B2,6E,6E,DC), V(EE,5A,5A,B4), V(FB,A0,A0,5B), \ 154 V(7B,29,29,52), V(3E,E3,E3,DD), V(71,2F,2F,5E), V(97,84,84,13), \ 166 V(30,10,10,20), V(1A,FF,FF,E5), V(0E,F3,F3,FD), V(6D,D2,D2,BF), \ 168 V(E1,5F,5F,BE), V(A2,97,97,35), V(CC,44,44,88), V(39,17,17,2E), \ [all …]
|
D | sha512.c | 203 uint64_t A, B, C, D, E, F, G, H; in mbedtls_sha512_process() local 239 E = ctx->state[4]; in mbedtls_sha512_process() 247 P( A, B, C, D, E, F, G, H, W[i], K[i] ); i++; in mbedtls_sha512_process() 248 P( H, A, B, C, D, E, F, G, W[i], K[i] ); i++; in mbedtls_sha512_process() 249 P( G, H, A, B, C, D, E, F, W[i], K[i] ); i++; in mbedtls_sha512_process() 250 P( F, G, H, A, B, C, D, E, W[i], K[i] ); i++; in mbedtls_sha512_process() 251 P( E, F, G, H, A, B, C, D, W[i], K[i] ); i++; in mbedtls_sha512_process() 252 P( D, E, F, G, H, A, B, C, W[i], K[i] ); i++; in mbedtls_sha512_process() 253 P( C, D, E, F, G, H, A, B, W[i], K[i] ); i++; in mbedtls_sha512_process() 254 P( B, C, D, E, F, G, H, A, W[i], K[i] ); i++; in mbedtls_sha512_process() [all …]
|
D | rsa.c | 115 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &ctx->E, exponent ) ); in mbedtls_rsa_gen_key() 138 MBEDTLS_MPI_CHK( mbedtls_mpi_gcd( &G, &ctx->E, &H ) ); in mbedtls_rsa_gen_key() 148 MBEDTLS_MPI_CHK( mbedtls_mpi_inv_mod( &ctx->D , &ctx->E, &H ) ); in mbedtls_rsa_gen_key() 175 if( !ctx->N.p || !ctx->E.p ) in mbedtls_rsa_check_pubkey() 179 ( ctx->E.p[0] & 1 ) == 0 ) in mbedtls_rsa_check_pubkey() 186 if( mbedtls_mpi_bitlen( &ctx->E ) < 2 || in mbedtls_rsa_check_pubkey() 187 mbedtls_mpi_cmp_mpi( &ctx->E, &ctx->N ) >= 0 ) in mbedtls_rsa_check_pubkey() 213 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &DE, &ctx->D, &ctx->E ) ); in mbedtls_rsa_check_privkey() 217 MBEDTLS_MPI_CHK( mbedtls_mpi_gcd( &G, &ctx->E, &H ) ); in mbedtls_rsa_check_privkey() 267 mbedtls_mpi_cmp_mpi( &pub->E, &prv->E ) != 0 ) in mbedtls_rsa_check_pub_priv() [all …]
|
/net-tools-3.4.0/mbedtls-2.4.0/programs/pkey/ |
D | mpi_demo.c | 51 mbedtls_mpi E, P, Q, N, H, D, X, Y, Z; in main() local 53 mbedtls_mpi_init( &E ); mbedtls_mpi_init( &P ); mbedtls_mpi_init( &Q ); mbedtls_mpi_init( &N ); in main() 59 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &E, 10, "257" ) ); in main() 64 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( " E = ", &E, 10, NULL ) ); in main() 74 MBEDTLS_MPI_CHK( mbedtls_mpi_inv_mod( &D, &E, &H ) ); in main() 82 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &Y, &X, &E, &N, NULL ) ); in main() 92 mbedtls_mpi_free( &E ); mbedtls_mpi_free( &P ); mbedtls_mpi_free( &Q ); mbedtls_mpi_free( &N ); in main()
|
D | rsa_genkey.c | 109 ( ret = mbedtls_mpi_write_file( "E = ", &rsa.E, 16, fpub ) ) != 0 ) in main() 126 ( ret = mbedtls_mpi_write_file( "E = " , &rsa.E , 16, fpriv ) ) != 0 || in main()
|
D | rsa_pub.txt | 2 E = 010001
|
D | rsa_priv.txt | 2 E = 010001
|
/net-tools-3.4.0/libcoap/include/coap/ |
D | encode.h | 20 #define E 4 macro 22 #define EMASK ((1 << E) - 1) 24 #define MAX_VALUE ( (1 << Nn) - (1 << E) ) * (1 << ((1 << E) - 1)) 37 …DE_8_4_UP(v,ls,s) (v < HIBIT ? v : (ls = coap_fls(v) - Nn, (s = (((v + ((1<<E<<ls)-1)) >> ls) & MM…
|
/net-tools-3.4.0/mbedtls-2.4.0/tests/suites/ |
D | test_suite_pkcs1_v15.function | 35 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.E, radix_E, input_E ) == 0 ); 82 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.E, radix_E, input_E ) == 0 ); 87 TEST_ASSERT( mbedtls_mpi_gcd( &G, &ctx.E, &H ) == 0 ); 88 TEST_ASSERT( mbedtls_mpi_inv_mod( &ctx.D , &ctx.E, &H ) == 0 ); 143 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.E, radix_E, input_E ) == 0 ); 148 TEST_ASSERT( mbedtls_mpi_gcd( &G, &ctx.E, &H ) == 0 ); 149 TEST_ASSERT( mbedtls_mpi_inv_mod( &ctx.D , &ctx.E, &H ) == 0 ); 195 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.E, radix_E, input_E ) == 0 );
|
D | test_suite_pkcs1_v21.function | 35 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.E, radix_E, input_E ) == 0 ); 82 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.E, radix_E, input_E ) == 0 ); 87 TEST_ASSERT( mbedtls_mpi_gcd( &G, &ctx.E, &H ) == 0 ); 88 TEST_ASSERT( mbedtls_mpi_inv_mod( &ctx.D , &ctx.E, &H ) == 0 ); 143 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.E, radix_E, input_E ) == 0 ); 148 TEST_ASSERT( mbedtls_mpi_gcd( &G, &ctx.E, &H ) == 0 ); 149 TEST_ASSERT( mbedtls_mpi_inv_mod( &ctx.D , &ctx.E, &H ) == 0 ); 195 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.E, radix_E, input_E ) == 0 ); 236 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.E, radix_E, input_E ) == 0 );
|
D | test_suite_rsa.function | 46 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.E, radix_E, input_E ) == 0 ); 51 TEST_ASSERT( mbedtls_mpi_gcd( &G, &ctx.E, &H ) == 0 ); 52 TEST_ASSERT( mbedtls_mpi_inv_mod( &ctx.D , &ctx.E, &H ) == 0 ); 96 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.E, radix_E, input_E ) == 0 ); 143 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.E, radix_E, input_E ) == 0 ); 148 TEST_ASSERT( mbedtls_mpi_gcd( &G, &ctx.E, &H ) == 0 ); 149 TEST_ASSERT( mbedtls_mpi_inv_mod( &ctx.D , &ctx.E, &H ) == 0 ); 207 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.E, radix_E, input_E ) == 0 ); 259 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.E, radix_E, input_E ) == 0 ); 297 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.E, radix_E, input_E ) == 0 ); [all …]
|
D | test_suite_rsa.data | 264 RSA Check Private key #5 (No E) 288 RSA Check Public key #3 (Even E) 303 RSA Check Public key #8 (E exactly 2 bits) 306 RSA Check Public key #8 (E exactly 1 bits) 309 RSA Check Public key #8 (E exactly 64 bits) 312 RSA Check Public key #8 (E larger than 64 bits) 315 RSA Check Public key #9 (E has size N-2) 318 RSA Check Public key #10 (E has size N) 333 RSA Check Public-Private key #5 (E mismatch)
|
/net-tools-3.4.0/mbedtls-2.4.0/tests/data_files/ |
D | Readme-x509.txt | 43 - key type: R -> RSA, E -> EC 55 - cli2.crt: 2 E: basic 62 - server3.crt: 1 E L: EC cert signed by RSA CA 64 - server5*.crt: 2* E L: misc *(except server5-selfsigned) 68 - server6-ss-child.crt: O E: "child" of non-CA server5-selfsigned 69 - server6.crt, server6.pem: 2 E L C: revoked 70 - server7*.crt: I1 E L P1*: EC signed by RSA signed by EC 76 - server10*.crt: I3 E L P2/P3
|
D | server10_int3_int-ca2.crt | 32 D+s+vMf9/6E/pD0wOzELMAkGA1UEBhMCTkwxETAPBgNVBAoTCFBvbGFyU1NMMRkw 72 D+s+vMf9/6E/pD0wOzELMAkGA1UEBhMCTkwxETAPBgNVBAoTCFBvbGFyU1NMMRkw
|
D | crl-rsa-pss-sha1-badsign.pem | 6 1aaVD+s+vMf9/6E/pD0wOzELMAkGA1UEBhMCTkwxETAPBgNVBAoTCFBvbGFyU1NM
|
D | crl-rsa-pss-sha1.pem | 6 1aaVD+s+vMf9/6E/pD0wOzELMAkGA1UEBhMCTkwxETAPBgNVBAoTCFBvbGFyU1NM
|
D | server3.crt | 8 OtleQ7bgZH2Hq33eNzBjBgNVHSMEXDBagBS0WuSls97SUva51aaVD+s+vMf9/6E/
|
D | test-int-ca2.crt | 10 D+s+vMf9/6E/pD0wOzELMAkGA1UEBhMCTkwxETAPBgNVBAoTCFBvbGFyU1NMMRkw
|
D | server9-badsign.crt | 10 wdMiY7Lfp869UTBjBgNVHSMEXDBagBS0WuSls97SUva51aaVD+s+vMf9/6E/pD0w
|
D | server9-defaults.crt | 10 p869UTBjBgNVHSMEXDBagBS0WuSls97SUva51aaVD+s+vMf9/6E/pD0wOzELMAkG
|
D | server9.crt | 10 wdMiY7Lfp869UTBjBgNVHSMEXDBagBS0WuSls97SUva51aaVD+s+vMf9/6E/pD0w
|
/net-tools-3.4.0/docker/ |
D | gptp.cfg | 66 ptp_dst_mac 01:80:C2:00:00:0E 67 p2p_dst_mac 01:80:C2:00:00:0E
|
/net-tools-3.4.0/mbedtls-2.4.0/programs/test/ |
D | ssl_cert_test.c | 224 ret = mbedtls_mpi_cmp_mpi(&mbedtls_pk_rsa( pk )->E, &mbedtls_pk_rsa( clicert.pk )->E); in main()
|