Implement a secure ICS protocol targeting LoRa Node151 microcontroller for controlling irrigation.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 
 

19 行
375 B

  1. #include <strobe.h>
  2. #define roundup(x, y) ((((x) + (y) - 1) / (y)) * (y))
  3. typedef uint32_t rng_word_t;
  4. extern const rng_word_t rng_save[roundup(32, sizeof(rng_word_t)) / sizeof(rng_word_t)];
  5. void strobe_rng_init(void);
  6. void strobe_rng_save(void);
  7. static inline void
  8. bare_strobe_randomize(uint8_t *ptr, ssize_t len)
  9. {
  10. int r;
  11. r = strobe_randomize(ptr, len);
  12. (void)r;
  13. }