OPTIGA™ Trust M
Host Library Documentation
common_utilites.h
Go to the documentation of this file.
1
38
#ifndef _PROTECTED_UPDATE_COMMON_UTILITIES_H_
39
#define _PROTECTED_UPDATE_COMMON_UTILITIES_H_
40
41
#include <stdint.h>
42
43
// Copies 2 bytes of uint16 type value to the buffer
44
void
protected_tool_common_set_uint16
(uint8_t * p_output_buffer,uint16_t * offset,uint16_t two_byte_value);
45
46
// Copies 3 bytes to the buffer
47
void
protected_tool_common_set_uint24
(uint8_t * p_output_buffer,uint16_t * offset,uint32_t three_byte_value);
48
49
// Copies 4 bytes of uint32 type value to the buffer
50
void
protected_tool_common_set_uint32
(uint8_t* p_output_buffer, uint16_t * offset,uint32_t four_byte_value);
51
52
// Copies 2 bytes of uint16 type value to the buffer without updating offset
53
void
protected_tool_common_set_uint16_without_offset
(uint8_t * p_output_buffer, uint16_t two_byte_value);
54
55
#endif //_PROTECTED_UPDATE_COMMON_UTILITIES_H_
56
protected_tool_common_set_uint16
void protected_tool_common_set_uint16(uint8_t *p_output_buffer, uint16_t *offset, uint16_t two_byte_value)
protected_tool_common_set_uint32
void protected_tool_common_set_uint32(uint8_t *p_output_buffer, uint16_t *offset, uint32_t four_byte_value)
protected_tool_common_set_uint24
void protected_tool_common_set_uint24(uint8_t *p_output_buffer, uint16_t *offset, uint32_t three_byte_value)
protected_tool_common_set_uint16_without_offset
void protected_tool_common_set_uint16_without_offset(uint8_t *p_output_buffer, uint16_t two_byte_value)
Copyright © 2021 Infineon Technologies AG