- C4D51B3D41CA323C78B1C7A591B002A59FC756A1D895041DD2D3DDF4F2F2FCB60714C65E6A338949D8CE2AC5EF2BCCCB1365C97842E013849707CEFA4E633A4B
+ 1DF6E427D9A484501633259AC37AE404CABD5A7513447CA85DAF349DA205D5F70DEDB59486D1A868561A22FFC02D5E70CB05198C412E7BEEF7F926A5CF6A8A21
smg_comms/src/oaep.ads
(15 . 11)(15 . 9)
38 OAEP_LENGTH_OCTETS : constant := Raw_Types.RSA_KEY_OCTETS;
39 OAEP_LENGTH_BITS : constant := OAEP_LENGTH_OCTETS * 8;
40 OAEP_HALF_OCTETS : constant := OAEP_LENGTH_OCTETS / 2;
41 TMSR_STR : constant String := "TMSR-RSA";
42 TMSR_STR : constant String := Raw_Types.OAEP_R_STR;
43 -- "TMSR-RSA" as unsigned_8 values:
44 TMSR : constant Raw_Types.Octets := (84,77,83,82,45,82,83,65);
45 MAX_LEN_MSG : constant Natural := OAEP_HALF_OCTETS -
46 TMSR_STR'Length - 3;
47 MAX_LEN_MSG : constant := Raw_Types.OAEP_MAX_LEN;
48
49 -- subtypes for OAEP encrypt/decrypt
50 subtype OAEP_Block is Raw_Types.Octets( 1 .. OAEP_LENGTH_OCTETS );