/optee_os-3.20.0/core/drivers/crypto/crypto_api/math/ |
A D | modulus.c | 35 min = MIN(data->a.length, data->b.length); in drvcrypt_xor_mod_n() 36 min = MIN(min, data->n.length); in drvcrypt_xor_mod_n()
|
/optee_os-3.20.0/core/drivers/ |
A D | versal_sha3_384.c | 29 len = MIN(src_len, SMALL_PAGE_SIZE); in input_plaintext() 58 memcpy(dst, p.buf, MIN(dst_len, (size_t)TEE_SHA384_HASH_SIZE)); in get_ciphertext()
|
A D | bcm_hwrng.c | 63 num_words = MIN(available_words, words_to_read); in bcm_hwrng_read_rng()
|
A D | smccc_trng.c | 103 size_t count = MIN(byte_count, *rem); in read_bytes() 145 size_t burst = MIN(rem, max_burst); in smccc_trng_read()
|
A D | stm32_rng.c | 102 req_size = MIN(RNG_FIFO_BYTE_DEPTH, *size); in read_available() 108 size_t sz = MIN(len, sizeof(uint32_t)); in read_available()
|
A D | atmel_trng.c | 58 len_to_copy = MIN(len, sizeof(uint32_t)); in hw_get_random_bytes()
|
A D | xiphera_trng.c | 85 len_to_copy = MIN(len, sizeof(uint32_t)); in hw_get_random_bytes()
|
/optee_os-3.20.0/core/drivers/crypto/caam/utils/ |
A D | utils_sgt.c | 41 op_size = MIN(rem_length, insgt->buf[idx].length); in caam_sgt_cache_op() 89 rlength -= MIN(rlength, from->buf[idx].length - off); in caam_sgt_derive() 92 rlength -= MIN(rlength, from->buf[idx].length); in caam_sgt_derive()
|
A D | utils_mem.c | 221 cpy_size = MIN(cpy_size, src->length - offset); in caam_cpy_block_src() 289 MIN(SMALL_PAGE_SIZE - (va & SMALL_PAGE_MASK), len); in caam_mem_get_pa_area() 345 cpy_size = MIN(dst->length, (src->length - offset)); in caam_mem_cpy_ltrim_buf()
|
/optee_os-3.20.0/core/kernel/ |
A D | delay.c | 52 cycles_to_wait = MIN(cycles, UINT32_MAX); in udelay()
|
A D | embedded_ts.c | 156 strm->avail_out = MIN(len, 1024U); in read_compressed() 186 strm->avail_out = MIN(len - total, 1024U); in read_compressed()
|
/optee_os-3.20.0/core/crypto/ |
A D | cbc-mac.c | 83 nblocks = MIN(len / mc->block_len, in crypto_cbc_mac_update() 89 nblocks = MIN(len / mc->block_len, in crypto_cbc_mac_update() 149 memcpy(digest, mc->digest, MIN(digest_len, mc->block_len)); in crypto_cbc_mac_final()
|
A D | rng_fortuna.c | 178 uint8_t dl = MIN(RING_BUF_DATA_SIZE, dlen); in push_ring_buffer() 213 dlen = MIN(ring_buffer.elem[ring_buffer.end].dlen, RING_BUF_DATA_SIZE); in pop_ring_buffer() 226 size_t dl = MIN(MAX_EVENT_DATA_LEN, dlen); in add_event() 523 n = MIN(blen - offs, SIZE_1M); in crypto_rng_read()
|
/optee_os-3.20.0/lib/libutils/ext/arch/arm/ |
A D | memtag.c | 98 s = MIN(dcsz - (va & mask), size); in set_tags_dc_helper() 149 s = MIN(dcsz - (va & mask), size); in clear_mem_dc()
|
/optee_os-3.20.0/core/pta/bcm/ |
A D | elog.c | 165 sz = MIN(params[0].memref.size, DEFAULT_ELOG_BUFFER_SIZE); in pta_elog_nitro_crash_dump() 201 sz = MIN(params[0].memref.size, DEFAULT_ELOG_BUFFER_SIZE); in pta_elog_dump()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/eax/ |
A D | eax_decrypt_verify_memory.c | 53 taglen = MIN(taglen, MAXBLOCKSIZE); in eax_decrypt_verify_memory()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/ocb3/ |
A D | ocb3_decrypt_verify_memory.c | 49 taglen = MIN(taglen, MAXBLOCKSIZE); in ocb3_decrypt_verify_memory()
|
/optee_os-3.20.0/core/drivers/clk/sam/ |
A D | at91_clk.h | 41 #define CLK_RANGE(MIN, MAX) {.min = MIN, .max = MAX,} argument
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/omac/ |
A D | omac_process.c | 69 n = MIN(inlen, (unsigned long)(omac->blklen - omac->buflen)); in omac_process()
|
/optee_os-3.20.0/lib/libutils/ext/include/ |
A D | util.h | 25 #define MIN(a, b) \ macro 31 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dh/ |
A D | dh_make_key.c | 84 key_size = MIN(key_size_p, key_size_q); in dh_make_key()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/pmac/ |
A D | pmac_process.c | 74 n = MIN(inlen, (unsigned long)(pmac->block_len - pmac->buflen)); in pmac_process()
|
/optee_os-3.20.0/core/drivers/crypto/stm32/ |
A D | authenc.c | 250 size_t len = MIN(dupdate->src.length, dupdate->dst.length); in stm32_ae_update_payload() 275 size_t len = MIN(dfinal->src.length, dfinal->dst.length); in stm32_ae_enc_final() 289 size_t len = MIN(dfinal->src.length, dfinal->dst.length); in stm32_ae_dec_final()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/ |
A D | dsa_decrypt_key.c | 89 y = MIN(y, MAXBLOCKSIZE); in dsa_decrypt_key()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/salsa20/ |
A D | salsa20_crypt.c | 62 j = MIN(st->ksleft, inlen); in salsa20_crypt()
|