Mercurial > vim
comparison src/proto/crypt.pro @ 27231:e1cedf009920 v8.2.4144
patch 8.2.4144: cannot load libsodium dynamically
Commit: https://github.com/vim/vim/commit/1a8825d7a3484d76ca16ea2aa9769cadca7758a4
Author: K.Takata <kentkt@csc.jp>
Date: Wed Jan 19 13:32:57 2022 +0000
patch 8.2.4144: cannot load libsodium dynamically
Problem: Cannot load libsodium dynamically.
Solution: Support dynamic loading on MS-Windows. (Ken Takata, closes https://github.com/vim/vim/issues/9554)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 19 Jan 2022 14:45:05 +0100 |
parents | 85d1e82ed134 |
children | a077948be0f4 |
comparison
equal
deleted
inserted
replaced
27230:c405d50702b1 | 27231:e1cedf009920 |
---|---|
24 char_u *crypt_get_key(int store, int twice); | 24 char_u *crypt_get_key(int store, int twice); |
25 void crypt_append_msg(buf_T *buf); | 25 void crypt_append_msg(buf_T *buf); |
26 int crypt_sodium_init(cryptstate_T *state, char_u *key, char_u *salt, int salt_len, char_u *seed, int seed_len); | 26 int crypt_sodium_init(cryptstate_T *state, char_u *key, char_u *salt, int salt_len, char_u *seed, int seed_len); |
27 long crypt_sodium_buffer_encode(cryptstate_T *state, char_u *from, size_t len, char_u **buf_out, int last); | 27 long crypt_sodium_buffer_encode(cryptstate_T *state, char_u *from, size_t len, char_u **buf_out, int last); |
28 long crypt_sodium_buffer_decode(cryptstate_T *state, char_u *from, size_t len, char_u **buf_out, int last); | 28 long crypt_sodium_buffer_decode(cryptstate_T *state, char_u *from, size_t len, char_u **buf_out, int last); |
29 int crypt_sodium_munlock(void *const addr, const size_t len); | |
30 void crypt_sodium_randombytes_buf(void *const buf, const size_t size); | |
29 /* vim: set ft=c : */ | 31 /* vim: set ft=c : */ |