Home
last modified time | relevance | path

Searched refs:serial_len (Results 1 – 5 of 5) sorted by relevance

/third_party/mbedtls/library/
Dx509write_crt.c116 ctx->serial_len = tmp_len; in mbedtls_x509write_crt_set_serial()
128 unsigned char *serial, size_t serial_len) in mbedtls_x509write_crt_set_serial_raw() argument
130 if (serial_len > MBEDTLS_X509_RFC5280_MAX_SERIAL_LEN) { in mbedtls_x509write_crt_set_serial_raw()
134 ctx->serial_len = serial_len; in mbedtls_x509write_crt_set_serial_raw()
135 memcpy(ctx->serial, serial, serial_len); in mbedtls_x509write_crt_set_serial_raw()
544 ctx->serial, ctx->serial_len)); in mbedtls_x509write_crt_der()
552 ctx->serial_len + 1)); in mbedtls_x509write_crt_der()
555 ctx->serial_len)); in mbedtls_x509write_crt_der()
/third_party/mbedtls/programs/x509/
Dcert_write.c311 size_t serial_len; in main() local
588 opt.serial_hex, &serial_len); in main()
591 opt.serial, &serial_len); in main()
739 ret = mbedtls_x509write_crt_set_serial_raw(&crt, serial, serial_len); in main()
/third_party/mbedtls/include/mbedtls/
Dx509_crt.h231 size_t MBEDTLS_PRIVATE(serial_len);
966 unsigned char *serial, size_t serial_len);
/third_party/node/deps/openssl/openssl/apps/
Dca.c2239 size_t serial_len = strlen(serial); in get_certificate_status() local
2246 row[DB_serial] = app_malloc(serial_len + 2, "row serial#"); in get_certificate_status()
2248 if (serial_len % 2) { in get_certificate_status()
2255 memcpy(row[DB_serial] + 1, serial, serial_len); in get_certificate_status()
2256 row[DB_serial][serial_len + 1] = '\0'; in get_certificate_status()
2259 memcpy(row[DB_serial], serial, serial_len); in get_certificate_status()
2260 row[DB_serial][serial_len] = '\0'; in get_certificate_status()
/third_party/openssl/apps/
Dca.c2219 size_t serial_len = strlen(serial); in get_certificate_status() local
2226 row[DB_serial] = app_malloc(serial_len + 2, "row serial#"); in get_certificate_status()
2228 if (serial_len % 2) { in get_certificate_status()
2235 memcpy(row[DB_serial] + 1, serial, serial_len); in get_certificate_status()
2236 row[DB_serial][serial_len + 1] = '\0'; in get_certificate_status()
2239 memcpy(row[DB_serial], serial, serial_len); in get_certificate_status()
2240 row[DB_serial][serial_len] = '\0'; in get_certificate_status()