Searched refs:serial_len (Results 1 – 5 of 5) sorted by relevance
/third_party/mbedtls/library/ |
D | x509write_crt.c | 116 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/ |
D | cert_write.c | 311 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/ |
D | x509_crt.h | 231 size_t MBEDTLS_PRIVATE(serial_len); 966 unsigned char *serial, size_t serial_len);
|
/third_party/node/deps/openssl/openssl/apps/ |
D | ca.c | 2239 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/ |
D | ca.c | 2219 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()
|