summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* lib: RSAPub: add `Encrypt`siddharth ravikumar2022-08-141-0/+11
|
* lib: add `RSAGenKey`siddharth ravikumar2022-08-142-0/+113
|
* lib: update TestInvModsiddharth ravikumar2022-08-141-0/+26
| | | | Add new tests.
* lib: add invmodsiddharth ravikumar2022-08-112-0/+59
|
* lib: add egcdsiddharth ravikumar2022-08-112-0/+117
|
* lib: `SRPUser`: add Identsiddharth ravikumar2022-07-231-0/+4
|
* lib: `SRPUser`: add ComputeVerifiersiddharth ravikumar2022-07-231-6/+11
| | | | Move verifier computation to its own function.
* 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.