mbedtls/library
Valerio Setti 4752aac11d x509: enhancement and fixes
- enhance mbedtls_x509write_crt_set_serial(): avoid use of useless
  temporary buffer

- fix mbedtls_x509write_crt_der(): add an extra 0x00 byte at the
  beginning of serial if the MSb of serial is 1, as required from
  ASN.1

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2023-01-12 17:01:44 +01:00
..
.gitignore
aes.c Switch to the new code style 2023-01-11 14:50:10 +01:00
aesni.c Switch to the new code style 2023-01-11 14:50:10 +01:00
aesni.h Switch to the new code style 2023-01-11 14:50:10 +01:00
alignment.h Switch to the new code style 2023-01-11 14:50:10 +01:00
aria.c Switch to the new code style 2023-01-11 14:50:10 +01:00
asn1parse.c Switch to the new code style 2023-01-11 14:50:10 +01:00
asn1write.c Switch to the new code style 2023-01-11 14:50:10 +01:00
base64.c Switch to the new code style 2023-01-11 14:50:10 +01:00
bignum.c Switch to the new code style 2023-01-11 14:50:10 +01:00
bignum_core.c Switch to the new code style 2023-01-11 14:50:10 +01:00
bignum_core.h Switch to the new code style 2023-01-11 14:50:10 +01:00
bignum_mod.c Switch to the new code style 2023-01-11 14:50:10 +01:00
bignum_mod.h Switch to the new code style 2023-01-11 14:50:10 +01:00
bignum_mod_raw.c Switch to the new code style 2023-01-11 14:50:10 +01:00
bignum_mod_raw.h Switch to the new code style 2023-01-11 14:50:10 +01:00
bn_mul.h Switch to the new code style 2023-01-11 14:50:10 +01:00
camellia.c Switch to the new code style 2023-01-11 14:50:10 +01:00
ccm.c Switch to the new code style 2023-01-11 14:50:10 +01:00
chacha20.c Switch to the new code style 2023-01-11 14:50:10 +01:00
chachapoly.c Switch to the new code style 2023-01-11 14:50:10 +01:00
check_crypto_config.h Switch to the new code style 2023-01-11 14:50:10 +01:00
cipher.c Switch to the new code style 2023-01-11 14:50:10 +01:00
cipher_wrap.c Switch to the new code style 2023-01-11 14:50:10 +01:00
cipher_wrap.h Switch to the new code style 2023-01-11 14:50:10 +01:00
cmac.c Switch to the new code style 2023-01-11 14:50:10 +01:00
CMakeLists.txt Bump versions for libmbedcrypto and libmbedtls 2022-12-14 17:04:00 +00:00
common.h Switch to the new code style 2023-01-11 14:50:10 +01:00
constant_time.c Switch to the new code style 2023-01-11 14:50:10 +01:00
constant_time_internal.h Switch to the new code style 2023-01-11 14:50:10 +01:00
constant_time_invasive.h Switch to the new code style 2023-01-11 14:50:10 +01:00
ctr_drbg.c Switch to the new code style 2023-01-11 14:50:10 +01:00
debug.c Switch to the new code style 2023-01-11 14:50:10 +01:00
des.c Switch to the new code style 2023-01-11 14:50:10 +01:00
dhm.c Switch to the new code style 2023-01-11 14:50:10 +01:00
ecdh.c Switch to the new code style 2023-01-11 14:50:10 +01:00
ecdsa.c Switch to the new code style 2023-01-11 14:50:10 +01:00
ecjpake.c Switch to the new code style 2023-01-11 14:50:10 +01:00
ecp.c Switch to the new code style 2023-01-11 14:50:10 +01:00
ecp_curves.c Switch to the new code style 2023-01-11 14:50:10 +01:00
ecp_internal_alt.h Switch to the new code style 2023-01-11 14:50:10 +01:00
ecp_invasive.h Switch to the new code style 2023-01-11 14:50:10 +01:00
entropy.c Switch to the new code style 2023-01-11 14:50:10 +01:00
entropy_poll.c Switch to the new code style 2023-01-11 14:50:10 +01:00
entropy_poll.h Switch to the new code style 2023-01-11 14:50:10 +01:00
gcm.c Switch to the new code style 2023-01-11 14:50:10 +01:00
hash_info.c Switch to the new code style 2023-01-11 14:50:10 +01:00
hash_info.h Switch to the new code style 2023-01-11 14:50:10 +01:00
hkdf.c Switch to the new code style 2023-01-11 14:50:10 +01:00
hmac_drbg.c Switch to the new code style 2023-01-11 14:50:10 +01:00
lmots.c Switch to the new code style 2023-01-11 14:50:10 +01:00
lmots.h Switch to the new code style 2023-01-11 14:50:10 +01:00
lms.c Switch to the new code style 2023-01-11 14:50:10 +01:00
Makefile Bump versions for libmbedcrypto and libmbedtls 2022-12-14 17:04:00 +00:00
md.c Switch to the new code style 2023-01-11 14:50:10 +01:00
md5.c Switch to the new code style 2023-01-11 14:50:10 +01:00
md_wrap.h Switch to the new code style 2023-01-11 14:50:10 +01:00
memory_buffer_alloc.c Switch to the new code style 2023-01-11 14:50:10 +01:00
mps_common.h Switch to the new code style 2023-01-11 14:50:10 +01:00
mps_error.h Switch to the new code style 2023-01-11 14:50:10 +01:00
mps_reader.c Switch to the new code style 2023-01-11 14:50:10 +01:00
mps_reader.h Switch to the new code style 2023-01-11 14:50:10 +01:00
mps_trace.c Switch to the new code style 2023-01-11 14:50:10 +01:00
mps_trace.h Switch to the new code style 2023-01-11 14:50:10 +01:00
net_sockets.c Switch to the new code style 2023-01-11 14:50:10 +01:00
nist_kw.c Switch to the new code style 2023-01-11 14:50:10 +01:00
oid.c Switch to the new code style 2023-01-11 14:50:10 +01:00
padlock.c Switch to the new code style 2023-01-11 14:50:10 +01:00
padlock.h Switch to the new code style 2023-01-11 14:50:10 +01:00
pem.c Switch to the new code style 2023-01-11 14:50:10 +01:00
pk.c Switch to the new code style 2023-01-11 14:50:10 +01:00
pk_wrap.c Switch to the new code style 2023-01-11 14:50:10 +01:00
pk_wrap.h Switch to the new code style 2023-01-11 14:50:10 +01:00
pkcs5.c Switch to the new code style 2023-01-11 14:50:10 +01:00
pkcs7.c Switch to the new code style 2023-01-11 14:50:10 +01:00
pkcs12.c Switch to the new code style 2023-01-11 14:50:10 +01:00
pkparse.c Switch to the new code style 2023-01-11 14:50:10 +01:00
pkwrite.c Switch to the new code style 2023-01-11 14:50:10 +01:00
pkwrite.h Switch to the new code style 2023-01-11 14:50:10 +01:00
platform.c Switch to the new code style 2023-01-11 14:50:10 +01:00
platform_util.c Switch to the new code style 2023-01-11 14:50:10 +01:00
poly1305.c Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto.c Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_aead.c Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_aead.h Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_cipher.c Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_cipher.h Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_client.c Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_core.h Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_driver_wrappers.h Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_ecp.c Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_ecp.h Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_hash.c Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_hash.h Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_invasive.h Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_its.h Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_mac.c Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_mac.h Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_pake.c Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_random_impl.h Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_rsa.c Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_rsa.h Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_se.c Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_se.h Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_slot_management.c Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_slot_management.h Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_storage.c Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_storage.h Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_its_file.c Switch to the new code style 2023-01-11 14:50:10 +01:00
ripemd160.c Switch to the new code style 2023-01-11 14:50:10 +01:00
rsa.c Switch to the new code style 2023-01-11 14:50:10 +01:00
rsa_alt_helpers.c Switch to the new code style 2023-01-11 14:50:10 +01:00
rsa_alt_helpers.h Switch to the new code style 2023-01-11 14:50:10 +01:00
sha1.c Switch to the new code style 2023-01-11 14:50:10 +01:00
sha256.c Switch to the new code style 2023-01-11 14:50:10 +01:00
sha512.c Switch to the new code style 2023-01-11 14:50:10 +01:00
ssl_cache.c Switch to the new code style 2023-01-11 14:50:10 +01:00
ssl_ciphersuites.c Switch to the new code style 2023-01-11 14:50:10 +01:00
ssl_client.c Switch to the new code style 2023-01-11 14:50:10 +01:00
ssl_client.h Switch to the new code style 2023-01-11 14:50:10 +01:00
ssl_cookie.c Switch to the new code style 2023-01-11 14:50:10 +01:00
ssl_debug_helpers.h Switch to the new code style 2023-01-11 14:50:10 +01:00
ssl_misc.h Switch to the new code style 2023-01-11 14:50:10 +01:00
ssl_msg.c Switch to the new code style 2023-01-11 14:50:10 +01:00
ssl_ticket.c Switch to the new code style 2023-01-11 14:50:10 +01:00
ssl_tls.c Switch to the new code style 2023-01-11 14:50:10 +01:00
ssl_tls12_client.c Switch to the new code style 2023-01-11 14:50:10 +01:00
ssl_tls12_server.c Switch to the new code style 2023-01-11 14:50:10 +01:00
ssl_tls13_client.c Switch to the new code style 2023-01-11 14:50:10 +01:00
ssl_tls13_generic.c Switch to the new code style 2023-01-11 14:50:10 +01:00
ssl_tls13_invasive.h Switch to the new code style 2023-01-11 14:50:10 +01:00
ssl_tls13_keys.c Switch to the new code style 2023-01-11 14:50:10 +01:00
ssl_tls13_keys.h Switch to the new code style 2023-01-11 14:50:10 +01:00
ssl_tls13_server.c Switch to the new code style 2023-01-11 14:50:10 +01:00
threading.c Switch to the new code style 2023-01-11 14:50:10 +01:00
timing.c Switch to the new code style 2023-01-11 14:50:10 +01:00
version.c Switch to the new code style 2023-01-11 14:50:10 +01:00
x509.c Switch to the new code style 2023-01-11 14:50:10 +01:00
x509_create.c Switch to the new code style 2023-01-11 14:50:10 +01:00
x509_crl.c Switch to the new code style 2023-01-11 14:50:10 +01:00
x509_crt.c Switch to the new code style 2023-01-11 14:50:10 +01:00
x509_csr.c Switch to the new code style 2023-01-11 14:50:10 +01:00
x509write_crt.c x509: enhancement and fixes 2023-01-12 17:01:44 +01:00
x509write_csr.c Switch to the new code style 2023-01-11 14:50:10 +01:00