| 111 | } |
| 112 | |
| 113 | void setKey(CheckStatusWrapper* status, ICryptKey* key) |
| 114 | { |
| 115 | try |
| 116 | { |
| 117 | unsigned int l; |
| 118 | const void* k = key->getEncryptKey(&l); |
| 119 | en = createCypher(l, k); |
| 120 | |
| 121 | k = key->getDecryptKey(&l); |
| 122 | de = createCypher(l, k); |
| 123 | } |
| 124 | catch (const Exception& ex) |
| 125 | { |
| 126 | ex.stuffException(status); |
| 127 | } |
| 128 | } |
| 129 | |
| 130 | void encrypt(CheckStatusWrapper* status, unsigned int length, const void* from, void* to) |
| 131 | { |
nothing calls this directly
no test coverage detected