equal
deleted
inserted
replaced
42 virtual void GenerateBytesL(TDes8& aDest); |
42 virtual void GenerateBytesL(TDes8& aDest); |
43 |
43 |
44 private: |
44 private: |
45 CRandomShim(); |
45 CRandomShim(); |
46 CRandomShim(const CRandomShim&); |
46 CRandomShim(const CRandomShim&); |
47 CRandomShim& operator=(const CRandomShim&); |
47 CRandomShim& operator=(const CRandomShim&); |
48 void ConstructL(); |
48 void ConstructL(); |
49 |
49 |
50 private: |
50 private: |
51 CryptoSpi::CRandom* iRandomImpl; |
51 CryptoSpi::CRandom* iRandomImpl; |
52 }; |
52 }; |
54 class TRandomShim |
54 class TRandomShim |
55 { |
55 { |
56 public: |
56 public: |
57 static void Random(TDes8& aDestination); |
57 static void Random(TDes8& aDestination); |
58 static void RandomL(TDes8& aDestination); |
58 static void RandomL(TDes8& aDestination); |
|
59 static void SecureRandomL(TDes8& aDestination); |
59 }; |
60 }; |
60 |
61 |
61 #endif // __RANDOMSHIM_H__ |
62 #endif // __RANDOMSHIM_H__ |