summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* lib: srp: SRPUser: add `GetScramblingParam`siddharth ravikumar2022-06-301-0/+4
|
* lib: srp: update session key macsiddharth ravikumar2022-06-291-2/+5
| | | | Use `HmacSha256`.
* lib: add handling for simplified srpsiddharth ravikumar2022-06-122-0/+176
|
* lib: bastardize srp implementationsiddharth ravikumar2022-05-301-10/+0
| | | | So that it can be exploited by the zero key attack (challenge 37).
* lib: srp: add SRPClientSession.SetSessionKeysiddharth ravikumar2022-05-301-0/+4
|
* update name in copyrightsiddharth ravikumar2022-05-2327-27/+27
| | | | Use full name.
* challenge: finish challenge 36v0.36.0siddharth2022-05-141-20/+0
|
* challeng: c36: implement logoutsiddharth2022-05-141-0/+3
|
* lib: SRPClient: add news functionssiddharth2022-05-141-0/+29
| | | | To set and get unexoposed fields.
* lib: SRPUser: add news functionssiddharth2022-05-141-0/+16
| | | | To set and get unexoposed fields.
* lib: SRPServer: add GetUsersiddharth2022-05-141-0/+9
|
* lib: srp: update SRPClientSessionsiddharth2022-05-141-0/+2
| | | | Add `loggedIn` field.
* lib: srp: update SRPUsersiddharth2022-05-141-0/+2
| | | | Add `loggedIn` field.
* lib: update SRPClientsiddharth2022-04-301-1/+1
| | | | Change session -> Session and make it pointer type.
* lib: add SRPServer.RegisterUsersiddharth2022-04-302-1/+60
|
* lib: add srp mac verification functionssiddharth2022-04-162-0/+27
|
* lib: add srp session key functionssiddharth2022-04-112-0/+164
|
* lib: add srp scrambling parameter functionssiddharth2022-04-102-0/+124
|
* lib: add srp ephemeral functionssiddharth2022-04-102-0/+117
|
* lib: add NewSRPClientSessionsiddharth2022-04-092-0/+79
|
* lib: flesh out SRPUsersiddharth2022-04-062-0/+202
|
* lib: add HmacSha256siddharth2022-03-292-0/+70
|
* lib: add sha256 implementationsiddharth2022-03-052-0/+223
|
* lib: sha1MessageBlocks -> shaMessageBlockssiddharth2022-03-051-2/+2
|
* lib: add shaStrsiddharth2022-03-052-0/+21
|
* lib: add test for `sha1('')`siddharth2022-01-211-0/+9
|
* lib: add StrToNumsiddharth2022-01-172-0/+70
|
* lib: implement diffie-hellmansiddharth2021-11-212-0/+77
|
* copyright: rsiddharth -> siddharthsiddharth2021-11-2019-19/+19
|
* lib: add Sleepsiddharth2021-10-161-0/+5
|
* lib: fix HexStrToBytessiddharth2021-10-161-1/+1
|
* lib: add HmacSha1siddharth2021-10-122-0/+116
|
* lib: move around MDPaddingsiddharth2021-10-121-42/+42
|
* lib: add BytesToUint32sLittleEndiansiddharth2021-10-111-0/+22
|
* lib: add Mac and MacVerify for md4siddharth2021-10-112-0/+33
|
* lib: md4Padding -> Md4Paddingsiddharth2021-10-111-2/+2
|
* lib: implement md4siddharth2021-10-102-0/+311
|
* Revert "lib: move common hashing functions to hash.go"siddharth2021-10-102-68/+67
| | | | This reverts commit 15e142c3f12fd9228b69bcaf4a2703c9d8205d59.
* lib: move sha arithmetic functions to hash.gosiddharth2021-10-102-27/+27
|
* lib: sha_test: reformat import statementsiddharth2021-10-101-3/+1
|
* lib: add test for sha1siddharth2021-10-101-0/+46
|
* lib: move common hashing functions to hash.gosiddharth2021-10-102-67/+72
|
* lib: update HexStrToAsciiStrsiddharth2021-10-101-2/+2
| | | | Convert uint16 to byte before converting it to a string.
* lib: refactor sha1 padding and hashingsiddharth2021-10-091-20/+30
| | | | | Refactor so that the Sha1 message length can be fudged before the message is hashed; for use in challenge 29.
* lib: update sha1Padsiddharth2021-10-091-32/+2
| | | | Use MDPadding for padding the message.
* lib: add MPPaddingsiddharth2021-10-091-0/+41
|
* lib: add BytesToUint32ssiddharth2021-10-091-0/+22
|
* lib: refactor sha1 implementationsiddharth2021-10-091-7/+23
| | | | Add ability to set initial hash values for Sha1
* lib: Sha1MacVerifysiddharth2021-10-051-0/+6
|
* lib: add Sha1Macsiddharth2021-10-051-0/+5
|