summaryrefslogtreecommitdiff
path: root/src/lib/libssl/bytestring.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libssl/bytestring.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libssl/bytestring.h b/src/lib/libssl/bytestring.h
index 4ab2828d09..fa5e05fa27 100644
--- a/src/lib/libssl/bytestring.h
+++ b/src/lib/libssl/bytestring.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: bytestring.h,v 1.20 2021/12/15 17:23:34 jsing Exp $ */ 1/* $OpenBSD: bytestring.h,v 1.21 2021/12/15 17:30:20 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2014, Google Inc. 3 * Copyright (c) 2014, Google Inc.
4 * 4 *
@@ -134,6 +134,12 @@ int CBS_get_u24(CBS *cbs, uint32_t *out);
134int CBS_get_u32(CBS *cbs, uint32_t *out); 134int CBS_get_u32(CBS *cbs, uint32_t *out);
135 135
136/* 136/*
137 * CBS_get_u64 sets |*out| to the next, big-endian uint64_t value from |cbs|
138 * and advances |cbs|. It returns one on success and zero on error.
139 */
140int CBS_get_u64(CBS *cbs, uint64_t *out);
141
142/*
137 * CBS_get_last_u8 sets |*out| to the last uint8_t from |cbs| and shortens 143 * CBS_get_last_u8 sets |*out| to the last uint8_t from |cbs| and shortens
138 * |cbs|. It returns one on success and zero on error. 144 * |cbs|. It returns one on success and zero on error.
139 */ 145 */