Home
last modified time | relevance | path

Searched refs:D (Results 1 – 22 of 22) sorted by relevance

/optee_os/lib/libmbedtls/mbedtls/library/
H A Dmd5.c68 uint32_t X[16], A, B, C, D; in mbedtls_internal_md5_process() member
101 local.D = ctx->state[3]; in mbedtls_internal_md5_process()
105 P(local.A, local.B, local.C, local.D, 0, 7, 0xD76AA478); in mbedtls_internal_md5_process()
106 P(local.D, local.A, local.B, local.C, 1, 12, 0xE8C7B756); in mbedtls_internal_md5_process()
107 P(local.C, local.D, local.A, local.B, 2, 17, 0x242070DB); in mbedtls_internal_md5_process()
108 P(local.B, local.C, local.D, local.A, 3, 22, 0xC1BDCEEE); in mbedtls_internal_md5_process()
109 P(local.A, local.B, local.C, local.D, 4, 7, 0xF57C0FAF); in mbedtls_internal_md5_process()
110 P(local.D, local.A, local.B, local.C, 5, 12, 0x4787C62A); in mbedtls_internal_md5_process()
111 P(local.C, local.D, local.A, local.B, 6, 17, 0xA8304613); in mbedtls_internal_md5_process()
112 P(local.B, local.C, local.D, local.A, 7, 22, 0xFD469501); in mbedtls_internal_md5_process()
[all …]
H A Dsha1.c69 uint32_t temp, W[16], A, B, C, D, E; in mbedtls_internal_sha1_process() member
110 local.D = ctx->state[3]; 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
96 local.D = local.Dp = ctx->state[3]; 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
80 mbedtls_mpi_cmp_int(D, 1) <= 0 || in mbedtls_rsa_deduce_primes()
81 mbedtls_mpi_cmp_mpi(D, N) >= 0 || in mbedtls_rsa_deduce_primes()
95 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&T, D, E)); in mbedtls_rsa_deduce_primes()
185 mbedtls_mpi *D) in mbedtls_rsa_deduce_private_exponent() argument
190 if (D == NULL || mbedtls_mpi_cmp_int(D, 0) != 0) { in mbedtls_rsa_deduce_private_exponent()
208 MBEDTLS_MPI_CHK(mbedtls_mpi_gcd(D, &K, &L)); in mbedtls_rsa_deduce_private_exponent()
212 MBEDTLS_MPI_CHK(mbedtls_mpi_div_mpi(&K, NULL, &K, D)); in mbedtls_rsa_deduce_private_exponent()
215 MBEDTLS_MPI_CHK(mbedtls_mpi_inv_mod(D, E, &K)); in mbedtls_rsa_deduce_private_exponent()
226 const mbedtls_mpi *D, mbedtls_mpi *DP, in mbedtls_rsa_deduce_crt() argument
[all …]
H A Drsa_alt_helpers.h78 mbedtls_mpi const *D,
105 mbedtls_mpi *D);
129 const mbedtls_mpi *D, mbedtls_mpi *DP,
164 const mbedtls_mpi *Q, const mbedtls_mpi *D,
199 const mbedtls_mpi *D, const mbedtls_mpi *DP,
H A Daes.c119 V(A5, 63, 63, C6), V(84, 7C, 7C, F8), V(99, 77, 77, EE), V(8D, 7B, 7B, F6), \
120 V(0D, F2, F2, FF), V(BD, 6B, 6B, D6), V(B1, 6F, 6F, DE), V(54, C5, C5, 91), \
121 V(50, 30, 30, 60), V(03, 01, 01, 02), V(A9, 67, 67, CE), V(7D, 2B, 2B, 56), \
122 V(19, FE, FE, E7), V(62, D7, D7, B5), V(E6, AB, AB, 4D), V(9A, 76, 76, EC), \
123 V(45, CA, CA, 8F), V(9D, 82, 82, 1F), V(40, C9, C9, 89), V(87, 7D, 7D, FA), \
127 V(C2, B7, B7, 75), V(1C, FD, FD, E1), V(AE, 93, 93, 3D), V(6A, 26, 26, 4C), \
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), \
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), \
[all …]
H A Drsa.c577 const mbedtls_mpi *D, const mbedtls_mpi *E) in mbedtls_rsa_import() argument
584 (D != NULL && (ret = mbedtls_mpi_copy(&ctx->D, D)) != 0) || in mbedtls_rsa_import()
600 unsigned char const *D, size_t D_len, in mbedtls_rsa_import_raw() argument
618 if (D != NULL) { in mbedtls_rsa_import_raw()
619 MBEDTLS_MPI_CHK(mbedtls_mpi_read_binary(&ctx->D, D, D_len)); in mbedtls_rsa_import_raw()
690 if (is_priv && mbedtls_mpi_cmp_int(&ctx->D, 0) <= 0) { in rsa_check_context()
736 have_D = (mbedtls_mpi_cmp_int(&ctx->D, 0) != 0); in mbedtls_rsa_complete()
785 ret = mbedtls_rsa_deduce_primes(&ctx->N, &ctx->E, &ctx->D, in mbedtls_rsa_complete()
795 &ctx->D)) != 0) { in mbedtls_rsa_complete()
807 ret = mbedtls_rsa_deduce_crt(&ctx->P, &ctx->Q, &ctx->D, in mbedtls_rsa_complete()
[all …]
/optee_os/core/arch/arm/dts/
H A Dstm32mp15-pinctrl.dtsi131 <STM32_PINMUX('D', 3, AF13)>,/* DCMI_D5 */
148 <STM32_PINMUX('D', 3, ANALOG)>,/* DCMI_D5 */
418 pinmux = <STM32_PINMUX('D', 4, AF12)>, /* FMC_NOE */
419 <STM32_PINMUX('D', 5, AF12)>, /* FMC_NWE */
420 <STM32_PINMUX('D', 11, AF12)>, /* FMC_A16_FMC_CLE */
421 <STM32_PINMUX('D', 12, AF12)>, /* FMC_A17_FMC_ALE */
422 <STM32_PINMUX('D', 14, AF12)>, /* FMC_D0 */
423 <STM32_PINMUX('D', 15, AF12)>, /* FMC_D1 */
424 <STM32_PINMUX('D', 0, AF12)>, /* FMC_D2 */
425 <STM32_PINMUX('D', 1, AF12)>, /* FMC_D3 */
[all …]
H A Dstm32mp13-pinctrl.dtsi21 pinmux = <STM32_PINMUX('D', 7, AF0)>; /* RCC_MCO_1 */
30 pinmux = <STM32_PINMUX_NSEC('D', 6, AF8)>; /* UART4_TX */
36 pinmux = <STM32_PINMUX_NSEC('D', 8, AF8)>; /* UART4_RX */
H A Dstm32mp15xx-dhcom-pdk2.dtsi70 label = "TA4-GPIO-D";
H A Dstm32mp15xx-dhcor-avenger96.dtsi191 "AV96-D", "", "", "",
H A Dstm32mp15xx-dhcom-som.dtsi221 "DHCOM-D", "", "", "";
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Drsa.h95 mbedtls_mpi MBEDTLS_PRIVATE(D); /*!< The private exponent. */
232 const mbedtls_mpi *D, const mbedtls_mpi *E);
272 unsigned char const *D, size_t D_len,
351 mbedtls_mpi *D, mbedtls_mpi *E);
404 unsigned char *D, size_t D_len,
/optee_os/core/lib/libtomcrypt/src/misc/pkcs12/
H A Dpkcs12_kdf.c23 unsigned char D[MAXBLOCKSIZE], A[MAXBLOCKSIZE], B[MAXBLOCKSIZE]; in pkcs12_kdf() local
36 for (i = 0; i < v; i++) D[i] = purpose; /* D - diversifier */ in pkcs12_kdf()
42 … err = hash_memory_multi(hash_id, A, &Alen, D, v, I, Slen + Plen, LTC_NULL); /* A = HASH(D || I) */ in pkcs12_kdf()
/optee_os/core/crypto/
H A Dsm3.c71 uint32_t A, B, C, D, E, F, G, H; in sm3_process() local
127 D = ctx->state[3]; in sm3_process()
136 TT1 = FF0(A, B, C) + D + SS2 + W1[j]; in sm3_process()
138 D = C; in sm3_process()
151 TT1 = FF1(A, B, C) + D + SS2 + W1[j]; in sm3_process()
153 D = C; in sm3_process()
166 ctx->state[3] ^= D; in sm3_process()
/optee_os/lib/libutee/
H A Dtee_api_arith_mpi.c736 mbedtls_mpi D; in mpi_egcd() local
744 get_mpi(&D, NULL); in mpi_egcd()
772 MPI_CHECK(mbedtls_mpi_lset(&D, 1)); in mpi_egcd()
787 if (mpi_is_odd(&C) || mpi_is_odd(&D)) { in mpi_egcd()
789 MPI_CHECK(mbedtls_mpi_sub_mpi(&D, &D, &x)); in mpi_egcd()
792 MPI_CHECK(mbedtls_mpi_shift_r(&D, 1)); in mpi_egcd()
799 MPI_CHECK(mbedtls_mpi_sub_mpi(&B, &B, &D)); in mpi_egcd()
803 MPI_CHECK(mbedtls_mpi_sub_mpi(&D, &D, &B)); in mpi_egcd()
808 MPI_CHECK(mbedtls_mpi_copy(b, &D)); in mpi_egcd()
815 mbedtls_mpi_free(&D); in mpi_egcd()
/optee_os/core/lib/libtomcrypt/src/ciphers/
H A Dcamellia.c177 ulong32 D, U; in F() local
181D = SP1110[(x >> loc(8)) & 0xFF] ^ SP0222[(x >> loc(5)) & 0xFF] ^ SP3033[(x >> loc(6)) & 0xFF] ^ S… in F()
184 D ^= U; in F()
185 U = D ^ RORc(U, 8); in F()
187 return ((ulong64)U) | (((ulong64)D) << CONST64(32)); in F()
/optee_os/lib/libmbedtls/core/
H A Drsa.c107 rsa->D = *(mbedtls_mpi *)key->d; 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()
131 lmd_res = mbedtls_rsa_deduce_crt(&rsa->P, &rsa->Q, &rsa->D, in rsa_complete_from_key_pair()
169 mbedtls_mpi_init(&rsa->D); in mbd_rsa_free()
314 crypto_bignum_copy(key->d, (void *)&rsa.D); in sw_crypto_acipher_gen_rsa_key()
/optee_os/core/lib/libtomcrypt/src/pk/ec25519/
H A Dtweetnacl.c22D = {0x78a3, 0x1359, 0x4dca, 0x75eb, 0xd8ab, 0x4141, 0x0a4d, 0x0070, 0xe898, 0x7779, 0x4079, 0x8cc… variable
422 M(den,num,D); in unpackneg()
/optee_os/core/arch/arm/crypto/
H A Dghash-ce-core_a32.S121 vmull.p8 \rq, \ad, \bd @ D = A*B
/optee_os/lib/libmbedtls/mbedtls/
H A DREADME.md154 cmake -D CMAKE_BUILD_TYPE=Debug /path/to/mbedtls_source
H A DChangeLog245 * The following cipher suites are planned to be removed from (D)TLS 1.2
1556 * Fix a bug in (D)TLS curve negotiation: when MBEDTLS_USE_PSA_CRYPTO was
2214 * Fix a regression introduced in 2.24.0 which broke (D)TLS CBC ciphersuites
2630 * In (D)TLS record decryption, when using a CBC ciphersuites without the
3518 * Close a test gap in (D)TLS between the client side and the server side:
3602 or CBC ciphersuites in (D)TLS versions 1.1 or higher. Fixes #1913, #1914.
3625 in (D)TLS 1.0 to 1.2, that allowed an active network attacker to
3637 * Fix a vulnerability in TLS ciphersuites based on CBC, in (D)TLS 1.0 to
3648 on CBC, in (D)TLS 1.0 to 1.2, that allowed a local attacker, able to
4060 contexts from keys consisting of N,D,E only, even if P,Q are needed for the
[all …]