Home
last modified time | relevance | path

Searched refs:z (Results 1 – 25 of 46) sorted by relevance

12

/lib/mbedtls/external/mbedtls/3rdparty/p256-m/p256-m/
A Dp256-m.c138 z[i] = (z[i] & ~x_mask) | (x[i] & x_mask); in u256_cmov()
222 : [z] "+l" (z), [t] "+l" (t) in u32_muladd64()
289 : [z] "l" (z), [t] "l" (t) in u32_muladd64()
396 z[i] = z[i + 1]; in u288_rshift32()
639 m256_mul(z, z, mod->R2, mod); in m256_prep()
654 m256_mul(z, z, one, mod); in m256_done()
706 m256_mul(z, z, bitval, mod); in m256_inv()
854 m256_inv(z, z, &p256_p); /* z = z^-1 */ in point_to_affine()
878 m256_mul_p(s, z, z); in point_double()
901 m256_mul_p(z, y, z); in point_double()
[all …]
/lib/
A Dmd5.c167 #define F1(x, y, z) (z ^ (x & (y ^ z))) argument
168 #define F2(x, y, z) F1(z, x, y) argument
169 #define F3(x, y, z) (x ^ y ^ z) argument
170 #define F4(x, y, z) (y ^ (x | ~z)) argument
173 #define MD5STEP(f, w, x, y, z, data, s) \ argument
174 ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x )
A Dsha1.c106 #define F(x,y,z) (z ^ (x & (y ^ z))) in sha1_process_one() argument
133 #define F(x,y,z) (x ^ y ^ z) in sha1_process_one() argument
160 #define F(x,y,z) ((x & y) | (z & (x | y))) in sha1_process_one() argument
187 #define F(x,y,z) (x ^ y ^ z) in sha1_process_one() argument
A Dbch.c852 z->deg = 1; in compute_trace_bk_mod()
853 z->c[0] = 0; in compute_trace_bk_mod()
854 z->c[1] = bch->a_pow_tab[k]; in compute_trace_bk_mod()
864 for (j = z->deg; j >= 0; j--) { in compute_trace_bk_mod()
865 out->c[j] ^= z->c[j]; in compute_trace_bk_mod()
866 z->c[2*j] = gf_sqr(bch, z->c[j]); in compute_trace_bk_mod()
867 z->c[2*j+1] = 0; in compute_trace_bk_mod()
869 if (z->deg > out->deg) in compute_trace_bk_mod()
870 out->deg = z->deg; in compute_trace_bk_mod()
873 z->deg *= 2; in compute_trace_bk_mod()
[all …]
A Dsha512.c49 static inline uint64_t Ch(uint64_t x, uint64_t y, uint64_t z) in Ch() argument
51 return z ^ (x & (y ^ z)); in Ch()
54 static inline uint64_t Maj(uint64_t x, uint64_t y, uint64_t z) in Maj() argument
56 return (x & y) | (z & (x | y)); in Maj()
A Dsha256.c89 #define F0(x,y,z) ((x & y) | (z & (x | y))) in sha256_process_one() argument
90 #define F1(x,y,z) (z ^ (x & (y ^ z))) in sha256_process_one() argument
/lib/lwip/lwip/src/netif/ppp/polarssl/
A Dmd5.c118 #define F(x,y,z) (z ^ (x & (y ^ z))) in md5_process() argument
139 #define F(x,y,z) (y ^ (z & (x ^ y))) in md5_process() argument
160 #define F(x,y,z) (x ^ y ^ z) in md5_process() argument
181 #define F(x,y,z) (y ^ (x | ~z)) in md5_process() argument
A Dmd4.c114 #define F(x, y, z) ((x & y) | ((~x) & z)) in md4_process() argument
137 #define F(x,y,z) ((x & y) | (x & z) | (y & z)) in md4_process() argument
160 #define F(x,y,z) (x ^ y ^ z) in md4_process() argument
A Dsha1.c127 #define F(x,y,z) (z ^ (x & (y ^ z))) in sha1_process() argument
154 #define F(x,y,z) (x ^ y ^ z) in sha1_process() argument
181 #define F(x,y,z) ((x & y) | (z & (x | y))) in sha1_process() argument
208 #define F(x,y,z) (x ^ y ^ z) in sha1_process() argument
/lib/mbedtls/external/mbedtls/library/
A Decdh.c94 mbedtls_mpi *z, in ecdh_compute_shared_restartable() argument
113 MBEDTLS_MPI_CHK(mbedtls_mpi_copy(z, &P.X)); in ecdh_compute_shared_restartable()
124 int mbedtls_ecdh_compute_shared(mbedtls_ecp_group *grp, mbedtls_mpi *z, in mbedtls_ecdh_compute_shared() argument
129 return ecdh_compute_shared_restartable(grp, z, Q, d, in mbedtls_ecdh_compute_shared()
140 mbedtls_mpi_init(&ctx->z); in ecdh_init_internal()
222 mbedtls_mpi_free(&ctx->z); in ecdh_free_internal()
637 if ((ret = ecdh_compute_shared_restartable(&ctx->grp, &ctx->z, &ctx->Qp, in ecdh_calc_secret_internal()
643 if ((ret = mbedtls_ecdh_compute_shared(&ctx->grp, &ctx->z, &ctx->Qp, in ecdh_calc_secret_internal()
649 if (mbedtls_mpi_size(&ctx->z) > blen) { in ecdh_calc_secret_internal()
656 return mbedtls_mpi_write_binary_le(&ctx->z, buf, *olen); in ecdh_calc_secret_internal()
[all …]
A Dmd5.c103 #define F(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) in mbedtls_internal_md5_process() argument
124 #define F(x, y, z) ((y) ^ ((z) & ((x) ^ (y)))) in mbedtls_internal_md5_process() argument
145 #define F(x, y, z) ((x) ^ (y) ^ (z)) in mbedtls_internal_md5_process() argument
166 #define F(x, y, z) ((y) ^ ((x) | ~(z))) in mbedtls_internal_md5_process() argument
A Dripemd160.c99 #define F1(x, y, z) ((x) ^ (y) ^ (z)) in mbedtls_internal_ripemd160_process() argument
100 #define F2(x, y, z) (((x) & (y)) | (~(x) & (z))) in mbedtls_internal_ripemd160_process() argument
101 #define F3(x, y, z) (((x) | ~(y)) ^ (z)) in mbedtls_internal_ripemd160_process() argument
102 #define F4(x, y, z) (((x) & (z)) | ((y) & ~(z))) in mbedtls_internal_ripemd160_process() argument
103 #define F5(x, y, z) ((x) ^ ((y) | ~(z))) in mbedtls_internal_ripemd160_process() argument
A Dsha1.c113 #define F(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) in mbedtls_internal_sha1_process() argument
140 #define F(x, y, z) ((x) ^ (y) ^ (z)) in mbedtls_internal_sha1_process() argument
167 #define F(x, y, z) (((x) & (y)) | ((z) & ((x) | (y)))) in mbedtls_internal_sha1_process() argument
194 #define F(x, y, z) ((x) ^ (y) ^ (z)) in mbedtls_internal_sha1_process() argument
A Dsha512.c364 static inline uint64x2_t vsha512su1q_u64(uint64x2_t x, uint64x2_t y, uint64x2_t z) in vsha512su1q_u64() argument
366 asm ("sha512su1 %0.2D,%1.2D,%2.2D" : "+w" (x) : "w" (y), "w" (z)); in vsha512su1q_u64()
369 static inline uint64x2_t vsha512hq_u64(uint64x2_t x, uint64x2_t y, uint64x2_t z) in vsha512hq_u64() argument
371 asm ("sha512h %0,%1,%2.2D" : "+w" (x) : "w" (y), "w" (z)); in vsha512hq_u64()
374 static inline uint64x2_t vsha512h2q_u64(uint64x2_t x, uint64x2_t y, uint64x2_t z) in vsha512h2q_u64() argument
376 asm ("sha512h2 %0,%1,%2.2D" : "+w" (x) : "w" (y), "w" (z)); in vsha512h2q_u64()
619 #define F0(x, y, z) (((x) & (y)) | ((z) & ((x) | (y)))) in mbedtls_internal_sha512_process_c() argument
620 #define F1(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) in mbedtls_internal_sha512_process_c() argument
A Dbignum.c359 if (z >= 0) { in mpi_sint_abs()
360 return z; in mpi_sint_abs()
383 X->p[0] = mpi_sint_abs(z); in mbedtls_mpi_lset()
384 X->s = TO_SIGN(z); in mbedtls_mpi_lset()
988 *p = mpi_sint_abs(z); in mbedtls_mpi_cmp_int()
989 Y.s = TO_SIGN(z); in mbedtls_mpi_cmp_int()
1562 mbedtls_mpi_uint x, y, z; in mbedtls_mpi_mod_int() local
1591 z = y / b; in mbedtls_mpi_mod_int()
1592 y -= z * b; in mbedtls_mpi_mod_int()
1596 z = y / b; in mbedtls_mpi_mod_int()
[all …]
/lib/lzma/
A Dlzma.txt7 LZMA is default and general compression method of 7z format
52 7zFormat.txt - 7z Format description
53 7zC.txt - 7z ANSI-C Decoder description
54 methods.txt - Compression method IDs for .7z
56 7zr.exe - 7-Zip with 7z/lzma/xz support.
81 7z - 7z ANSI-C Decoder
97 7z - 7z C++ Encoder/Decoder
101 Alone7z - 7zr.exe: Standalone version of 7z.exe that supports only 7z/LZMA/BCJ/BCJ2
280 7z a a1.7z a.bin -m0=lzma
283 7z a a2.7z a.bin -m0=arm -m1=lzma
[all …]
A Dhistory.txt30 - Some changes in ANSI-C 7z Decoder interfaces.
54 - Some changes in ANSI-C 7z Decoder interfaces.
85 - .7z ANSI-C Decoder:
89 - C++ code for .7z archives compressing/decompressing from 7-zip
141 - 7z_C: .7z format supporting was improved
208 - Simplified version of .7z ANSI-C Decoder was included
/lib/mbedtls/external/mbedtls/include/mbedtls/
A Decdh.h91 mbedtls_mpi MBEDTLS_PRIVATE(z); /*!< The shared secret. */
111 mbedtls_mpi MBEDTLS_PRIVATE(z); /*!< The shared secret. */
226 int mbedtls_ecdh_compute_shared(mbedtls_ecp_group *grp, mbedtls_mpi *z,
/lib/bzip2/
A Dbzlib_huffman.c73 #define UPHEAP(z) \ argument
76 zz = z; tmp = heap[zz]; \
84 #define DOWNHEAP(z) \ argument
87 zz = z; tmp = heap[zz]; \
A Dbzlib_decompress.c468 Int32 z = pp+nn; in BZ2_decompress() local
469 s->mtfa[(z) ] = s->mtfa[(z)-1]; in BZ2_decompress()
470 s->mtfa[(z)-1] = s->mtfa[(z)-2]; in BZ2_decompress()
471 s->mtfa[(z)-2] = s->mtfa[(z)-3]; in BZ2_decompress()
472 s->mtfa[(z)-3] = s->mtfa[(z)-4]; in BZ2_decompress()
/lib/mbedtls/external/mbedtls/3rdparty/everest/library/
A DHacl_Curve25519.c87 uint64_t z = output[ctr - (uint32_t)1U]; in Hacl_Bignum_Fmul_shift_reduce() local
88 output[ctr] = z; in Hacl_Bignum_Fmul_shift_reduce()
260 Hacl_Bignum_Fmul_fmul(b0, t00, z); in Hacl_Bignum_Crecip_crecip()
561 uint64_t *z = point + (uint32_t)5U; in Hacl_EC_Format_scalar_of_point() local
565 Hacl_Bignum_crecip(zmone, z); in Hacl_EC_Format_scalar_of_point()
585 uint64_t *z = p + (uint32_t)5U; in Hacl_EC_AddAndDouble_fmonty() local
604 Hacl_Bignum_fsum(x, z); in Hacl_EC_AddAndDouble_fmonty()
605 Hacl_Bignum_fdifference(z, origx); in Hacl_EC_AddAndDouble_fmonty()
609 Hacl_Bignum_fmul(xxprime0, xprime, z); in Hacl_EC_AddAndDouble_fmonty()
728 uint64_t *z = buf0 + (uint32_t)5U; in Hacl_Curve25519_crypto_scalarmult() local
[all …]
/lib/mbedtls/external/mbedtls/3rdparty/everest/library/legacy/
A DHacl_Curve25519.c95 uint64_t z = output[ctr - (uint32_t)1U]; in Hacl_Bignum_Fmul_shift_reduce() local
96 output[ctr] = z; in Hacl_Bignum_Fmul_shift_reduce()
302 Hacl_Bignum_Fmul_fmul(b0, t00, z); in Hacl_Bignum_Crecip_crecip()
606 uint64_t *z = point + (uint32_t)5U; in Hacl_EC_Format_scalar_of_point() local
610 Hacl_Bignum_crecip(zmone, z); in Hacl_EC_Format_scalar_of_point()
630 uint64_t *z = p + (uint32_t)5U; in Hacl_EC_AddAndDouble_fmonty() local
649 Hacl_Bignum_fsum(x, z); in Hacl_EC_AddAndDouble_fmonty()
650 Hacl_Bignum_fdifference(z, origx); in Hacl_EC_AddAndDouble_fmonty()
654 Hacl_Bignum_fmul(xxprime0, xprime, z); in Hacl_EC_AddAndDouble_fmonty()
773 uint64_t *z = buf0 + (uint32_t)5U; in Hacl_Curve25519_crypto_scalarmult() local
[all …]
/lib/rsa/
A Drsa-keyprop.c108 uint32_t z; in GT() local
110 z = y - x; in GT()
111 return (z ^ ((x ^ y) & (x ^ z))) >> 31; in GT()
461 static void br_i32_muladd_small(uint32_t *x, uint32_t z, const uint32_t *m) in br_i32_muladd_small() argument
478 x[1] = br_rem(x[1], z, m[1]); in br_i32_muladd_small()
512 x[1] = z; in br_i32_muladd_small()
/lib/libavb/
A Davb_sha256.c16 #define CH(x, y, z) ((x & y) ^ (~x & z)) argument
17 #define MAJ(x, y, z) ((x & y) ^ (x & z) ^ (y & z)) argument
A Davb_sha512.c16 #define CH(x, y, z) ((x & y) ^ (~x & z)) argument
17 #define MAJ(x, y, z) ((x & y) ^ (x & z) ^ (y & z)) argument

Completed in 76 milliseconds

12