Home
last modified time | relevance | path

Searched refs:carry (Results 1 – 25 of 29) sorted by relevance

12

/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/source/
A Decc.c211 uECC_word_t carry = 0; in uECC_vli_add() local
216 carry = cond_set(val, carry, (sum != left[i])); in uECC_vli_add()
219 return carry; in uECC_vli_add()
235 uECC_word_t carry = 0; in uECC_vli_rshift1() local
403 if (carry) { in vli_modInv_update()
524 int carry; in vli_mmod_fast_secp256r1() local
609 if (carry < 0) { in vli_mmod_fast_secp256r1()
613 while (carry < 0); in vli_mmod_fast_secp256r1()
615 while (carry || in vli_mmod_fast_secp256r1()
788 return carry; in regularize_k()
[all …]
A Decc_dh.c155 uECC_word_t carry; in uECC_shared_secret() local
173 carry = regularize_k(_private, _private, tmp, curve); in uECC_shared_secret()
178 if (!uECC_generate_random_int(p2[carry], curve->p, num_words)) { in uECC_shared_secret()
182 initial_Z = p2[carry]; in uECC_shared_secret()
185 EccPoint_mult(_public, _public, p2[!carry], initial_Z, curve->num_n_bits + 1, in uECC_shared_secret()
A Decc_dsa.c73 uECC_word_t carry; in bits2int() local
86 carry = 0; in bits2int()
90 *ptr = (temp >> shift) | carry; in bits2int()
91 carry = temp << (uECC_WORD_BITS - shift); in bits2int()
109 uECC_word_t carry; in uECC_sign_with_k() local
120 carry = regularize_k(k, tmp, s, curve); in uECC_sign_with_k()
121 EccPoint_mult(p, curve->G, k2[!carry], 0, num_n_bits + 1, curve); in uECC_sign_with_k()
A Dcmac_mode.c85 uint8_t carry = (in[0] >> 7) ? gf_wrap : 0; in gf_double() local
89 *out-- = (*x << 1) ^ carry; in gf_double()
93 carry = *x-- >> 7; in gf_double()
/AliOS-Things-master/components/py_engine/engine/py/
A Dmpz.c161 mpz_dbl_dig_t carry = 0; in mpn_add() local
168 carry >>= DIG_SIZE; in mpn_add()
172 carry += *jdig; in mpn_add()
174 carry >>= DIG_SIZE; in mpn_add()
177 if (carry != 0) { in mpn_add()
178 *idig++ = carry; in mpn_add()
420 carry >>= DIG_SIZE; in mpn_mul_dig_add_dig()
423 if (carry != 0) { in mpn_mul_dig_add_dig()
424 *idig++ = carry; in mpn_mul_dig_add_dig()
450 if (carry != 0) { in mpn_mul()
[all …]
/AliOS-Things-master/components/py_engine/engine/lib/libm_dbl/
A D__rem_pio2_large.c275 int32_t jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih; in __rem_pio2_large() local
323 n += 1; carry = 0; in __rem_pio2_large()
326 if (carry == 0) { in __rem_pio2_large()
328 carry = 1; in __rem_pio2_large()
344 if (carry != 0) in __rem_pio2_large()
/AliOS-Things-master/components/SDL2/src/libm/
A Dk_rem_pio2.c154 int32_t jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih; in __kernel_rem_pio2() local
212 n += 1; carry = 0; in __kernel_rem_pio2()
215 if(carry==0) { in __kernel_rem_pio2()
217 carry = 1; iq[i] = 0x1000000- j; in __kernel_rem_pio2()
231 if(carry!=0) z -= scalbn(one,q0); in __kernel_rem_pio2()
/AliOS-Things-master/components/py_engine/engine/lib/libm/
A Dkf_rem_pio2.c71 __int32_t jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih; local
117 n += 1; carry = 0;
120 if(carry==0) {
122 carry = 1; iq[i] = 0x100- j;
136 if(carry!=0) z -= scalbnf(one,(int)q0);
/AliOS-Things-master/components/mbedtls/library/
A Decp_curves.c869 static inline void add64( mbedtls_mpi_uint *dst, mbedtls_mpi_uint *src, mbedtls_mpi_uint *carry ) in add64() argument
878 *carry += c; in add64()
882 static inline void carry64( mbedtls_mpi_uint *dst, mbedtls_mpi_uint *carry ) in carry64() argument
887 *dst += *carry; in carry64()
888 *carry = ( *dst < *carry ); in carry64()
973 static inline void add32( uint32_t *dst, uint32_t src, signed char *carry ) in add32() argument
976 *carry += ( *dst < src ); in add32()
979 static inline void sub32( uint32_t *dst, uint32_t src, signed char *carry ) in sub32() argument
981 *carry -= ( *dst < src ); in sub32()
/AliOS-Things-master/components/ble_host/bt_crypto/
A Dbt_crypto.c272 uint8_t carry = (in[0] >> 7) ? gf_wrap : 0; in gf_double() local
277 *out-- = (*x << 1) ^ carry; in gf_double()
283 carry = *x-- >> 7; in gf_double()
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Dlibbf.c526 limb_t carry; in __bf_round() local
535 carry = (v < carry); in __bf_round()
540 if (carry) { in __bf_round()
979 carry = (u < carry) | carry1; in bf_add_internal()
990 carry = (u < carry) | carry1; in bf_add_internal()
1030 k = carry; in mp_add()
1064 k = carry; in mp_sub()
1082 k = carry; in mp_neg()
5572 k=carry; in mp_add_dec()
5612 k=carry; in mp_sub_dec()
[all …]
A Dlibbf.h394 limb_t n, limb_t carry);
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/tools/
A Dpngfix.c285 png_uint_32 carry = 0; in uarb_mult_digit() local
288 while (out_digits < n_digits || carry > 0) in uarb_mult_digit()
291 carry += acc[out_digits]; in uarb_mult_digit()
294 carry += (png_uint_32)num[out_digits] * val; in uarb_mult_digit()
296 acc[out_digits++] = (png_uint_16)(carry & 0xffff); in uarb_mult_digit()
297 carry >>= 16; in uarb_mult_digit()
340 png_uint_16 carry = 0; in uarb_shift() local
346 png_uint_16 temp = (png_uint_16)(carry | (inout[i] >> right_shift)); in uarb_shift()
349 carry = (png_uint_16)((inout[i] << (16-right_shift)) & 0xffff); in uarb_shift()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/
A Dtypes.h354 int carry = 1; in NextIndex() local
356 int current_val = current[idx] + carry; in NextIndex()
362 carry = 0; in NextIndex()
366 return (carry == 0); in NextIndex()
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/test/core/
A DDownloadProject.cmake156 # Create and build a separate CMake project to carry out the download.
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/test/function_test/core/
A DDownloadProject.cmake156 # Create and build a separate CMake project to carry out the download.
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/cmsis/
A DLICENSE.txt97 (b) You must cause any modified files to carry prominent notices
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/cmsis/
A DLICENSE.txt97 (b) You must cause any modified files to carry prominent notices
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/gemmlowp/
A DLICENSE98 (b) You must cause any modified files to carry prominent notices
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/flatbuffers/
A DLICENSE.txt98 (b) You must cause any modified files to carry prominent notices
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/
A DLICENSE98 (b) You must cause any modified files to carry prominent notices
/AliOS-Things-master/components/amp/
A DLICENSE97 (b) You must cause any modified files to carry prominent notices
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/tools/make/downloads/cmsis/
A DLICENSE.txt97 (b) You must cause any modified files to carry prominent notices
/AliOS-Things-master/components/mbedtls/
A Dapache-2.0.txt98 (b) You must cause any modified files to carry prominent notices
/AliOS-Things-master/components/SDL2/src/hidapi/
A DLICENSE-gpl3.txt214 a) The work must carry prominent notices stating that you modified
217 b) The work must carry prominent notices stating that it is

Completed in 49 milliseconds

12