summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_key_schedule.c
diff options
context:
space:
mode:
authortb <>2023-12-15 13:33:10 +0000
committertb <>2023-12-15 13:33:10 +0000
commit91f0929d2c7ad1ec24ae9123ef2be5e7c5787ac1 (patch)
treee0584621de6e2cb27a3101e4eb6ac7acf12dc8c1 /src/lib/libssl/tls13_key_schedule.c
parentdc811119bba0ac592a81d974de7ca51069887396 (diff)
downloadopenbsd-91f0929d2c7ad1ec24ae9123ef2be5e7c5787ac1.tar.gz
openbsd-91f0929d2c7ad1ec24ae9123ef2be5e7c5787ac1.tar.bz2
openbsd-91f0929d2c7ad1ec24ae9123ef2be5e7c5787ac1.zip
Document EVP_Cipher() in code
EVP_Cipher() is an implementation detail of EVP_Cipher{Update,Final}(). Behavior depends on EVP_CIPH_FLAG_CUSTOM_CIPHER being set on ctx->cipher. If the flag is set, do_cipher() operates in update mode if in != NULL and in final mode if in == NULL. It returns the number of bytes written to out (which may be 0) or -1 on error. If the flag is not set, do_cipher() assumes properly aligned data and that padding is handled correctly by the caller. Most do_cipher() methods will silently produce garbage and succeed. Returns 1 on success, 0 on error. ok jsing
Diffstat (limited to 'src/lib/libssl/tls13_key_schedule.c')
0 files changed, 0 insertions, 0 deletions