Home
last modified time | relevance | path

Searched refs:E (Results 1 – 25 of 63) sorted by relevance

123

/mbedtls-development/library/
A Dripemd160.c92 uint32_t A, B, C, D, E, Ap, Bp, Cp, Dp, Ep, X[16]; in mbedtls_internal_ripemd160_process() member
116 local.E = local.Ep = ctx->state[4]; in mbedtls_internal_ripemd160_process()
146 P2( local.A, local.B, local.C, local.D, local.E, 0, 11, 5, 8 ); in mbedtls_internal_ripemd160_process()
147 P2( local.E, local.A, local.B, local.C, local.D, 1, 14, 14, 9 ); in mbedtls_internal_ripemd160_process()
148 P2( local.D, local.E, local.A, local.B, local.C, 2, 15, 7, 9 ); in mbedtls_internal_ripemd160_process()
149 P2( local.C, local.D, local.E, local.A, local.B, 3, 12, 0, 11 ); in mbedtls_internal_ripemd160_process()
150 P2( local.B, local.C, local.D, local.E, local.A, 4, 5, 9, 13 ); in mbedtls_internal_ripemd160_process()
151 P2( local.A, local.B, local.C, local.D, local.E, 5, 8, 2, 15 ); in mbedtls_internal_ripemd160_process()
152 P2( local.E, local.A, local.B, local.C, local.D, 6, 7, 11, 15 ); in mbedtls_internal_ripemd160_process()
153 P2( local.D, local.E, local.A, local.B, local.C, 7, 9, 4, 5 ); in mbedtls_internal_ripemd160_process()
[all …]
A Dsha1.c100 uint32_t temp, W[16], A, B, C, D, E; in mbedtls_internal_sha1_process() member
145 local.E = ctx->state[4]; in mbedtls_internal_sha1_process()
166 P( local.E, local.A, local.B, local.C, local.D, R(16) ); in mbedtls_internal_sha1_process()
167 P( local.D, local.E, local.A, local.B, local.C, R(17) ); in mbedtls_internal_sha1_process()
168 P( local.C, local.D, local.E, local.A, local.B, R(18) ); in mbedtls_internal_sha1_process()
169 P( local.B, local.C, local.D, local.E, local.A, R(19) ); in mbedtls_internal_sha1_process()
177 P( local.A, local.B, local.C, local.D, local.E, R(20) ); in mbedtls_internal_sha1_process()
178 P( local.E, local.A, local.B, local.C, local.D, R(21) ); in mbedtls_internal_sha1_process()
179 P( local.D, local.E, local.A, local.B, local.C, R(22) ); in mbedtls_internal_sha1_process()
180 P( local.C, local.D, local.E, local.A, local.B, R(23) ); in mbedtls_internal_sha1_process()
[all …]
A Drsa_alt_helpers.c94 mbedtls_mpi_cmp_int( E, 1 ) <= 0 || in mbedtls_rsa_deduce_primes()
95 mbedtls_mpi_cmp_mpi( E, N ) >= 0 ) in mbedtls_rsa_deduce_primes()
108 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &T, D, E ) ); in mbedtls_rsa_deduce_primes()
210 mbedtls_mpi_cmp_int( E, 0 ) == 0 ) in mbedtls_rsa_deduce_private_exponent()
230 MBEDTLS_MPI_CHK( mbedtls_mpi_inv_mod( D, E, &K ) ); in mbedtls_rsa_deduce_private_exponent()
279 const mbedtls_mpi *E, in mbedtls_rsa_validate_params() argument
336 if( N != NULL && D != NULL && E != NULL ) in mbedtls_rsa_validate_params()
339 mbedtls_mpi_cmp_int( E, 1 ) <= 0 || in mbedtls_rsa_validate_params()
341 mbedtls_mpi_cmp_mpi( E, N ) >= 0 ) in mbedtls_rsa_validate_params()
352 if( P != NULL && Q != NULL && D != NULL && E != NULL ) in mbedtls_rsa_validate_params()
[all …]
A Daes.c126 V(1B,09,09,12), V(9E,83,83,1D), V(74,2C,2C,58), V(2E,1A,1A,34), \
127 V(2D,1B,1B,36), V(B2,6E,6E,DC), V(EE,5A,5A,B4), V(FB,A0,A0,5B), \
129 V(7B,29,29,52), V(3E,E3,E3,DD), V(71,2F,2F,5E), V(97,84,84,13), \
144 V(57,C4,C4,93), V(F2,A7,A7,55), V(82,7E,7E,FC), V(47,3D,3D,7A), \
149 V(79,DE,DE,A7), V(E2,5E,5E,BC), V(1D,0B,0B,16), V(76,DB,DB,AD), \
150 V(3B,E0,E0,DB), V(56,32,32,64), V(4E,3A,3A,74), V(1E,0A,0A,14), \
155 V(8C,8D,8D,01), V(64,D5,D5,B1), V(D2,4E,4E,9C), V(E0,A9,A9,49), \
158 V(D5,BA,BA,6F), V(88,78,78,F0), V(6F,25,25,4A), V(72,2E,2E,5C), \
162 V(90,70,70,E0), V(42,3E,3E,7C), V(C4,B5,B5,71), V(AA,66,66,CC), \
163 V(D8,48,48,90), V(05,03,03,06), V(01,F6,F6,F7), V(12,0E,0E,1C), \
[all …]
A Drsa_alt_helpers.h91 int mbedtls_rsa_deduce_primes( mbedtls_mpi const *N, mbedtls_mpi const *E,
118 mbedtls_mpi const *E,
179 const mbedtls_mpi *E,
A Drsa.c103 ( E != NULL && ( ret = mbedtls_mpi_copy( &ctx->E, E ) ) != 0 ) ) in mbedtls_rsa_import()
139 if( E != NULL ) in mbedtls_rsa_import_raw()
140 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &ctx->E, E, E_len ) ); in mbedtls_rsa_import_raw()
201 if( mbedtls_mpi_cmp_int( &ctx->E, 0 ) <= 0 ) in rsa_check_context()
364 mbedtls_mpi_cmp_int( &ctx->E, 0 ) != 0; in mbedtls_rsa_export_raw()
387 if( E != NULL ) in mbedtls_rsa_export_raw()
388 MBEDTLS_MPI_CHK( mbedtls_mpi_write_binary( &ctx->E, E, E_len ) ); in mbedtls_rsa_export_raw()
426 ( E != NULL && ( ret = mbedtls_mpi_copy( E, &ctx->E ) ) != 0 ) ) in mbedtls_rsa_export()
740 mbedtls_mpi_cmp_mpi( &pub->E, &prv->E ) != 0 ) in mbedtls_rsa_check_pub_priv()
2446 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->E, &src->E ) ); in mbedtls_rsa_copy()
[all …]
/mbedtls-development/tests/suites/
A Dtest_suite_pkcs1_v21.function19 mbedtls_mpi N, E;
26 mbedtls_mpi_init( &N ); mbedtls_mpi_init( &E );
51 mbedtls_mpi_free( &N ); mbedtls_mpi_free( &E );
66 mbedtls_mpi N, P, Q, E;
70 mbedtls_mpi_init( &Q ); mbedtls_mpi_init( &E );
113 mbedtls_mpi_free( &Q ); mbedtls_mpi_free( &E );
130 mbedtls_mpi N, P, Q, E;
138 mbedtls_mpi_init( &Q ); mbedtls_mpi_init( &E );
185 mbedtls_mpi_free( &Q ); mbedtls_mpi_free( &E );
198 mbedtls_mpi N, E;
[all …]
A Dtest_suite_rsa.data464 RSA Import (N,P,Q,D,E)
476 RSA Import (-,P,Q,D,E)
482 RSA Import (N,-,-,D,E)
488 RSA Import (N,P,Q,-,E)
494 RSA Import (-,P,Q,-,E)
500 RSA Import (N,-,Q,-,E)
524 RSA Import Raw (-,P,Q,D,E)
563 RSA Export (N,P,Q,D,E)
569 RSA Export (N,-,-,D,E)
575 RSA Export (N,P,Q,-,E)
[all …]
A Dtest_suite_rsa.function90 mbedtls_mpi N, P, Q, E;
143 mbedtls_mpi N, E;
178 mbedtls_mpi N, P, Q, E;
228 mbedtls_mpi N, E;
262 mbedtls_mpi N, E;
307 mbedtls_mpi N, E;
352 mbedtls_mpi N, P, Q, E;
404 mbedtls_mpi N, E;
461 mbedtls_mpi N, P, Q, E;
543 mbedtls_mpi N, E;
[all …]
A Dtest_suite_pkcs1_v15.function20 mbedtls_mpi N, E;
27 mbedtls_mpi_init( &N ); mbedtls_mpi_init( &E );
54 mbedtls_mpi_free( &N ); mbedtls_mpi_free( &E );
71 mbedtls_mpi N, P, Q, E;
75 mbedtls_mpi_init( &Q ); mbedtls_mpi_init( &E );
118 mbedtls_mpi_free( &Q ); mbedtls_mpi_free( &E );
152 static unsigned char E[1] = { 0x03 };
203 TEST_ASSERT( mbedtls_mpi_read_binary( &Empi, E, sizeof( E ) ) == 0 );
275 mbedtls_mpi N, P, Q, E;
284 mbedtls_mpi_init( &Q ); mbedtls_mpi_init( &E );
[all …]
/mbedtls-development/programs/pkey/
A Dmpi_demo.c52 mbedtls_mpi E, P, Q, N, H, D, X, Y, Z; in main() local
54 mbedtls_mpi_init( &E ); mbedtls_mpi_init( &P ); mbedtls_mpi_init( &Q ); mbedtls_mpi_init( &N ); in main()
60 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &E, 10, "257" ) ); in main()
65 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( " E = ", &E, 10, NULL ) ); in main()
75 MBEDTLS_MPI_CHK( mbedtls_mpi_inv_mod( &D, &E, &H ) ); in main()
83 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &Y, &X, &E, &N, NULL ) ); in main()
95 mbedtls_mpi_free( &E ); mbedtls_mpi_free( &P ); mbedtls_mpi_free( &Q ); mbedtls_mpi_free( &N ); in main()
A Drsa_genkey.c68 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in main() local
76 mbedtls_mpi_init( &D ); mbedtls_mpi_init( &E ); mbedtls_mpi_init( &DP ); in main()
104 if( ( ret = mbedtls_rsa_export ( &rsa, &N, &P, &Q, &D, &E ) ) != 0 || in main()
118 ( ret = mbedtls_mpi_write_file( "E = ", &E, 16, fpub ) ) != 0 ) in main()
134 ( ret = mbedtls_mpi_write_file( "E = " , &E , 16, fpriv ) ) != 0 || in main()
158 mbedtls_mpi_free( &D ); mbedtls_mpi_free( &E ); mbedtls_mpi_free( &DP ); in main()
A Drsa_encrypt.c69 mbedtls_mpi N, E; in main() local
85 mbedtls_mpi_init( &N ); mbedtls_mpi_init( &E ); in main()
111 ( ret = mbedtls_mpi_read_file( &E, 16, f ) ) != 0 ) in main()
120 if( ( ret = mbedtls_rsa_import( &rsa, &N, NULL, NULL, NULL, &E ) ) != 0 ) in main()
170 mbedtls_mpi_free( &N ); mbedtls_mpi_free( &E ); in main()
A Drsa_sign.c64 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in main() local
69 mbedtls_mpi_init( &D ); mbedtls_mpi_init( &E ); mbedtls_mpi_init( &DP ); in main()
94 ( ret = mbedtls_mpi_read_file( &E , 16, f ) ) != 0 || in main()
108 if( ( ret = mbedtls_rsa_import( &rsa, &N, &P, &Q, &D, &E ) ) != 0 ) in main()
177 mbedtls_mpi_free( &D ); mbedtls_mpi_free( &E ); mbedtls_mpi_free( &DP ); in main()
A Drsa_decrypt.c65 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in main() local
93 mbedtls_mpi_init( &D ); mbedtls_mpi_init( &E ); mbedtls_mpi_init( &DP ); in main()
117 ( ret = mbedtls_mpi_read_file( &E , 16, f ) ) != 0 || in main()
132 if( ( ret = mbedtls_rsa_import( &rsa, &N, &P, &Q, &D, &E ) ) != 0 ) in main()
196 mbedtls_mpi_free( &D ); mbedtls_mpi_free( &E ); mbedtls_mpi_free( &DP ); in main()
A Dkey_app.c101 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in main() local
113 mbedtls_mpi_init( &D ); mbedtls_mpi_init( &E ); mbedtls_mpi_init( &DP ); in main()
220 if( ( ret = mbedtls_rsa_export ( rsa, &N, &P, &Q, &D, &E ) ) != 0 || in main()
228 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( "E: ", &E, 16, NULL ) ); in main()
279 NULL, &E ) ) != 0 ) in main()
285 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( "E: ", &E, 16, NULL ) ); in main()
324 mbedtls_mpi_free( &D ); mbedtls_mpi_free( &E ); mbedtls_mpi_free( &DP ); in main()
A Dkey_app_writer.c216 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in main() local
230 mbedtls_mpi_init( &D ); mbedtls_mpi_init( &E ); mbedtls_mpi_init( &DP ); in main()
339 if( ( ret = mbedtls_rsa_export ( rsa, &N, &P, &Q, &D, &E ) ) != 0 || in main()
347 mbedtls_mpi_write_file( "E: ", &E, 16, NULL ); in main()
400 NULL, &E ) ) != 0 ) in main()
406 mbedtls_mpi_write_file( "E: ", &E, 16, NULL ); in main()
449 mbedtls_mpi_free( &D ); mbedtls_mpi_free( &E ); mbedtls_mpi_free( &DP ); in main()
A Ddh_server.c90 mbedtls_mpi N, P, Q, D, E; in main() local
99 mbedtls_mpi_init( &D ); mbedtls_mpi_init( &E ); in main()
132 ( ret = mbedtls_mpi_read_file( &E , 16, f ) ) != 0 || in main()
144 if( ( ret = mbedtls_rsa_import( &rsa, &N, &P, &Q, &D, &E ) ) != 0 ) in main()
314 mbedtls_mpi_free( &D ); mbedtls_mpi_free( &E ); in main()
A Dgen_key.c195 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in main() local
208 mbedtls_mpi_init( &D ); mbedtls_mpi_init( &E ); mbedtls_mpi_init( &DP ); in main()
371 if( ( ret = mbedtls_rsa_export ( rsa, &N, &P, &Q, &D, &E ) ) != 0 || in main()
379 mbedtls_mpi_write_file( "E: ", &E, 16, NULL ); in main()
431 mbedtls_mpi_free( &D ); mbedtls_mpi_free( &E ); mbedtls_mpi_free( &DP ); in main()
A Drsa_pub.txt2 E = 010001
A Drsa_priv.txt2 E = 010001
/mbedtls-development/programs/fuzz/
A Dfuzz_pubkey.c18 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in LLVMFuzzerTestOneInput() local
22 mbedtls_mpi_init( &D ); mbedtls_mpi_init( &E ); mbedtls_mpi_init( &DP ); in LLVMFuzzerTestOneInput()
26 if ( mbedtls_rsa_export( rsa, &N, NULL, NULL, NULL, &E ) != 0 ) { in LLVMFuzzerTestOneInput()
29 if ( mbedtls_rsa_export( rsa, &N, &P, &Q, &D, &E ) != MBEDTLS_ERR_RSA_BAD_INPUT_DATA ) { in LLVMFuzzerTestOneInput()
37 mbedtls_mpi_free( &D ); mbedtls_mpi_free( &E ); mbedtls_mpi_free( &DP ); in LLVMFuzzerTestOneInput()
A Dfuzz_privkey.c29 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in LLVMFuzzerTestOneInput() local
33 mbedtls_mpi_init( &D ); mbedtls_mpi_init( &E ); mbedtls_mpi_init( &DP ); in LLVMFuzzerTestOneInput()
37 if ( mbedtls_rsa_export( rsa, &N, &P, &Q, &D, &E ) != 0 ) { in LLVMFuzzerTestOneInput()
45 mbedtls_mpi_free( &D ); mbedtls_mpi_free( &E ); mbedtls_mpi_free( &DP ); in LLVMFuzzerTestOneInput()
/mbedtls-development/include/mbedtls/
A Drsa.h100 mbedtls_mpi MBEDTLS_PRIVATE(E); /*!< The public exponent. */
217 const mbedtls_mpi *D, const mbedtls_mpi *E );
258 unsigned char const *E, size_t E_len );
336 mbedtls_mpi *D, mbedtls_mpi *E );
390 unsigned char *E, size_t E_len );
/mbedtls-development/tests/data_files/
A DReadme-x509.txt47 - key type: R -> RSA, E -> EC
59 - cli2.crt: 2 E: basic
68 - server3.crt: 1 E L: EC cert signed by RSA CA
70 - server5*.crt: 2* E L: misc *(except -selfsigned and -ss-*)
82 - server6-ss-child.crt: O E: "child" of non-CA server5-selfsigned
83 - server6.crt, server6.pem: 2 E L C: revoked
84 - server7.crt: I1 E L P1(usually): EC signed by RSA signed by EC
98 - server10.crt: I3 E L

Completed in 50 milliseconds

123