| /optee_os/core/crypto/ |
| H A D | sm4_accel.c | 25 void sm4_crypt_ecb(struct sm4_context *ctx, size_t length, const uint8_t *input, in sm4_crypt_ecb() 33 void sm4_crypt_cbc(struct sm4_context *ctx, size_t length, uint8_t iv[16], in sm4_crypt_cbc() 45 void sm4_crypt_ctr(struct sm4_context *ctx, size_t length, uint8_t ctr[16], in sm4_crypt_ctr()
|
| H A D | sm4.c | 203 void sm4_crypt_ecb(struct sm4_context *ctx, size_t length, const uint8_t *input, in sm4_crypt_ecb() 216 void sm4_crypt_cbc(struct sm4_context *ctx, size_t length, uint8_t iv[16], in sm4_crypt_cbc() 249 void sm4_crypt_ctr(struct sm4_context *ctx, size_t length, uint8_t ctr[16], in sm4_crypt_ctr()
|
| /optee_os/lib/libutee/ |
| H A D | tee_tcpudp_socket.c | 113 uint32_t *length, uint32_t timeout) in sock_send() 127 static TEE_Result sock_recv(TEE_iSocketHandle ctx, void *buf, uint32_t *length, in sock_recv() 153 void *buf, uint32_t *length) in tcp_ioctl() 180 void *buf, uint32_t *length) in udp_ioctl()
|
| /optee_os/core/lib/libtomcrypt/src/misc/padding/ |
| H A D | padding_pad.c | 14 static int s_padding_padded_length(unsigned long *length, unsigned long mode) in s_padding_padded_length() 80 int padding_pad(unsigned char *data, unsigned long length, unsigned long* padded_length, unsigned l… in padding_pad()
|
| H A D | padding_depad.c | 17 int padding_depad(const unsigned char *data, unsigned long *length, unsigned long mode) in padding_depad()
|
| /optee_os/core/lib/libtomcrypt/src/headers/ |
| H A D | tomcrypt_hash.h | 19 ulong64 length, state[8]; member 27 ulong64 length; member 35 ulong64 length; member 43 ulong64 length; member 51 ulong64 length; member 59 ulong64 state[3], length; member 74 ulong64 length; member 82 ulong64 length; member 90 ulong64 length; member 98 ulong64 length; member [all …]
|
| /optee_os/core/drivers/crypto/caam/utils/ |
| H A D | utils_dmaobj.c | 78 size_t length; member 326 static inline void add_dma_require(struct priv_dmaobj *priv, size_t length) in add_dma_require() 653 size_t length) in caam_dmaobj_init_input() 691 size_t length) in caam_dmaobj_input_sgtbuf() 720 size_t length, size_t min_length) in caam_dmaobj_init_output() 786 size_t length, size_t min_length) in caam_dmaobj_output_sgtbuf() 863 size_t length = 0; in caam_dmaobj_copy_to_orig() local 908 size_t length = 0; in caam_dmaobj_copy_ltrim_to_orig() local 1069 size_t offset, size_t length) in caam_dmaobj_derive_sgtbuf() 1220 size_t *length, size_t off, in caam_dmaobj_sgtbuf_inout_build() [all …]
|
| H A D | utils_sgt.c | 31 size_t length) in caam_sgt_cache_op() 68 size_t length) in caam_sgt_derive()
|
| /optee_os/core/lib/libtomcrypt/src/encauth/eax/ |
| H A D | eax_addheader.c | 19 unsigned long length) in eax_addheader()
|
| H A D | eax_encrypt.c | 21 unsigned long length) in eax_encrypt()
|
| H A D | eax_decrypt.c | 21 unsigned long length) in eax_decrypt()
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | cipher_wrap.c | 182 static int aes_crypt_cbc_wrap(void *ctx, mbedtls_operation_t operation, size_t length, in aes_crypt_cbc_wrap() 192 size_t length, size_t *iv_off, unsigned char *iv, in aes_crypt_cfb128_wrap() 201 static int aes_crypt_ofb_wrap(void *ctx, size_t length, size_t *iv_off, in aes_crypt_ofb_wrap() 210 static int aes_crypt_ctr_wrap(void *ctx, size_t length, size_t *nc_off, in aes_crypt_ctr_wrap() 221 size_t length, in aes_crypt_xts_wrap() 806 size_t length, unsigned char *iv, in camellia_crypt_cbc_wrap() 816 size_t length, size_t *iv_off, unsigned char *iv, in camellia_crypt_cfb128_wrap() 825 static int camellia_crypt_ctr_wrap(void *ctx, size_t length, size_t *nc_off, in camellia_crypt_ctr_wrap() 1232 size_t length, unsigned char *iv, in aria_crypt_cbc_wrap() 1242 size_t length, size_t *iv_off, unsigned char *iv, in aria_crypt_cfb128_wrap() [all …]
|
| H A D | ccm.c | 513 static int ccm_auth_crypt(mbedtls_ccm_context *ctx, int mode, size_t length, in ccm_auth_crypt() 549 int mbedtls_ccm_star_encrypt_and_tag(mbedtls_ccm_context *ctx, size_t length, in mbedtls_ccm_star_encrypt_and_tag() 559 int mbedtls_ccm_encrypt_and_tag(mbedtls_ccm_context *ctx, size_t length, in mbedtls_ccm_encrypt_and_tag() 586 static int ccm_auth_decrypt(mbedtls_ccm_context *ctx, int mode, size_t length, in ccm_auth_decrypt() 609 int mbedtls_ccm_star_auth_decrypt(mbedtls_ccm_context *ctx, size_t length, in mbedtls_ccm_star_auth_decrypt() 620 int mbedtls_ccm_auth_decrypt(mbedtls_ccm_context *ctx, size_t length, in mbedtls_ccm_auth_decrypt()
|
| H A D | chachapoly.c | 246 size_t length, in chachapoly_crypt_and_tag() 278 size_t length, in mbedtls_chachapoly_encrypt_and_tag() 292 size_t length, in mbedtls_chachapoly_auth_decrypt()
|
| H A D | psa_crypto_core.h | 927 size_t length; member 957 size_t length; member
|
| H A D | padlock.c | 105 size_t length, in mbedtls_padlock_xcryptcbc()
|
| H A D | camellia.c | 521 size_t length, in mbedtls_camellia_crypt_cbc() 571 size_t length, in mbedtls_camellia_crypt_cfb128() 623 size_t length, in mbedtls_camellia_crypt_ctr()
|
| H A D | aria.c | 514 size_t length, in mbedtls_aria_crypt_cbc() 565 size_t length, in mbedtls_aria_crypt_cfb128() 621 size_t length, in mbedtls_aria_crypt_ctr()
|
| H A D | aes.c | 1074 size_t length, in mbedtls_aes_crypt_cbc() 1191 size_t length, in mbedtls_aes_crypt_xts() 1294 size_t length, in mbedtls_aes_crypt_cfb128() 1356 size_t length, in mbedtls_aes_crypt_cfb8() 1399 size_t length, in mbedtls_aes_crypt_ofb() 1438 size_t length, in mbedtls_aes_crypt_ctr()
|
| /optee_os/ta/remoteproc/src/ |
| H A D | remoteproc_core.c | 108 uint32_t length; member 233 size_t *length) in remoteproc_get_tlv() 320 size_t length = 0; in remoteproc_pta_verify() local 364 uint32_t length = 0; in remoteproc_save_fw_header_and_tlvs() local 395 size_t length = 0; in remoteproc_verify_signature() local 615 size_t length = 0; in get_hash_table() local 645 size_t length = 0; in get_tlv_images_type() local 668 size_t length = 0; in get_tlv_images_size() local 793 size_t length = 0; in remoteproc_load_elf() local
|
| /optee_os/core/lib/libtomcrypt/src/misc/ |
| H A D | adler32.c | 22 void adler32_update(adler32_state *ctx, const unsigned char *input, unsigned long length) in adler32_update()
|
| H A D | crc32.c | 143 void crc32_update(crc32_state *ctx, const unsigned char *input, unsigned long length) in crc32_update()
|
| /optee_os/core/drivers/crypto/caam/include/ |
| H A D | caam_types.h | 19 size_t length; /* Number of bytes in the data buffer */ member
|
| /optee_os/core/drivers/crypto/crypto_api/include/ |
| H A D | drvcrypt.h | 44 size_t length; member
|
| /optee_os/core/drivers/scmi-msg/ |
| H A D | smt.c | 30 uint32_t length; /* message_header + payload */ member
|