Searched refs:ibuf (Results 1 – 12 of 12) sorted by relevance
/optee_os-3.20.0/core/drivers/crypto/versal/ |
A D | ipi.c | 32 reg_pair_from_64(virt_to_phys(arg->ibuf[0].mem.buf), &b, &a); in versal_sha3_request() 37 cmd.ibuf[0].mem = arg->ibuf[0].mem; in versal_sha3_request() 40 reg_pair_from_64(virt_to_phys(arg->ibuf[0].mem.buf), &b, &a); in versal_sha3_request() 44 cmd.ibuf[0].mem = arg->ibuf[0].mem; in versal_sha3_request() 57 reg_pair_from_64(virt_to_phys(arg->ibuf[0].mem.buf), &b, &a); in versal_aes_update_aad_request() 64 cmd.ibuf[0].mem = arg->ibuf[0].mem; in versal_aes_update_aad_request() 88 if (!arg->ibuf[0].mem.buf) in versal_crypto_request() 91 reg_pair_from_64(virt_to_phys(arg->ibuf[0].mem.buf), &b, &a); in versal_crypto_request() 96 if (!arg->ibuf[1].mem.buf) in versal_crypto_request() 99 if (arg->ibuf[1].only_cache) in versal_crypto_request() [all …]
|
A D | authenc.c | 235 arg.ibuf[0].mem = p->mem; in replay_aad() 252 arg.ibuf[1].mem = p->dst; in replay_payload() 253 arg.ibuf[2].mem = p->src; in replay_payload() 350 arg.ibuf[0].mem = key; in do_init() 370 arg.ibuf[0].mem = init_buf; in do_init() 371 arg.ibuf[1].mem = nonce; in do_init() 433 arg.ibuf[0].mem = p; in do_update_aad() 494 arg.ibuf[1].mem = q; in update_payload() 495 arg.ibuf[2].mem = p; in update_payload() 599 arg.ibuf[0].mem = p; in do_enc_final() [all …]
|
A D | ecc.c | 200 arg.ibuf[0].mem = x; in verify() 220 arg.ibuf[0].mem = cmd_buf; in verify() 221 arg.ibuf[1].mem = p; in verify() 222 arg.ibuf[1].only_cache = true; in verify() 223 arg.ibuf[2].mem = x; in verify() 224 arg.ibuf[3].mem = s; in verify() 308 arg.ibuf[0].mem = cmd_buf; in sign() 309 arg.ibuf[1].mem = s; in sign() 310 arg.ibuf[2].mem = k; in sign() 311 arg.ibuf[3].mem = d; in sign() [all …]
|
A D | rsa.c | 93 arg.ibuf[0].mem = cmd_buf; in do_encrypt() 94 arg.ibuf[1].mem = cipher; in do_encrypt() 95 arg.ibuf[2].mem = msg; in do_encrypt() 96 arg.ibuf[3].mem = key; in do_encrypt() 185 arg.ibuf[0].mem = cmd_buf; in do_decrypt() 186 arg.ibuf[1].mem = msg; in do_decrypt() 187 arg.ibuf[2].mem = cipher; in do_decrypt() 188 arg.ibuf[3].mem = key; in do_decrypt()
|
/optee_os-3.20.0/core/drivers/ |
A D | versal_nvm.c | 164 req->ibuf[0].len = 1024; in versal_alloc_read_buffer() 165 req->ibuf[0].buf = alloc_cache_aligned(req->ibuf[0].len); in versal_alloc_read_buffer() 166 if (!req->ibuf[0].buf) in versal_alloc_read_buffer() 175 free(req->ibuf[0].buf); in versal_free_read_buffer() 181 return req->ibuf[0].buf; in versal_get_read_buffer() 273 req.ibuf[0].buf = &cfg; in versal_efuse_read_user_data() 275 req.ibuf[1].buf = rsp; in versal_efuse_read_user_data() 276 req.ibuf[1].len = 1024; in versal_efuse_read_user_data() 386 req.ibuf[1].buf = &cfg; in versal_efuse_write_user_data() 388 req.ibuf[2].buf = lbuf; in versal_efuse_write_user_data() [all …]
|
A D | versal_mbox.c | 205 if (!cmd->ibuf[i].mem.buf) in versal_mbox_write_req() 208 if (!IS_ALIGNED((uintptr_t)cmd->ibuf[i].mem.buf, in versal_mbox_write_req() 211 cmd->ibuf[i].mem.buf); in versal_mbox_write_req() 217 i, cmd->ibuf[i].mem.alloc_len); in versal_mbox_write_req() 222 cmd->ibuf[i].mem.alloc_len); in versal_mbox_write_req() 251 if (!cmd->ibuf[i].mem.buf) in versal_mbox_read_rsp() 254 if (!IS_ALIGNED((uintptr_t)cmd->ibuf[i].mem.buf, in versal_mbox_read_rsp() 257 i, cmd->ibuf[i].mem.buf); in versal_mbox_read_rsp() 263 i, cmd->ibuf[i].mem.alloc_len); in versal_mbox_read_rsp() 268 cmd->ibuf[i].mem.buf, in versal_mbox_read_rsp() [all …]
|
A D | versal_puf.c | 123 arg.ibuf[0].mem = request; in versal_puf_register() 124 arg.ibuf[1].mem = syndrome_data_addr; in versal_puf_register() 125 arg.ibuf[2].mem = hash_addr; in versal_puf_register() 126 arg.ibuf[3].mem = aux_addr; in versal_puf_register() 127 arg.ibuf[4].mem = puf_id_addr; in versal_puf_register() 128 arg.ibuf[5].mem = efuse_syn_data_addr; in versal_puf_register() 203 arg.ibuf[0].mem = request; in versal_puf_regenerate() 204 arg.ibuf[1].mem = syndrome_data_addr; in versal_puf_regenerate() 205 arg.ibuf[2].mem = hash_addr; in versal_puf_regenerate() 206 arg.ibuf[3].mem = aux_addr; in versal_puf_regenerate() [all …]
|
A D | versal_huk.c | 204 cmd.ibuf[0].mem = p; in aes_gcm_encrypt() 227 cmd.ibuf[0].mem = init_buf; in aes_gcm_encrypt() 228 cmd.ibuf[1].mem = p; in aes_gcm_encrypt() 246 cmd.ibuf[0].mem = p; in aes_gcm_encrypt() 266 cmd.ibuf[0].mem = input_cmd; in aes_gcm_encrypt() 267 cmd.ibuf[1].mem = p; in aes_gcm_encrypt() 268 cmd.ibuf[2].mem = q; in aes_gcm_encrypt()
|
A D | versal_sha3_384.c | 34 arg.ibuf[0].mem = p; in input_plaintext() 55 arg.ibuf[0].mem = p; in get_ciphertext()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | arc4.c | 155 unsigned char ibuf[8]; in mbedtls_arc4_self_test() local 166 memcpy( ibuf, arc4_test_pt[i], 8 ); in mbedtls_arc4_self_test() 169 mbedtls_arc4_crypt( &ctx, 8, ibuf, obuf ); in mbedtls_arc4_self_test()
|
/optee_os-3.20.0/core/include/drivers/ |
A D | versal_mbox.h | 27 struct versal_ipi_buf ibuf[VERSAL_MAX_IPI_BUF]; member
|
/optee_os-3.20.0/core/drivers/crypto/versal/include/ |
A D | ipi.h | 90 struct versal_ipi_buf ibuf[VERSAL_MAX_IPI_BUF]; member
|
Completed in 15 milliseconds