| 1 | extern uint CRCTab[256]; |
| 2 | |
| 3 | void CryptData::SetKey13(const char *Password) |
| 4 | { |
| 5 | Key13[0]=Key13[1]=Key13[2]=0; |
| 6 | for (size_t I=0;Password[I]!=0;I++) |
| 7 | { |
| 8 | byte P=Password[I]; |
| 9 | Key13[0]+=P; |
| 10 | Key13[1]^=P; |
| 11 | Key13[2]+=P; |
| 12 | Key13[2]=(byte)rotls(Key13[2],1,8); |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | |
| 17 | void CryptData::SetKey15(const char *Password) |
nothing calls this directly
no outgoing calls
no test coverage detected