security in hw/sw co-design