Implement a secure ICS protocol targeting LoRa Node151 microcontroller for controlling irrigation.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
230 B

  1. #include <strobe.h>
  2. #define roundup(x, y) ((((x) + (y) - 1) / (y)) * (y))
  3. typedef uint32_t rng_word_t;
  4. static inline void
  5. bare_strobe_randomize(uint8_t *ptr, ssize_t len)
  6. {
  7. int r;
  8. r = strobe_randomize(ptr, len);
  9. (void)r;
  10. }