aboutsummaryrefslogtreecommitdiffstats
path: root/src/crypto
Commit message (Expand)AuthorAgeFilesLines
* [crypto] Start up RBG on demand if neededrbgstartMichael Brown4 days1-4/+39
* [crypto] Support direct reduction only for Montgomery constant R^2 mod NMichael Brown8 days2-159/+104
* [crypto] Add definitions and tests for the NIST P-384 elliptic curveMichael Brown2025-01-302-0/+123
* [crypto] Add definitions and tests for the NIST P-256 elliptic curveMichael Brown2025-01-282-0/+114
* [crypto] Add support for Weierstrass elliptic curve point multiplicationMichael Brown2025-01-281-0/+877
* [crypto] Add a generic implementation of a Montgomery ladderMichael Brown2025-01-281-34/+154
* [tls] Allow for NIST elliptic curve point formatsMichael Brown2025-01-212-0/+2
* [crypto] Generalise elliptic curve key exchange to ecdhe_key()Michael Brown2025-01-211-0/+66
* [crypto] Add bigint_ntoa() for transcribing big integersMichael Brown2025-01-201-0/+47
* [crypto] Extract bigint_reduce_supremum() from bigint_mod_exp()Michael Brown2025-01-101-4/+26
* [crypto] Allow for relaxed Montgomery reductionMichael Brown2024-12-181-20/+155
* [crypto] Calculate inverse of modulus on demand in bigint_montgomery()Michael Brown2024-12-161-22/+18
* [crypto] Remove obsolete bigint_mod_multiply()Michael Brown2024-11-281-53/+0
* [crypto] Use Montgomery reduction for modular exponentiationMichael Brown2024-11-283-19/+134
* [crypto] Add bigint_montgomery() to perform Montgomery reductionMichael Brown2024-11-271-0/+77
* [crypto] Eliminate temporary working space for bigint_mod_invert()Michael Brown2024-11-271-22/+41
* [crypto] Eliminate temporary working space for bigint_reduce()Michael Brown2024-11-261-46/+25
* [crypto] Expose carry flag from big integer addition and subtractionMichael Brown2024-11-261-2/+3
* [crypto] Add bigint_msb_is_set() to clarify codeMichael Brown2024-11-202-5/+3
* [crypto] Add bigint_mod_invert() to calculate inverse modulo a power of twoMichael Brown2024-10-211-0/+54
* [crypto] Separate out bigint_reduce() from bigint_mod_multiply()Michael Brown2024-10-151-37/+176
* [crypto] Rename bigint_rol()/bigint_ror() to bigint_shl()/bigint_shr()Michael Brown2024-10-071-8/+8
* [crypto] Eliminate temporary carry space for big integer multiplicationMichael Brown2024-09-272-130/+61
* [crypto] Use constant-time big integer multiplicationMichael Brown2024-09-232-31/+169
* [crypto] Allow cms_decrypt() to be called on unregistered imagesMichael Brown2024-08-291-9/+15
* [crypto] Support decryption of images via CMS envelopesMichael Brown2024-08-291-17/+494
* [crypto] Allow for extraction of ASN.1 algorithm parametersMichael Brown2024-08-283-9/+75
* [crypto] Hold CMS message as a single ASN.1 objectMichael Brown2024-08-231-26/+12
* [crypto] Remove the concept of a public-key algorithm reusable contextMichael Brown2024-08-215-167/+205
* [crypto] Pass asymmetric keys as ASN.1 cursorsMichael Brown2024-08-185-34/+16
* [crypto] Generalise cms_signature to cms_messageMichael Brown2024-08-141-233/+282
* [crypto] Add OID-identified algorithms for AES ciphersMichael Brown2024-08-143-0/+140
* [crypto] Pass image as parameter to CMS functionsMichael Brown2024-08-131-15/+33
* [crypto] Allow passing a NULL certificate store to x509_find() et alMichael Brown2024-08-132-32/+47
* [crypto] Centralise mechanisms for identifying X.509 certificatesMichael Brown2024-08-123-82/+113
* [crypto] Extend asn1_enter() to handle partial object cursorsMichael Brown2024-08-071-9/+37
* [crypto] Clarify ASN.1 cursor invalidation behaviourMichael Brown2024-08-071-8/+21
* [crypto] Do not return an error when skipping the final ASN.1 objectMichael Brown2024-08-071-5/+0
* [build] Fix build failures with random versions of gccgcmassertMichael Brown2024-03-271-11/+15
* [crypto] Add implementation of MS-CHAPv2 authenticationmschapv2Michael Brown2024-02-221-0/+363
* [crypto] Add x509_truncate() to truncate a certificate chainMichael Brown2024-02-141-9/+23
* [build] Fix build failures with older versions of gcccentos7Michael Brown2024-02-101-6/+8
* [crypto] Add implementation of the DES cipherMichael Brown2024-02-071-0/+695
* [tls] Add ECDHE cipher suitesMichael Brown2024-01-3113-12/+253
* [tls] Make key exchange algorithms selectable via build configurationMichael Brown2024-01-308-90/+211
* [crypto] Add X25519 OID-identified algorithm and TLS named curveMichael Brown2024-01-301-0/+45
* [crypto] Add an abstraction of an elliptic curveMichael Brown2024-01-301-0/+31
* [crypto] Check for all-zeros result from X25519 key exchangeMichael Brown2024-01-301-3/+8
* [crypto] Add X25519 key exchange algorithmMichael Brown2024-01-191-0/+808
* [crypto] Add bigint_swap() to conditionally swap big integersMichael Brown2024-01-191-0/+25