Home
last modified time | relevance | path

Searched refs:cmd_len (Results 1 – 4 of 4) sorted by relevance

/optee_os-3.20.0/core/drivers/crypto/se050/adaptors/utils/
A Dscp_config.c317 size_t cmd_len = 0; in se050_scp03_prepare_rotate_cmd() local
328 cmd->cmd[cmd_len] = key_version; in se050_scp03_prepare_rotate_cmd()
329 cmd_len += 1; in se050_scp03_prepare_rotate_cmd()
339 status = prepare_key_data(key[i], &cmd->cmd[cmd_len], ctx, oid); in se050_scp03_prepare_rotate_cmd()
344 &cmd->cmd[cmd_len + 3 + AES_KEY_LEN_nBYTE + 1], in se050_scp03_prepare_rotate_cmd()
347 cmd_len += 3 + AES_KEY_LEN_nBYTE + 1 + CRYPTO_KEY_CHECK_LEN; in se050_scp03_prepare_rotate_cmd()
351 cmd->cmd_len = cmd_len; in se050_scp03_prepare_rotate_cmd()
/optee_os-3.20.0/core/drivers/tpm2/
A Dtpm2_cmd.c32 uint32_t cmd_len = tpm2_cmd_len(cmd); in tpm2_cmd_add() local
34 assert(len >= (cmd_len + val_len)); in tpm2_cmd_add()
36 memcpy(&cmd->data[cmd_len - sizeof(struct tpm2_cmd_hdr)], val, val_len); in tpm2_cmd_add()
38 cmd_len += val_len; in tpm2_cmd_add()
39 put_unaligned_be32(&cmd->hdr.size, cmd_len); in tpm2_cmd_add()
/optee_os-3.20.0/core/drivers/crypto/se050/adaptors/include/
A Dse050_utils.h23 size_t cmd_len; member
/optee_os-3.20.0/core/drivers/crypto/se050/adaptors/apis/
A Dapdu.c512 st = DoAPDUTxRx_s_Case4(ctx, &hdr, cmd->cmd, cmd->cmd_len, in se050_scp03_send_rotate_cmd()

Completed in 5 milliseconds