Home
last modified time | relevance | path

Searched refs:total (Results 1 – 23 of 23) sorted by relevance

/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/source/include/
A DprimitiveTypes.h63 #define indexWord( total, n ) (n) argument
64 #define indexWordHi( total ) ((total) - 1) argument
65 #define indexWordLo( total ) 0 argument
67 #define indexMultiwordHi( total, n ) ((total) - (n)) argument
68 #define indexMultiwordLo( total, n ) 0 argument
74 #define indexWord( total, n ) ((total) - 1 - (n)) argument
75 #define indexWordHi( total ) 0 argument
76 #define indexWordLo( total ) ((total) - 1) argument
77 #define indexMultiword( total, m, n ) ((total) - 1 - (m)) argument
78 #define indexMultiwordHi( total, n ) 0 argument
[all …]
/optee_os-3.20.0/core/drivers/crypto/aspeed/
A Dhace_ast2600.c49 uint64_t total[2]; member
158 hctx->total[0] = 0; in ast2600_hace_init()
159 hctx->total[1] = 0; in ast2600_hace_init()
182 left = hctx->total[0] & (blk_size - 1); in ast2600_hace_update()
185 hctx->total[0] += len; in ast2600_hace_update()
186 if (hctx->total[0] < len) in ast2600_hace_update()
187 hctx->total[1]++; in ast2600_hace_update()
234 dbits[0] = (hctx->total[0] << 3); in ast2600_hace_final()
237 dbits[1] = (hctx->total[0] >> 61) | (hctx->total[1] << 3); in ast2600_hace_final()
316 dst_hctx->total[0] = src_hctx->total[0]; in ast2600_hace_copy_state()
[all …]
/optee_os-3.20.0/core/crypto/
A Dsm3.c40 ctx->total[0] = 0; in sm3_init()
41 ctx->total[1] = 0; in sm3_init()
185 left = ctx->total[0] & 0x3F; in sm3_update()
188 ctx->total[0] += ilen; in sm3_update()
190 if (ctx->total[0] < ilen) in sm3_update()
191 ctx->total[1]++; in sm3_update()
223 high = (ctx->total[0] >> 29) | (ctx->total[1] << 3); in sm3_final()
224 low = ctx->total[0] << 3; in sm3_final()
229 last = ctx->total[0] & 0x3F; in sm3_final()
A Dsm3.h19 uint32_t total[2]; /* number of bytes processed */ member
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dmd4.c71 ctx->total[0] = 0; in mbedtls_md4_starts_ret()
72 ctx->total[1] = 0; in mbedtls_md4_starts_ret()
241 left = ctx->total[0] & 0x3F; in mbedtls_md4_update_ret()
244 ctx->total[0] += (uint32_t) ilen; in mbedtls_md4_update_ret()
245 ctx->total[0] &= 0xFFFFFFFF; in mbedtls_md4_update_ret()
247 if( ctx->total[0] < (uint32_t) ilen ) in mbedtls_md4_update_ret()
248 ctx->total[1]++; in mbedtls_md4_update_ret()
309 high = ( ctx->total[0] >> 29 ) in mbedtls_md4_finish_ret()
310 | ( ctx->total[1] << 3 ); in mbedtls_md4_finish_ret()
311 low = ( ctx->total[0] << 3 ); in mbedtls_md4_finish_ret()
[all …]
A Dsha256.c85 ctx->total[0] = 0; in mbedtls_sha256_starts_ret()
86 ctx->total[1] = 0; in mbedtls_sha256_starts_ret()
287 left = ctx->total[0] & 0x3F; in mbedtls_sha256_update_ret()
290 ctx->total[0] += (uint32_t) ilen; in mbedtls_sha256_update_ret()
291 ctx->total[0] &= 0xFFFFFFFF; in mbedtls_sha256_update_ret()
293 if( ctx->total[0] < (uint32_t) ilen ) in mbedtls_sha256_update_ret()
294 ctx->total[1]++; in mbedtls_sha256_update_ret()
348 used = ctx->total[0] & 0x3F; in mbedtls_sha256_finish_ret()
371 high = ( ctx->total[0] >> 29 ) in mbedtls_sha256_finish_ret()
372 | ( ctx->total[1] << 3 ); in mbedtls_sha256_finish_ret()
[all …]
A Dmd5.c70 ctx->total[0] = 0; in mbedtls_md5_starts_ret()
71 ctx->total[1] = 0; in mbedtls_md5_starts_ret()
247 left = ctx->total[0] & 0x3F; in mbedtls_md5_update_ret()
250 ctx->total[0] += (uint32_t) ilen; in mbedtls_md5_update_ret()
251 ctx->total[0] &= 0xFFFFFFFF; in mbedtls_md5_update_ret()
253 if( ctx->total[0] < (uint32_t) ilen ) in mbedtls_md5_update_ret()
254 ctx->total[1]++; in mbedtls_md5_update_ret()
306 used = ctx->total[0] & 0x3F; in mbedtls_md5_finish_ret()
329 high = ( ctx->total[0] >> 29 ) in mbedtls_md5_finish_ret()
330 | ( ctx->total[1] << 3 ); in mbedtls_md5_finish_ret()
[all …]
A Dsha512.c104 ctx->total[0] = 0; in mbedtls_sha512_starts_ret()
105 ctx->total[1] = 0; in mbedtls_sha512_starts_ret()
328 left = (unsigned int) (ctx->total[0] & 0x7F); in mbedtls_sha512_update_ret()
331 ctx->total[0] += (uint64_t) ilen; in mbedtls_sha512_update_ret()
333 if( ctx->total[0] < (uint64_t) ilen ) in mbedtls_sha512_update_ret()
334 ctx->total[1]++; in mbedtls_sha512_update_ret()
388 used = ctx->total[0] & 0x7F; in mbedtls_sha512_finish_ret()
411 high = ( ctx->total[0] >> 61 ) in mbedtls_sha512_finish_ret()
412 | ( ctx->total[1] << 3 ); in mbedtls_sha512_finish_ret()
413 low = ( ctx->total[0] << 3 ); in mbedtls_sha512_finish_ret()
A Dconstant_time.c382 size_t total, in mbedtls_ct_mem_move_to_left() argument
387 if( total == 0 ) in mbedtls_ct_mem_move_to_left()
389 for( i = 0; i < total; i++ ) in mbedtls_ct_mem_move_to_left()
391 unsigned no_op = mbedtls_ct_size_gt( total - offset, i ); in mbedtls_ct_mem_move_to_left()
395 for( n = 0; n < total - 1; n++ ) in mbedtls_ct_mem_move_to_left()
401 buf[total-1] = mbedtls_ct_uint_if( no_op, buf[total-1], 0 ); in mbedtls_ct_mem_move_to_left()
A Dripemd160.c71 ctx->total[0] = 0; in mbedtls_ripemd160_starts_ret()
72 ctx->total[1] = 0; in mbedtls_ripemd160_starts_ret()
310 left = ctx->total[0] & 0x3F; in mbedtls_ripemd160_update_ret()
313 ctx->total[0] += (uint32_t) ilen; in mbedtls_ripemd160_update_ret()
314 ctx->total[0] &= 0xFFFFFFFF; in mbedtls_ripemd160_update_ret()
316 if( ctx->total[0] < (uint32_t) ilen ) in mbedtls_ripemd160_update_ret()
317 ctx->total[1]++; in mbedtls_ripemd160_update_ret()
376 high = ( ctx->total[0] >> 29 ) in mbedtls_ripemd160_finish_ret()
377 | ( ctx->total[1] << 3 ); in mbedtls_ripemd160_finish_ret()
378 low = ( ctx->total[0] << 3 ); in mbedtls_ripemd160_finish_ret()
[all …]
A Dsha1.c82 ctx->total[0] = 0; in mbedtls_sha1_starts_ret()
83 ctx->total[1] = 0; in mbedtls_sha1_starts_ret()
300 left = ctx->total[0] & 0x3F; in mbedtls_sha1_update_ret()
303 ctx->total[0] += (uint32_t) ilen; in mbedtls_sha1_update_ret()
304 ctx->total[0] &= 0xFFFFFFFF; in mbedtls_sha1_update_ret()
306 if( ctx->total[0] < (uint32_t) ilen ) in mbedtls_sha1_update_ret()
307 ctx->total[1]++; in mbedtls_sha1_update_ret()
361 used = ctx->total[0] & 0x3F; in mbedtls_sha1_finish_ret()
384 high = ( ctx->total[0] >> 29 ) in mbedtls_sha1_finish_ret()
385 | ( ctx->total[1] << 3 ); in mbedtls_sha1_finish_ret()
[all …]
/optee_os-3.20.0/core/kernel/
A Dembedded_ts.c141 size_t total = 0; in read_compressed() local
178 total += out; in read_compressed()
186 strm->avail_out = MIN(len - total, 1024U); in read_compressed()
188 } while ((st == Z_OK || st == Z_BUF_ERROR) && (total != len)); in read_compressed()
/optee_os-3.20.0/core/lib/zlib/
A Dinflate.h94 unsigned long total; /* protected copy of output count */ member
A Dinflate.c127 strm->total_in = strm->total_out = state->total = 0;
1224 state->total += out;
1247 if ((state->wrap & 4) && hold != (state->total & 0xffffffff)) {
1290 state->total += out;
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dmd4.h61 uint32_t total[2]; /*!< number of bytes processed */ member
A Dmd5.h60 uint32_t total[2]; /*!< number of bytes processed */ member
A Dripemd160.h52 uint32_t total[2]; /*!< number of bytes processed */ member
A Dsha1.h65 uint32_t total[2]; /*!< The number of Bytes processed. */ member
A Dsha256.h60 uint32_t total[2]; /*!< The number of Bytes processed. */ member
A Dsha512.h59 uint64_t total[2]; /*!< The number of Bytes processed. */ member
/optee_os-3.20.0/lib/libutils/isoc/
A Dbget.doc71 number of separate buffer pools, there is no limit on the total storage
209 specifying the number of bytes (total buffer size, including header
251 pointed to by <curalloc>. The total free space (sum of all free blocks
320 the total free space in the buffer
322 buffer, and the total space
/optee_os-3.20.0/core/arch/arm/dts/
A Dat91-sama5d2_xplained.dts310 active-semi,total-timeout = <3>;
/optee_os-3.20.0/lib/libmbedtls/mbedtls/
A DChangeLog1038 * Enforce that mbedtls_entropy_func() gathers a total of

Completed in 36 milliseconds