| /optee_os/lib/libutee/ |
| H A D | tee_api_arith_mpi.c | 139 TEE_Result TEE_BigIntConvertFromOctetString(TEE_BigInt *dest, in TEE_BigIntConvertFromOctetString() argument 157 res = copy_mpi_to_bigint(&mpi_dest, dest); in TEE_BigIntConvertFromOctetString() 164 TEE_Result __GP11_TEE_BigIntConvertFromOctetString(TEE_BigInt *dest, in __GP11_TEE_BigIntConvertFromOctetString() argument 169 return TEE_BigIntConvertFromOctetString(dest, buffer, bufferLen, sign); in __GP11_TEE_BigIntConvertFromOctetString() 206 void TEE_BigIntConvertFromS32(TEE_BigInt *dest, int32_t shortVal) in TEE_BigIntConvertFromS32() argument 210 get_mpi(&mpi, dest); in TEE_BigIntConvertFromS32() 214 MPI_CHECK(copy_mpi_to_bigint(&mpi, dest)); in TEE_BigIntConvertFromS32() 218 TEE_Result TEE_BigIntConvertToS32(int32_t *dest, const TEE_BigInt *src) in TEE_BigIntConvertToS32() argument 232 if (ADD_OVERFLOW(0, TEE_U32_FROM_BIG_ENDIAN(v), dest)) in TEE_BigIntConvertToS32() 235 if (SUB_OVERFLOW(0, TEE_U32_FROM_BIG_ENDIAN(v), dest)) in TEE_BigIntConvertToS32() [all …]
|
| /optee_os/core/lib/qcbor/inc/qcbor/ |
| H A D | qcbor_decode.h | 1389 QCBOR_Int64ToInt32(int64_t src, int32_t *dest) in QCBOR_Int64ToInt32() argument 1394 *dest = (int32_t) src; in QCBOR_Int64ToInt32() 1400 QCBOR_Int64ToInt16(int64_t src, int16_t *dest) in QCBOR_Int64ToInt16() argument 1405 *dest = (int16_t) src; in QCBOR_Int64ToInt16() 1411 QCBOR_Int64ToInt8(int64_t src, int8_t *dest) in QCBOR_Int64ToInt8() argument 1416 *dest = (int8_t) src; in QCBOR_Int64ToInt8() 1422 QCBOR_Int64ToUInt32(int64_t src, uint32_t *dest) in QCBOR_Int64ToUInt32() argument 1427 *dest = (uint32_t) src; in QCBOR_Int64ToUInt32() 1439 QCBOR_Int64ToUInt16(int64_t src, uint16_t *dest) in QCBOR_Int64ToUInt16() argument 1444 *dest = (uint16_t) src; in QCBOR_Int64ToUInt16() [all …]
|
| /optee_os/core/lib/libtomcrypt/src/misc/ |
| H A D | copy_or_zeromem.c | 17 void copy_or_zeromem(const unsigned char* src, unsigned char* dest, unsigned long len, int coz) in copy_or_zeromem() argument 27 LTC_ARGCHKVD(dest != NULL); in copy_or_zeromem() 37 *(LTC_FAST_TYPE_PTR_CAST(&dest[y+z])) = *(LTC_FAST_TYPE_PTR_CAST(&src[y+z])) & fastMask; in copy_or_zeromem() 43 dest[y] = src[y] & mask; in copy_or_zeromem()
|
| /optee_os/lib/libutee/include/ |
| H A D | tee_internal_api.h | 128 void TEE_MemMove(void *dest, const void *src, size_t size); 129 void __GP11_TEE_MemMove(void *dest, const void *src, uint32_t size); 531 TEE_Result TEE_BigIntConvertFromOctetString(TEE_BigInt *dest, 535 TEE_Result __GP11_TEE_BigIntConvertFromOctetString(TEE_BigInt *dest, 546 void TEE_BigIntConvertFromS32(TEE_BigInt *dest, int32_t shortVal); 548 TEE_Result TEE_BigIntConvertToS32(int32_t *dest, const TEE_BigInt *src); 556 void TEE_BigIntShiftRight(TEE_BigInt *dest, const TEE_BigInt *op, 558 void __GP11_TEE_BigIntShiftRight(TEE_BigInt *dest, const TEE_BigInt *op, 567 TEE_Result TEE_BigIntAssign(TEE_BigInt *dest, const TEE_BigInt *src); 569 TEE_Result TEE_BigIntAbs(TEE_BigInt *dest, const TEE_BigInt *src); [all …]
|
| H A D | utee_syscalls.h | 50 TEE_Result _utee_open_ta_session(const TEE_UUID *dest, 100 size_t src_len, void *dest, uint64_t *dest_len); 102 size_t src_len, void *dest, uint64_t *dest_len);
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | constant_time.c | 171 unsigned char *dest, in mbedtls_ct_memcpy_if() argument 190 src2 = dest; in mbedtls_ct_memcpy_if() 200 mbedtls_put_unaligned_uint64(dest + i, a | b); in mbedtls_ct_memcpy_if() 206 mbedtls_put_unaligned_uint32(dest + i, a | b); in mbedtls_ct_memcpy_if() 211 dest[i] = (src1[i] & mask) | (src2[i] & not_mask); in mbedtls_ct_memcpy_if() 215 void mbedtls_ct_memcpy_offset(unsigned char *dest, in mbedtls_ct_memcpy_offset() argument 225 mbedtls_ct_memcpy_if(mbedtls_ct_uint_eq(offsetval, offset), dest, src + offsetval, NULL, in mbedtls_ct_memcpy_offset()
|
| H A D | constant_time_internal.h | 496 unsigned char *dest, 531 void mbedtls_ct_memcpy_offset(unsigned char *dest,
|
| /optee_os/core/lib/zlib/ |
| H A D | zutil.c | 150 void ZLIB_INTERNAL zmemcpy(dest, source, len) in zmemcpy() argument 151 Bytef* dest; in zmemcpy() 157 *dest++ = *source++; /* ??? to be unrolled */ 174 void ZLIB_INTERNAL zmemzero(dest, len) in zmemzero() argument 175 Bytef* dest; in zmemzero() 180 *dest++ = 0; /* ??? to be unrolled */
|
| H A D | zutil.h | 228 # define zmemzero(dest, len) _fmemset(dest, 0, len) argument 232 # define zmemzero(dest, len) memset(dest, 0, len) argument 235 void ZLIB_INTERNAL zmemcpy OF((Bytef* dest, const Bytef* source, uInt len)); 237 void ZLIB_INTERNAL zmemzero OF((Bytef* dest, uInt len));
|
| H A D | zlib.h | 677 ZEXTERN int ZEXPORT deflateCopy OF((z_streamp dest, 944 ZEXTERN int ZEXPORT inflateCopy OF((z_streamp dest, 1230 ZEXTERN int ZEXPORT compress OF((Bytef *dest, uLongf *destLen, 1245 ZEXTERN int ZEXPORT compress2 OF((Bytef *dest, uLongf *destLen, 1268 ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen, 1286 ZEXTERN int ZEXPORT uncompress2 OF((Bytef *dest, uLongf *destLen,
|
| /optee_os/core/arch/arm/plat-stm32mp1/ |
| H A D | link.mk | 14 $(stm32image_cmd) --source $< --dest $@ --bintype 0x20 19 $(stm32image_cmd) --source $< --dest $@ --bintype 0x21 24 $(stm32image_cmd) --source $< --dest $@ --bintype 0x22
|
| /optee_os/core/arch/arm/plat-amlogic/scripts/ |
| H A D | aml_bin2img.py | 42 def aml_create_header_file(source, dest, entry, res_mem_start, res_mem_size, argument 44 dest_fd = open(dest, 'w+b') 110 destination_file = args.dest
|
| /optee_os/lib/libutils/isoc/include/ |
| H A D | string.h | 30 char *strcpy(char *dest, const char *src); 31 char *strncpy(char *dest, const char *src, size_t n);
|
| /optee_os/core/lib/libtomcrypt/src/misc/bcrypt/ |
| H A D | bcrypt.c | 82 unsigned long left, itts, x, y, hashed_pass_len, step_size, steps, dest, used_rounds; in bcrypt_pbkdf_openbsd() local 169 dest = y * step_size + (blkno - 1); in bcrypt_pbkdf_openbsd() 170 if (dest >= *outlen) in bcrypt_pbkdf_openbsd() 172 out[dest] = buf[2][y]; in bcrypt_pbkdf_openbsd()
|
| /optee_os/core/arch/arm/plat-stm32mp1/scripts/ |
| H A D | stm32image.py | 76 def stm32image_create_header_file(source, dest, load, entry, bintype): argument 77 dest_fd = open(dest, 'w+b') 127 destination_file = args.dest
|
| /optee_os/scripts/ |
| H A D | sign_rproc_fw.py | 304 parser.add_argument('--in', required=True, dest='in_file', 307 parser.add_argument('--out', required=True, dest='out_file', 311 dest='key_file') 314 dest='key_info') 318 dest='key_type') 321 dest='key_pwd') 329 default=[], dest='plat_tlv')
|
| H A D | sign_encrypt.py | 70 a = self.dest + '_assigned' 74 setattr(namespace, self.dest, values) 110 '--sig', required=True, dest='sigf', 115 '--dig', required=True, dest='digf', 120 '--in', required=False, dest='inf', help=''' 126 '--out', required=True, dest='outf', 146 '--in', required=True, dest='inf', 168 '--in', required=True, dest='inf', help=''' 173 '--out', required=True, dest='outf', 199 dest='command', metavar='')
|
| H A D | tee_bin_parser.py | 12 parser.add_argument('--input', required=False, dest='inf',
|
| H A D | ts_bin_to_c.py | 42 dest="compress", 49 dest="manifest",
|
| /optee_os/core/include/tee/ |
| H A D | tee_svc_cryp.h | 51 size_t src_len, void *dest, uint64_t *dest_len); 53 size_t src_len, void *dest, uint64_t *dest_len);
|
| H A D | tee_svc.h | 53 TEE_Result syscall_open_ta_session(const TEE_UUID *dest,
|
| /optee_os/core/arch/arm/plat-amlogic/ |
| H A D | link.mk | 14 $(aml_bin2img_cmd) --source $< --dest $@ --entry 0x5300000 \
|
| /optee_os/lib/libutils/ext/include/ |
| H A D | compiler.h | 132 #define __INTOF_ASSIGN(dest, src) (__extension__({ \ argument 134 typeof(dest) __intof_y = __intof_x; \ 137 (void)((dest) = __intof_y) , 0 : 1); \
|
| /optee_os/core/drivers/scmi-msg/ |
| H A D | clock.c | 254 static void write_rate_desc_array_in_buffer(char *dest, unsigned long *rates, in write_rate_desc_array_in_buffer() argument 260 assert(IS_ALIGNED_WITH_TYPE(dest, uint32_t)); in write_rate_desc_array_in_buffer() 261 out = (uint32_t *)(uintptr_t)dest; in write_rate_desc_array_in_buffer()
|
| /optee_os/core/lib/libtomcrypt/ |
| H A D | mpi_desc.c | 580 mbedtls_mpi dest; in exptmod() local 582 mbedtls_mpi_init_mempool(&dest); in exptmod() 583 res = mbedtls_mpi_exp_mod(&dest, a, b, c, NULL); in exptmod() 585 res = mbedtls_mpi_copy(d, &dest); in exptmod() 586 mbedtls_mpi_free(&dest); in exptmod()
|