aboutsummaryrefslogtreecommitdiffstats
path: root/src/crypto
Commit message (Expand)AuthorAgeFilesLines
* [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
* [libc] Replace linker_assert() with build_assert()Michael Brown2024-01-166-38/+38
* [crypto] Add support for PKCS#8 private key formatMichael Brown2023-06-022-1/+44
* [rng] Allow for entropy sources that fail during startup testsMichael Brown2023-02-201-122/+227
* [rng] Allow entropy source to be selected at runtimeMichael Brown2023-02-172-229/+94
* [tls] Add GCM cipher suitesMichael Brown2022-11-104-8/+128
* [crypto] Support in-place decryption for GCM ciphersMichael Brown2022-11-101-34/+32
* [crypto] Ensure relevant GCM cipher state is cleared by cipher_setiv()Michael Brown2022-11-091-7/+13
* [tls] Allow handshake digest algorithm to be specified by cipher suiteMichael Brown2022-11-092-0/+9
* [tls] Add MAC length as a cipher suite parameterMichael Brown2022-11-082-0/+8
* [crypto] Add concept of cipher alignment sizeMichael Brown2022-11-073-0/+3
* [tls] Formalise notions of fixed and record initialisation vectorsMichael Brown2022-11-072-0/+16