crypto: Remove now-unused crypto_cursor_seg{base,len}.
Callers should use crypto_cursor_segment() instead. Reviewed by: markj Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D30448
This commit is contained in:
parent
9b876fbd50
commit
8fa5c577de
@ -40,6 +40,10 @@
|
|||||||
# xargs -n1 | sort | uniq -d;
|
# xargs -n1 | sort | uniq -d;
|
||||||
# done
|
# done
|
||||||
|
|
||||||
|
# 20210616: Remove crypto_cursor_seg{base,len}
|
||||||
|
OLD_FILES+=usr/share/man/man9/crypto_cursor_segbase.9.gz
|
||||||
|
OLD_FILES+=usr/share/man/man9/crypto_cursor_seglen.9.gz
|
||||||
|
|
||||||
# 20210613: new clang import which bumps version from 11.0.1 to 12.0.0.
|
# 20210613: new clang import which bumps version from 11.0.1 to 12.0.0.
|
||||||
OLD_FILES+=usr/lib/clang/11.0.1/include/cuda_wrappers/algorithm
|
OLD_FILES+=usr/lib/clang/11.0.1/include/cuda_wrappers/algorithm
|
||||||
OLD_FILES+=usr/lib/clang/11.0.1/include/cuda_wrappers/complex
|
OLD_FILES+=usr/lib/clang/11.0.1/include/cuda_wrappers/complex
|
||||||
|
@ -924,8 +924,6 @@ MLINKS+=crypto_buffer.9 crypto_apply.9 \
|
|||||||
crypto_buffer.9 crypto_cursor_copyback.9 \
|
crypto_buffer.9 crypto_cursor_copyback.9 \
|
||||||
crypto_buffer.9 crypto_cursor_copydata.9 \
|
crypto_buffer.9 crypto_cursor_copydata.9 \
|
||||||
crypto_buffer.9 crypto_cursor_copydata_noadv.9 \
|
crypto_buffer.9 crypto_cursor_copydata_noadv.9 \
|
||||||
crypto_buffer.9 crypto_cursor_segbase.9 \
|
|
||||||
crypto_buffer.9 crypto_cursor_seglen.9 \
|
|
||||||
crypto_buffer.9 crypto_cursor_segment.9 \
|
crypto_buffer.9 crypto_cursor_segment.9 \
|
||||||
crypto_buffer.9 CRYPTO_HAS_OUTPUT_BUFFER.9
|
crypto_buffer.9 CRYPTO_HAS_OUTPUT_BUFFER.9
|
||||||
MLINKS+=crypto_driver.9 crypto_copyback.9 \
|
MLINKS+=crypto_driver.9 crypto_copyback.9 \
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd May 25, 2021
|
.Dd June 16, 2021
|
||||||
.Dt CRYPTO_BUFFER 9
|
.Dt CRYPTO_BUFFER 9
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -95,10 +95,6 @@
|
|||||||
.Fc
|
.Fc
|
||||||
.Ft void *
|
.Ft void *
|
||||||
.Fn crypto_cursor_segment "struct crypto_buffer_cursor *cc" "size_t *len"
|
.Fn crypto_cursor_segment "struct crypto_buffer_cursor *cc" "size_t *len"
|
||||||
.Ft void *
|
|
||||||
.Fn crypto_cursor_segbase "struct crypto_buffer_cursor *cc"
|
|
||||||
.Ft size_t
|
|
||||||
.Fn crypto_cursor_seglen "struct crypto_buffer_cursor *cc"
|
|
||||||
.Ft bool
|
.Ft bool
|
||||||
.Fn CRYPTO_HAS_OUTPUT_BUFFER "struct cryptop *crp"
|
.Fn CRYPTO_HAS_OUTPUT_BUFFER "struct cryptop *crp"
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
@ -300,13 +296,6 @@ returns the start of the virtually-contiguous segment at the current position of
|
|||||||
.Fa cc .
|
.Fa cc .
|
||||||
The length of the segment is stored in
|
The length of the segment is stored in
|
||||||
.Fa len .
|
.Fa len .
|
||||||
.Pp
|
|
||||||
.Fn crypto_cursor_segbase
|
|
||||||
and
|
|
||||||
.Fn crypto_cursor_seglen
|
|
||||||
return the start and length, respectively,
|
|
||||||
of the virtually-contiguous segment at the current position of
|
|
||||||
.Fa cc .
|
|
||||||
.Sh RETURN VALUES
|
.Sh RETURN VALUES
|
||||||
.Fn crypto_apply
|
.Fn crypto_apply
|
||||||
and
|
and
|
||||||
@ -315,7 +304,6 @@ return the return value from the caller-supplied callback function.
|
|||||||
.Pp
|
.Pp
|
||||||
.Fn crypto_buffer_contiguous_subsegment ,
|
.Fn crypto_buffer_contiguous_subsegment ,
|
||||||
.Fn crypto_contiguous_subsegment ,
|
.Fn crypto_contiguous_subsegment ,
|
||||||
.Fn crypto_cursor_segbase ,
|
|
||||||
and
|
and
|
||||||
.Fn crypto_cursor_segment
|
.Fn crypto_cursor_segment
|
||||||
return a pointer to a contiguous segment or
|
return a pointer to a contiguous segment or
|
||||||
|
@ -433,23 +433,6 @@ crypto_cursor_segment(struct crypto_buffer_cursor *cc, size_t *len)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void *
|
|
||||||
crypto_cursor_segbase(struct crypto_buffer_cursor *cc)
|
|
||||||
{
|
|
||||||
size_t len;
|
|
||||||
|
|
||||||
return (crypto_cursor_segment(cc, &len));
|
|
||||||
}
|
|
||||||
|
|
||||||
size_t
|
|
||||||
crypto_cursor_seglen(struct crypto_buffer_cursor *cc)
|
|
||||||
{
|
|
||||||
size_t len;
|
|
||||||
|
|
||||||
crypto_cursor_segment(cc, &len);
|
|
||||||
return (len);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
crypto_cursor_copyback(struct crypto_buffer_cursor *cc, int size,
|
crypto_cursor_copyback(struct crypto_buffer_cursor *cc, int size,
|
||||||
const void *vsrc)
|
const void *vsrc)
|
||||||
|
@ -662,8 +662,6 @@ void crypto_cursor_init(struct crypto_buffer_cursor *cc,
|
|||||||
const struct crypto_buffer *cb);
|
const struct crypto_buffer *cb);
|
||||||
void crypto_cursor_advance(struct crypto_buffer_cursor *cc, size_t amount);
|
void crypto_cursor_advance(struct crypto_buffer_cursor *cc, size_t amount);
|
||||||
void *crypto_cursor_segment(struct crypto_buffer_cursor *cc, size_t *len);
|
void *crypto_cursor_segment(struct crypto_buffer_cursor *cc, size_t *len);
|
||||||
void *crypto_cursor_segbase(struct crypto_buffer_cursor *cc);
|
|
||||||
size_t crypto_cursor_seglen(struct crypto_buffer_cursor *cc);
|
|
||||||
void crypto_cursor_copyback(struct crypto_buffer_cursor *cc, int size,
|
void crypto_cursor_copyback(struct crypto_buffer_cursor *cc, int size,
|
||||||
const void *vsrc);
|
const void *vsrc);
|
||||||
void crypto_cursor_copydata(struct crypto_buffer_cursor *cc, int size,
|
void crypto_cursor_copydata(struct crypto_buffer_cursor *cc, int size,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user