|
Functions |
| Proposal * | CloneProposal (struct Proposal *prop, struct Proposal *ref) |
| | Clone proposal prop with first transform of each type, which is also in ref.
|
| Proposal * | AddProposal (struct Proposal **list) |
| | Add a new proposal to proposal list.
|
| void | RemoveProposal (struct Proposal *prop, struct Proposal **list) |
| | Removes a proposal from propsals list.
|
| void | DeleteProposal (struct Proposal *prop) |
| | Free proposal with protocols and transforms.
|
| void | DeleteProposalList (struct Proposal *prop) |
| | Free a list of proposals.
|
| Protocol * | AddProtocol (struct Proposal *prop, uint8_t protocol, uint8_t SPISize, uint32_t SPI) |
| | Add a protocol to a given proposal.
|
| void | RemoveProtocol (struct Protocol *protocol, struct Proposal *prop) |
| | Removes a protocol from proposals list.
|
| void | DeleteProtocol (struct Protocol *protocol) |
| | Free a protocol with transforms.
|
| int | AddTransform (struct Protocol *protocol, uint8_t type, uint16_t id, uint16_t keyLen) |
| | Add a transform to a protocol.
|
| void | RemoveTransform (struct Transform *trans, struct Protocol *protocol) |
| | Remova transform.
|
| uint16_t | GetTransformID (uint8_t type, uint8_t protocol, struct Protocol *list) |
| | Get a transform id for a given transform typa and protocol.
|
| uint16_t | GetTransformKeyLen (uint8_t type, uint8_t protocol, struct Protocol *list) |
| | Get a transform key length for a given transform type and protocol.
|
| int | CheckNeededTransforms (struct Proposal *prop) |
| | Check for required transform types.
|
| Proposal * | FindFirstSupportedProposal (struct Proposal *prop, struct Proposal *list) |
| | Find a supported proposal, if there is any.
|
| int | CmpProposal (struct Proposal *p1, struct Proposal *p2) |
| | Compare two proposals.
|
| Proposal * | FindProposal (struct Proposal *prop, struct Proposal *list) |
| | Find proposal in proposal list.
|