/optee_os/lib/libmbedtls/mbedtls/library/ |
A D | ripemd160.c | 122 uint32_t A, B, C, D, E, Ap, Bp, Cp, Dp, Ep, X[16]; in mbedtls_internal_ripemd160_process() member 146 local.E = local.Ep = ctx->state[4]; in mbedtls_internal_ripemd160_process() 176 P2( local.A, local.B, local.C, local.D, local.E, 0, 11, 5, 8 ); in mbedtls_internal_ripemd160_process() 177 P2( local.E, local.A, local.B, local.C, local.D, 1, 14, 14, 9 ); in mbedtls_internal_ripemd160_process() 178 P2( local.D, local.E, local.A, local.B, local.C, 2, 15, 7, 9 ); in mbedtls_internal_ripemd160_process() 179 P2( local.C, local.D, local.E, local.A, local.B, 3, 12, 0, 11 ); in mbedtls_internal_ripemd160_process() 180 P2( local.B, local.C, local.D, local.E, local.A, 4, 5, 9, 13 ); in mbedtls_internal_ripemd160_process() 181 P2( local.A, local.B, local.C, local.D, local.E, 5, 8, 2, 15 ); in mbedtls_internal_ripemd160_process() 182 P2( local.E, local.A, local.B, local.C, local.D, 6, 7, 11, 15 ); in mbedtls_internal_ripemd160_process() 183 P2( local.D, local.E, local.A, local.B, local.C, 7, 9, 4, 5 ); in mbedtls_internal_ripemd160_process() [all …]
|
A D | sha1.c | 130 uint32_t temp, W[16], A, B, C, D, E; in mbedtls_internal_sha1_process() member 175 local.E = ctx->state[4]; in mbedtls_internal_sha1_process() 196 P( local.E, local.A, local.B, local.C, local.D, R(16) ); in mbedtls_internal_sha1_process() 197 P( local.D, local.E, local.A, local.B, local.C, R(17) ); in mbedtls_internal_sha1_process() 198 P( local.C, local.D, local.E, local.A, local.B, R(18) ); in mbedtls_internal_sha1_process() 199 P( local.B, local.C, local.D, local.E, local.A, R(19) ); in mbedtls_internal_sha1_process() 207 P( local.A, local.B, local.C, local.D, local.E, R(20) ); in mbedtls_internal_sha1_process() 208 P( local.E, local.A, local.B, local.C, local.D, R(21) ); in mbedtls_internal_sha1_process() 209 P( local.D, local.E, local.A, local.B, local.C, R(22) ); in mbedtls_internal_sha1_process() 210 P( local.C, local.D, local.E, local.A, local.B, R(23) ); in mbedtls_internal_sha1_process() [all …]
|
A D | rsa_internal.c | 94 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() 333 const mbedtls_mpi *E, in mbedtls_rsa_validate_params() argument 390 if( N != NULL && D != NULL && E != NULL ) in mbedtls_rsa_validate_params() 393 mbedtls_mpi_cmp_int( E, 1 ) <= 0 || in mbedtls_rsa_validate_params() 395 mbedtls_mpi_cmp_mpi( E, N ) >= 0 ) in mbedtls_rsa_validate_params() 406 if( P != NULL && Q != NULL && D != NULL && E != NULL ) in mbedtls_rsa_validate_params() [all …]
|
A D | aes.c | 149 V(1B,09,09,12), V(9E,83,83,1D), V(74,2C,2C,58), V(2E,1A,1A,34), \ 150 V(2D,1B,1B,36), V(B2,6E,6E,DC), V(EE,5A,5A,B4), V(FB,A0,A0,5B), \ 152 V(7B,29,29,52), V(3E,E3,E3,DD), V(71,2F,2F,5E), V(97,84,84,13), \ 167 V(57,C4,C4,93), V(F2,A7,A7,55), V(82,7E,7E,FC), V(47,3D,3D,7A), \ 172 V(79,DE,DE,A7), V(E2,5E,5E,BC), V(1D,0B,0B,16), V(76,DB,DB,AD), \ 173 V(3B,E0,E0,DB), V(56,32,32,64), V(4E,3A,3A,74), V(1E,0A,0A,14), \ 178 V(8C,8D,8D,01), V(64,D5,D5,B1), V(D2,4E,4E,9C), V(E0,A9,A9,49), \ 181 V(D5,BA,BA,6F), V(88,78,78,F0), V(6F,25,25,4A), V(72,2E,2E,5C), \ 185 V(90,70,70,E0), V(42,3E,3E,7C), V(C4,B5,B5,71), V(AA,66,66,CC), \ 186 V(D8,48,48,90), V(05,03,03,06), V(01,F6,F6,F7), V(12,0E,0E,1C), \ [all …]
|
A D | rsa.c | 103 ( 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() 720 mbedtls_mpi_cmp_mpi( &pub->E, &prv->E ) != 0 ) in mbedtls_rsa_check_pub_priv() 2549 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->E, &src->E ) ); in mbedtls_rsa_copy() [all …]
|
A D | bignum.c | 2378 MPI_VALIDATE_RET( E != NULL ); in mbedtls_mpi_exp_mod() 2384 if( mbedtls_mpi_cmp_int( E, 0 ) < 0 ) in mbedtls_mpi_exp_mod() 2387 if( mbedtls_mpi_bitlen( E ) > MBEDTLS_MPI_MAX_BITS || in mbedtls_mpi_exp_mod() 2399 i = mbedtls_mpi_bitlen( E ); in mbedtls_mpi_exp_mod() 2504 nblimbs = E->n; in mbedtls_mpi_exp_mod() 2524 ei = (E->p[nblimbs] >> bufsize) & 1; in mbedtls_mpi_exp_mod() 2587 if( neg && E->n != 0 && ( E->p[0] & 1 ) != 0 ) in mbedtls_mpi_exp_mod() 3306 mbedtls_mpi A, E, N, X, Y, U, V; in mbedtls_mpi_self_test() local 3308 mbedtls_mpi_init_mempool( &A ); mbedtls_mpi_init_mempool( &E ); in mbedtls_mpi_self_test() 3319 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &E, 16, in mbedtls_mpi_self_test() [all …]
|
/optee_os/core/arch/arm/dts/ |
A D | stm32mp15-pinctrl.dtsi | 85 <STM32_PINMUX('E', 6, AF13)>,/* DCMI_D7 */ 106 <STM32_PINMUX('E', 6, ANALOG)>,/* DCMI_D7 */ 175 <STM32_PINMUX('E', 7, AF12)>, /* FMC_D4 */ 176 <STM32_PINMUX('E', 8, AF12)>, /* FMC_D5 */ 177 <STM32_PINMUX('E', 9, AF12)>, /* FMC_D6 */ 178 <STM32_PINMUX('E', 10, AF12)>, /* FMC_D7 */ 200 <STM32_PINMUX('E', 7, ANALOG)>, /* FMC_D4 */ 201 <STM32_PINMUX('E', 8, ANALOG)>, /* FMC_D5 */ 325 <STM32_PINMUX('E', 15, AF14)>, /* LCD_R7 */ 326 <STM32_PINMUX('E', 5, AF14)>, /* LCD_G0 */ [all …]
|
/optee_os/core/crypto/ |
A D | sm3.c | 52 uint32_t A, B, C, D, E, F, G, H; in sm3_process() local 112 E = ctx->state[4]; in sm3_process() 118 SS1 = ROTL(ROTL(A, 12) + E + ROTL(T[j], j), 7); in sm3_process() 121 TT2 = GG0(E, F, G) + H + SS1 + W[j]; in sm3_process() 128 F = E; in sm3_process() 129 E = P0(TT2); in sm3_process() 133 SS1 = ROTL(ROTL(A, 12) + E + ROTL(T[j], j), 7); in sm3_process() 136 TT2 = GG1(E, F, G) + H + SS1 + W[j]; in sm3_process() 143 F = E; in sm3_process() 144 E = P0(TT2); in sm3_process() [all …]
|
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | rsa_internal.h | 95 int mbedtls_rsa_deduce_primes( mbedtls_mpi const *N, mbedtls_mpi const *E, 122 mbedtls_mpi const *E, 183 const mbedtls_mpi *E,
|
A D | rsa.h | 107 mbedtls_mpi E; /*!< The public exponent. */ member 206 const mbedtls_mpi *D, const mbedtls_mpi *E ); 247 unsigned char const *E, size_t E_len ); 325 mbedtls_mpi *D, mbedtls_mpi *E ); 379 unsigned char *E, size_t E_len );
|
A D | bignum.h | 854 const mbedtls_mpi *E, const mbedtls_mpi *N,
|
/optee_os/out/arm/export-ta_arm64/include/mbedtls/ |
A D | rsa_internal.h | 95 int mbedtls_rsa_deduce_primes( mbedtls_mpi const *N, mbedtls_mpi const *E, 122 mbedtls_mpi const *E, 183 const mbedtls_mpi *E,
|
A D | rsa.h | 107 mbedtls_mpi E; /*!< The public exponent. */ member 206 const mbedtls_mpi *D, const mbedtls_mpi *E ); 247 unsigned char const *E, size_t E_len ); 325 mbedtls_mpi *D, mbedtls_mpi *E ); 379 unsigned char *E, size_t E_len );
|
A D | bignum.h | 854 const mbedtls_mpi *E, const mbedtls_mpi *N,
|
/optee_os/out/arm/export-ta_arm32/host_include/mbedtls/ |
A D | rsa_internal.h | 95 int mbedtls_rsa_deduce_primes( mbedtls_mpi const *N, mbedtls_mpi const *E, 122 mbedtls_mpi const *E, 183 const mbedtls_mpi *E,
|
A D | rsa.h | 107 mbedtls_mpi E; /*!< The public exponent. */ member 206 const mbedtls_mpi *D, const mbedtls_mpi *E ); 247 unsigned char const *E, size_t E_len ); 325 mbedtls_mpi *D, mbedtls_mpi *E ); 379 unsigned char *E, size_t E_len );
|
A D | bignum.h | 854 const mbedtls_mpi *E, const mbedtls_mpi *N,
|
/optee_os/out/arm/export-ta_arm32/include/mbedtls/ |
A D | rsa_internal.h | 95 int mbedtls_rsa_deduce_primes( mbedtls_mpi const *N, mbedtls_mpi const *E, 122 mbedtls_mpi const *E, 183 const mbedtls_mpi *E,
|
A D | rsa.h | 107 mbedtls_mpi E; /*!< The public exponent. */ member 206 const mbedtls_mpi *D, const mbedtls_mpi *E ); 247 unsigned char const *E, size_t E_len ); 325 mbedtls_mpi *D, mbedtls_mpi *E ); 379 unsigned char *E, size_t E_len );
|
A D | bignum.h | 854 const mbedtls_mpi *E, const mbedtls_mpi *N,
|
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/ |
A D | rsa_internal.h | 95 int mbedtls_rsa_deduce_primes( mbedtls_mpi const *N, mbedtls_mpi const *E, 122 mbedtls_mpi const *E, 183 const mbedtls_mpi *E,
|
A D | rsa.h | 107 mbedtls_mpi E; /*!< The public exponent. */ member 206 const mbedtls_mpi *D, const mbedtls_mpi *E ); 247 unsigned char const *E, size_t E_len ); 325 mbedtls_mpi *D, mbedtls_mpi *E ); 379 unsigned char *E, size_t E_len );
|
/optee_os/lib/libmbedtls/core/ |
A D | rsa.c | 100 rsa->E = *(mbedtls_mpi *)key->e; in rsa_init_from_key_pair() 116 mbedtls_mpi_init(&rsa->E); in mbd_rsa_free() 224 crypto_bignum_copy(key->e, (void *)&rsa.E); in crypto_acipher_gen_rsa_key() 256 rsa.E = *(mbedtls_mpi *)key->e; in crypto_acipher_rsanopad_encrypt() 293 mbedtls_mpi_init(&rsa.E); in crypto_acipher_rsanopad_encrypt() 456 rsa.E = *(mbedtls_mpi *)key->e; in crypto_acipher_rsaes_encrypt() 503 mbedtls_mpi_init(&rsa.E); in crypto_acipher_rsaes_encrypt() 615 rsa.E = *(mbedtls_mpi *)key->e; in crypto_acipher_rsassa_verify() 681 mbedtls_mpi_init(&rsa.E); in crypto_acipher_rsassa_verify()
|
/optee_os/ |
A D | .azure-pipelines.yml | 41 sudo -E bash -c "apt update -qq -y && apt install -qq -y pycodestyle" 241 sudo -E bash -c "cd /root/optee_repo_qemu_v8/.repo/repo && git pull" 242 sudo -E bash -c "cd /root/optee_repo_qemu_v8 && repo sync -j 10" 246 …sudo -E make -C /root/optee_repo_qemu_v8/build -j$(getconf _NPROCESSORS_ONLN) CFG_TEE_CORE_LOG_LEV… 248 sudo -E rm -rf /root/optee_repo_qemu_v8/out-br/build/optee_test* 249 sudo -E make -C /root/optee_repo_qemu_v8/build arm-tf-clean 250 …sudo -E make -C /root/optee_repo_qemu_v8/build -j$(getconf _NPROCESSORS_ONLN) CFG_TEE_CORE_LOG_LEV… 267 sudo -E bash -c "cd /root/optee_repo_qemu_v8/.repo/repo && git pull" 268 sudo -E bash -c "cd /root/optee_repo_qemu_v8 && repo sync -j 10" 272 …sudo -E bash -c "make -C /root/optee_repo_qemu_v8/build -j$(getconf _NPROCESSORS_ONLN) CFG_TEE_COR…
|
/optee_os/core/arch/arm/crypto/ |
A D | ghash-ce-core_a32.S | 89 vmull.p8 t4q, \ad, \b1 @ E = A*B1 96 veor t0q, t0q, t4q @ L = E + F
|