| 378 | } |
| 379 | |
| 380 | SecByteBlock HexDecodeString(const char *hex) |
| 381 | { |
| 382 | StringSource ss(hex, true, new HexDecoder); |
| 383 | SecByteBlock result((size_t)ss.MaxRetrievable()); |
| 384 | ss.Get(result, result.size()); |
| 385 | return result; |
| 386 | } |
| 387 | |
| 388 | void GenerateRSAKey(unsigned int keyLength, const char *privFilename, const char *pubFilename, const char *seed) |
| 389 | { |
no test coverage detected