Home
last modified time | relevance | path

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

12

/optee_os/lib/libmbedtls/mbedtls/library/
H A Dsha1.c69 uint32_t temp, W[16], A, B, C, D, E; in mbedtls_internal_sha1_process() member
111 local.E = ctx->state[4]; in mbedtls_internal_sha1_process()
116 P(local.A, local.B, local.C, local.D, local.E, local.W[0]); in mbedtls_internal_sha1_process()
117 P(local.E, local.A, local.B, local.C, local.D, local.W[1]); in mbedtls_internal_sha1_process()
118 P(local.D, local.E, local.A, local.B, local.C, local.W[2]); in mbedtls_internal_sha1_process()
119 P(local.C, local.D, local.E, local.A, local.B, local.W[3]); in mbedtls_internal_sha1_process()
120 P(local.B, local.C, local.D, local.E, local.A, local.W[4]); in mbedtls_internal_sha1_process()
121 P(local.A, local.B, local.C, local.D, local.E, local.W[5]); in mbedtls_internal_sha1_process()
122 P(local.E, local.A, local.B, local.C, local.D, local.W[6]); in mbedtls_internal_sha1_process()
123 P(local.D, local.E, local.A, local.B, local.C, local.W[7]); in mbedtls_internal_sha1_process()
[all …]
H A Dripemd160.c73 uint32_t A, B, C, D, E, Ap, Bp, Cp, Dp, Ep, X[16]; in mbedtls_internal_ripemd160_process() member
97 local.E = local.Ep = ctx->state[4]; in mbedtls_internal_ripemd160_process()
127 P2(local.A, local.B, local.C, local.D, local.E, 0, 11, 5, 8); in mbedtls_internal_ripemd160_process()
128 P2(local.E, local.A, local.B, local.C, local.D, 1, 14, 14, 9); in mbedtls_internal_ripemd160_process()
129 P2(local.D, local.E, local.A, local.B, local.C, 2, 15, 7, 9); in mbedtls_internal_ripemd160_process()
130 P2(local.C, local.D, local.E, local.A, local.B, 3, 12, 0, 11); in mbedtls_internal_ripemd160_process()
131 P2(local.B, local.C, local.D, local.E, local.A, 4, 5, 9, 13); in mbedtls_internal_ripemd160_process()
132 P2(local.A, local.B, local.C, local.D, local.E, 5, 8, 2, 15); in mbedtls_internal_ripemd160_process()
133 P2(local.E, local.A, local.B, local.C, local.D, 6, 7, 11, 15); in mbedtls_internal_ripemd160_process()
134 P2(local.D, local.E, local.A, local.B, local.C, 7, 9, 4, 5); in mbedtls_internal_ripemd160_process()
[all …]
H A Drsa_alt_helpers.c51 mbedtls_mpi const *E, mbedtls_mpi const *D, in mbedtls_rsa_deduce_primes() argument
82 mbedtls_mpi_cmp_int(E, 1) <= 0 || in mbedtls_rsa_deduce_primes()
83 mbedtls_mpi_cmp_mpi(E, N) >= 0) { in mbedtls_rsa_deduce_primes()
95 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&T, D, E)); in mbedtls_rsa_deduce_primes()
184 mbedtls_mpi const *E, in mbedtls_rsa_deduce_private_exponent() argument
196 mbedtls_mpi_cmp_int(E, 0) == 0) { in mbedtls_rsa_deduce_private_exponent()
215 MBEDTLS_MPI_CHK(mbedtls_mpi_inv_mod(D, E, &K)); in mbedtls_rsa_deduce_private_exponent()
261 const mbedtls_mpi *E, in mbedtls_rsa_validate_params() argument
314 if (N != NULL && D != NULL && E != NULL) { in mbedtls_rsa_validate_params()
316 mbedtls_mpi_cmp_int(E, 1) <= 0 || in mbedtls_rsa_validate_params()
[all …]
H A Daes.c124 V(15, FA, FA, EF), V(EB, 59, 59, B2), V(C9, 47, 47, 8E), V(0B, F0, F0, FB), \
128 V(5A, 36, 36, 6C), V(41, 3F, 3F, 7E), V(02, F7, F7, F5), V(4F, CC, CC, 83), \
131 V(0C, 04, 04, 08), V(52, C7, C7, 95), V(65, 23, 23, 46), V(5E, C3, C3, 9D), \
133 V(09, 07, 07, 0E), V(36, 12, 12, 24), V(9B, 80, 80, 1B), V(3D, E2, E2, DF), \
134 V(26, EB, EB, CD), V(69, 27, 27, 4E), V(CD, B2, B2, 7F), V(9F, 75, 75, EA), \
135 V(1B, 09, 09, 12), V(9E, 83, 83, 1D), V(74, 2C, 2C, 58), V(2E, 1A, 1A, 34), \
136 V(2D, 1B, 1B, 36), V(B2, 6E, 6E, DC), V(EE, 5A, 5A, B4), V(FB, A0, A0, 5B), \
138 V(7B, 29, 29, 52), V(3E, E3, E3, DD), V(71, 2F, 2F, 5E), V(97, 84, 84, 13), \
150 V(30, 10, 10, 20), V(1A, FF, FF, E5), V(0E, F3, F3, FD), V(6D, D2, D2, BF), \
152 V(E1, 5F, 5F, BE), V(A2, 97, 97, 35), V(CC, 44, 44, 88), V(39, 17, 17, 2E), \
[all …]
H A Drsa_alt_helpers.h77 int mbedtls_rsa_deduce_primes(mbedtls_mpi const *N, mbedtls_mpi const *E,
104 mbedtls_mpi const *E,
165 const mbedtls_mpi *E,
H A Drsa.c577 const mbedtls_mpi *D, const mbedtls_mpi *E) in mbedtls_rsa_import() argument
585 (E != NULL && (ret = mbedtls_mpi_copy(&ctx->E, E)) != 0)) { in mbedtls_rsa_import()
601 unsigned char const *E, size_t E_len) in mbedtls_rsa_import_raw() argument
622 if (E != NULL) { in mbedtls_rsa_import_raw()
623 MBEDTLS_MPI_CHK(mbedtls_mpi_read_binary(&ctx->E, E, E_len)); in mbedtls_rsa_import_raw()
683 if (mbedtls_mpi_cmp_int(&ctx->E, 0) <= 0) { in rsa_check_context()
737 have_E = (mbedtls_mpi_cmp_int(&ctx->E, 0) != 0); in mbedtls_rsa_complete()
785 ret = mbedtls_rsa_deduce_primes(&ctx->N, &ctx->E, &ctx->D, in mbedtls_rsa_complete()
794 &ctx->E, in mbedtls_rsa_complete()
827 unsigned char *E, size_t E_len) in mbedtls_rsa_export_raw() argument
[all …]
H A Dbignum_internal.h47 const mbedtls_mpi *E, const mbedtls_mpi *N,
H A Dbignum_core.c761 static inline void exp_mod_calc_first_bit_optionally_safe(const mbedtls_mpi_uint *E, in exp_mod_calc_first_bit_optionally_safe() argument
771 size_t E_bits = mbedtls_mpi_core_bitlen(E, E_limbs); in exp_mod_calc_first_bit_optionally_safe()
853 const mbedtls_mpi_uint *E, in mbedtls_mpi_core_exp_mod_optionally_safe() argument
864 exp_mod_calc_first_bit_optionally_safe(E, E_limbs, E_public, in mbedtls_mpi_core_exp_mod_optionally_safe()
917 window |= (E[E_limb_index] >> E_bit_index) & 1; in mbedtls_mpi_core_exp_mod_optionally_safe()
938 const mbedtls_mpi_uint *E, size_t E_limbs, in mbedtls_mpi_core_exp_mod() argument
946 E, in mbedtls_mpi_core_exp_mod()
956 const mbedtls_mpi_uint *E, size_t E_limbs, in mbedtls_mpi_core_exp_mod_unsafe() argument
964 E, in mbedtls_mpi_core_exp_mod_unsafe()
H A Dbignum.c1729 const mbedtls_mpi *E, int E_public, in mbedtls_mpi_exp_mod_optionally_safe() argument
1738 if (mbedtls_mpi_cmp_int(E, 0) < 0) { in mbedtls_mpi_exp_mod_optionally_safe()
1742 if (mbedtls_mpi_bitlen(E) > MBEDTLS_MPI_MAX_BITS || in mbedtls_mpi_exp_mod_optionally_safe()
1750 if (E->n == 0) { in mbedtls_mpi_exp_mod_optionally_safe()
1758 size_t T_limbs = mbedtls_mpi_core_exp_mod_working_limbs(N->n, E->n); in mbedtls_mpi_exp_mod_optionally_safe()
1815 mbedtls_mpi_core_exp_mod_unsafe(X->p, X->p, N->p, N->n, E->p, E->n, RR.p, T); in mbedtls_mpi_exp_mod_optionally_safe()
1817 mbedtls_mpi_core_exp_mod(X->p, X->p, N->p, N->n, E->p, E->n, RR.p, T); in mbedtls_mpi_exp_mod_optionally_safe()
1825 if (A->s == -1 && (E->p[0] & 1) != 0) { in mbedtls_mpi_exp_mod_optionally_safe()
1845 const mbedtls_mpi *E, const mbedtls_mpi *N, in mbedtls_mpi_exp_mod() argument
1850 return mbedtls_mpi_exp_mod_unsafe(X, A, E, N, prec_RR); in mbedtls_mpi_exp_mod()
[all …]
H A Dbignum_core.h665 const mbedtls_mpi_uint *E, size_t E_limbs,
699 const mbedtls_mpi_uint *E, size_t E_limbs,
H A Dpk_wrap.c488 items->value = &(rsa->E); in rsa_debug()
/optee_os/core/arch/arm/dts/
H A Dstm32mp15-pinctrl.dtsi92 <STM32_PINMUX('E', 6, AF13)>,/* DCMI_D7 */
113 <STM32_PINMUX('E', 6, ANALOG)>,/* DCMI_D7 */
129 <STM32_PINMUX('E', 1, AF13)>,/* DCMI_D3 */
130 <STM32_PINMUX('E', 11, AF13)>,/* DCMI_D4 */
132 <STM32_PINMUX('E', 13, AF13)>,/* DCMI_D6 */
146 <STM32_PINMUX('E', 1, ANALOG)>,/* DCMI_D3 */
147 <STM32_PINMUX('E', 11, ANALOG)>,/* DCMI_D4 */
149 <STM32_PINMUX('E', 13, ANALOG)>,/* DCMI_D6 */
161 <STM32_PINMUX('E', 2, AF11)>, /* ETH_RGMII_TXD3 */
192 <STM32_PINMUX('E', 2, ANALOG)>, /* ETH_RGMII_TXD3 */
[all …]
H A Dstm32mp13-pinctrl.dtsi11 pinmux = <STM32_PINMUX('E', 15, AF6)>, /* I2C4_SCL */
H A Dstm32mp15xx-dhcom-pdk2.dtsi203 interrupts = <6 IRQ_TYPE_EDGE_FALLING>; /* GPIO E */
H A Dstm32mp15xx-dhcor-avenger96.dtsi192 "", "", "AV96-E", "AV96-F";
H A Dstm32mp15xx-dhcom-som.dtsi212 "", "", "DHCOM-E", "",
H A Dfsl-lx2160a.dtsi546 /* WRIOP0: 0x8b8_0000, E-MDIO1: 0x1_6000 */
557 /* WRIOP0: 0x8b8_0000, E-MDIO2: 0x1_7000 */
/optee_os/core/crypto/
H A Dsm3.c71 uint32_t A, B, C, D, E, F, G, H; in sm3_process() local
128 E = ctx->state[4]; in sm3_process()
134 SS1 = ROTL(ROTL(A, 12) + E + ROTL(T[j], j), 7); in sm3_process()
137 TT2 = GG0(E, F, G) + H + SS1 + W[j]; in sm3_process()
144 F = E; in sm3_process()
145 E = P0(TT2); in sm3_process()
149 SS1 = ROTL(ROTL(A, 12) + E + ROTL(T[j], j), 7); in sm3_process()
152 TT2 = GG1(E, F, G) + H + SS1 + W[j]; in sm3_process()
159 F = E; in sm3_process()
160 E = P0(TT2); in sm3_process()
[all …]
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Drsa.h93 mbedtls_mpi MBEDTLS_PRIVATE(E); /*!< The public exponent. */
232 const mbedtls_mpi *D, const mbedtls_mpi *E);
273 unsigned char const *E, size_t E_len);
351 mbedtls_mpi *D, mbedtls_mpi *E);
405 unsigned char *E, size_t E_len);
H A Dbignum.h917 const mbedtls_mpi *E, const mbedtls_mpi *N,
/optee_os/lib/libmbedtls/core/
H A Drsa.c105 rsa->E = *(mbedtls_mpi *)key->e; in rsa_complete_from_key_pair()
123 lmd_res = mbedtls_rsa_deduce_primes(&rsa->N, &rsa->E, &rsa->D, in rsa_complete_from_key_pair()
167 mbedtls_mpi_init(&rsa->E); in mbd_rsa_free()
313 crypto_bignum_copy(key->e, (void *)&rsa.E); in sw_crypto_acipher_gen_rsa_key()
352 rsa.E = *(mbedtls_mpi *)key->e; in sw_crypto_acipher_rsanopad_encrypt()
389 mbedtls_mpi_init(&rsa.E); in sw_crypto_acipher_rsanopad_encrypt()
603 rsa->E = *(mbedtls_mpi *)key->e; in sw_crypto_acipher_rsaes_encrypt()
646 mbedtls_mpi_init(&rsa->E); in sw_crypto_acipher_rsaes_encrypt()
801 rsa->E = *(mbedtls_mpi *)key->e; in sw_crypto_acipher_rsassa_verify()
873 mbedtls_mpi_init(&rsa->E); in sw_crypto_acipher_rsassa_verify()
/optee_os/core/arch/arm/crypto/
H A Dghash-ce-core_a32.S89 vmull.p8 t4q, \ad, \b1 @ E = A*B1
96 veor t0q, t0q, t4q @ L = E + F
/optee_os/
H A D.clang-format70 # find lib core -name "*.h" -path '*/include/*' -print0 | xargs -0 grep -E -h \
/optee_os/core/drivers/crypto/caam/include/
H A Dcaam_desc_defines.h661 #define PKHA_CPY_DST_E (PKHA_REG_DST(E))
/optee_os/core/drivers/crypto/caam/acipher/
H A Dcaam_prime_dsa.c617 caam_desc_add_word(desc, PKHA_CPY_SSIZE(A0, E)); in do_generator()

12