- 6E8E85BFAFE5928021EE613A17D9F7D1BEFE761771E1508141128BE52B52424D380199D14EC42A5B1256373030BC474F3568038DBB2B3DA034715A9D7B61C5D6
+ 7495490C0F9844077D233068C343A993B3FF51BFA3A57EA0743C7B80D6A57956CA90DA58651814362259E2AC3A9A06461527E8ED583D96925A3C024346F83430
smg_comms/src/raw_types.ads
(36 . 6)(36 . 11)
264 -- a. it's C code that should import this, not the other way around.
265 -- b. it needs to be static here.
266 RSA_KEY_OCTETS : constant Positive := 490;
267
268 -- RSA public exponent (e) size in octets
269 -- NB: this should normally match the E_LENGTH_OCTETS in smg_rsa.h
270 -- NOT imported here for the same reason given at RSA_KEY_OCTETS above
271 E_LENGTH_OCTETS : constant Positive := 8;
272
273 -- OAEP constants: defined here as still part of standard spec.
274 -- OAEP package will use those values when using Raw_Types
(68 . 6)(73 . 7)
276 -- raw representations of RSA key components
277 subtype RSA_len is Octets ( 1 .. RSA_KEY_OCTETS);
278 subtype RSA_half is Octets( 1 .. RSA_KEY_OCTETS/2);
279 subtype RSA_e is Octets( 1 .. E_LENGTH_OCTETS);
280
281 -- RSA packets and contained raw messages
282 subtype RSA_Pkt is Octets( 1 .. RSA_PKT_OCTETS );