CCSDS Space Data Link Security (355.0-B-2)
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

sdls: add TODO for FSR interop via CryptoLib TM path

FSR (Frame Security Report) interop requires:
1. Crypto_Init_TM_Unit_Test() for SA setup
2. A full 1786-byte TM frame matching CryptoLib's config
3. Crypto_TM_ApplySecurity() to produce secured frame
4. Crypto_Get_FSR() to read the 32-bit FSR word

The TM frame must be copied from CryptoLib's own ut_tm_apply.c
HAPPY_PATH_CLEAR_FECF test (3572-char hex literal). Tracked
separately from the TC interop which is already working.

+15 -1
+15 -1
test/interop/cryptolib/scripts/generate.c
··· 303 303 304 304 Crypto_Shutdown(); 305 305 fclose(fp); 306 - printf("Wrote %d vectors to %s\n", n_clear + n_gcm_enc + n_gcm_ae, csv_path); 306 + printf("Wrote %d TC vectors to %s\n", n_clear + n_gcm_enc + n_gcm_ae, csv_path); 307 + 308 + Crypto_Shutdown(); 309 + fclose(fp); 310 + printf("Wrote %d TC vectors to %s\n", n_clear + n_gcm_enc + n_gcm_ae, csv_path); 311 + 312 + Crypto_Shutdown(); 313 + fclose(fp); 314 + printf("Wrote %d TC vectors to %s\n", n_clear + n_gcm_enc + n_gcm_ae, csv_path); 315 + 316 + /* TODO: FSR interop via Crypto_TM_ApplySecurity + Crypto_Get_FSR. 317 + * Requires a full 1786-byte TM frame matching CryptoLib's TM unit 318 + * test config. See ut_tm_apply.c HAPPY_PATH_CLEAR_FECF for the 319 + * frame hex. Tracked separately. */ 320 + 307 321 return 0; 308 322 }