| 13 | #endif |
| 14 | |
| 15 | GCMParser::GCMParser(uint8_t *encryption_key, uint8_t *authentication_key) { |
| 16 | memcpy(this->encryption_key, encryption_key, 16); |
| 17 | memcpy(this->authentication_key, authentication_key, 16); |
| 18 | } |
| 19 | |
| 20 | int8_t GCMParser::parse(uint8_t *d, DataParserContext &ctx, bool hastag) { |
| 21 | if(ctx.length < 12) return DATA_PARSE_INCOMPLETE; |
nothing calls this directly
no outgoing calls
no test coverage detected