summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bytestring/bytestring.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/bytestring/bytestring.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bytestring/bytestring.h b/src/lib/libcrypto/bytestring/bytestring.h
index 54d8f54ce2..d8ef8ffdd2 100644
--- a/src/lib/libcrypto/bytestring/bytestring.h
+++ b/src/lib/libcrypto/bytestring/bytestring.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: bytestring.h,v 1.2 2021/12/15 18:02:39 jsing Exp $ */ 1/* $OpenBSD: bytestring.h,v 1.3 2022/01/06 14:32:55 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2014, Google Inc. 3 * Copyright (c) 2014, Google Inc.
4 * 4 *
@@ -509,6 +509,12 @@ int CBB_add_u24(CBB *cbb, size_t value);
509int CBB_add_u32(CBB *cbb, size_t value); 509int CBB_add_u32(CBB *cbb, size_t value);
510 510
511/* 511/*
512 * CBB_add_u64 appends a 64-bit, big-endian number from |value| to |cbb|. It
513 * returns one on success and zero otherwise.
514 */
515int CBB_add_u64(CBB *cbb, uint64_t value);
516
517/*
512 * CBB_add_asn1_uint64 writes an ASN.1 INTEGER into |cbb| using |CBB_add_asn1| 518 * CBB_add_asn1_uint64 writes an ASN.1 INTEGER into |cbb| using |CBB_add_asn1|
513 * and writes |value| in its contents. It returns one on success and zero on 519 * and writes |value| in its contents. It returns one on success and zero on
514 * error. 520 * error.