Home
last modified time | relevance | path

Searched refs:data_size (Results 1 – 11 of 11) sorted by relevance

/optee_os/core/drivers/crypto/stm32/
A Dstm32_cryp.c786 if (!data || !data_size) in stm32_cryp_update_assodata()
847 if (i < data_size) { in stm32_cryp_update_assodata()
849 data_size - i); in stm32_cryp_update_assodata()
875 size_t data_size) in stm32_cryp_update_load() argument
959 if (i < data_size) { in stm32_cryp_update_load()
967 data_size - i); in stm32_cryp_update_load()
981 data_size - i); in stm32_cryp_update_load()
1106 size_t data_size) in stm32_cryp_update() argument
1123 data_size)) { in stm32_cryp_update()
1194 if (i < data_size) { in stm32_cryp_update()
[all …]
A Dstm32_cryp.h62 size_t data_size);
64 uint8_t *data, size_t data_size);
67 size_t data_size);
/optee_os/core/lib/libtomcrypt/
A Dhash.c172 size_t data_size) in hash_sha256_check() argument
179 if (sha256_process(&hs, data, data_size) != CRYPT_OK) in hash_sha256_check()
191 size_t data_size) in hash_sha512_256_compute() argument
197 if (sha512_256_process(&hs, data, data_size) != CRYPT_OK) in hash_sha512_256_compute()
/optee_os/scripts/
A Dgen_ldelf_hex.py41 data_size = 0
87 data_size += sz
116 outf.write(b'const unsigned int ldelf_data_size = %d;\n' % data_size)
/optee_os/core/tee/
A Dtee_rpmb_fs.c75 uint32_t data_size; member
2216 fe->data_size); in read_fat()
2402 if (pos >= fh->fat_entry.data_size) { in rpmb_fs_read()
2543 if (end <= fh->fat_entry.data_size && in rpmb_fs_write_primitive()
2570 fh->fat_entry.data_size = new_size; in rpmb_fs_write_primitive()
2725 if (newsize > fh->fat_entry.data_size) { in rpmb_fs_truncate()
2748 if (fh->fat_entry.data_size) { in rpmb_fs_truncate()
2769 fh->fat_entry.data_size = newsize; in rpmb_fs_truncate()
2961 *size = fh->fat_entry.data_size; in rpmb_fs_open()
2976 const void *data, size_t data_size, in rpmb_fs_create() argument
[all …]
A Dtee_ree_fs.c708 const void *data, size_t data_size, in ree_fs_create() argument
746 if (data && data_size) { in ree_fs_create()
747 res = ree_fs_write_primitive(*fh, pos, data, data_size); in ree_fs_create()
/optee_os/lib/libmbedtls/core/
A Dhash.c181 size_t data_size) in hash_sha256_check() argument
189 mbedtls_sha256_update(&hs, data, data_size); in hash_sha256_check()
/optee_os/core/drivers/
A Dpl022_spi.c371 uint16_t data_size; in pl022_configure() local
433 data_size = SSPCR0_DSS_8BIT; in pl022_configure()
437 data_size = SSPCR0_DSS_16BIT; in pl022_configure()
455 data_size, MASK_16); in pl022_configure()
/optee_os/core/include/tee/
A Dtee_fs.h37 const void *data, size_t data_size,
/optee_os/core/include/crypto/
A Dcrypto.h284 size_t data_size);
295 size_t data_size);
/optee_os/ta/pkcs11/src/
A Dprocessing.c164 uint32_t data_size = 0; in generate_random_key_value() local
171 rc = get_attribute_ptr(*head, PKCS11_CKA_VALUE_LEN, &data, &data_size); in generate_random_key_value()
172 if (rc || data_size != sizeof(uint32_t)) { in generate_random_key_value()
178 TEE_MemMove(&value_len, data, data_size); in generate_random_key_value()

Completed in 27 milliseconds