rename to avoid symbol conflict with musl
This commit is contained in:
parent
b25c9398b7
commit
3249687b2a
@ -90,7 +90,7 @@ derive_key (const void *key_material,
|
||||
* @param[out] res_size size of the ciphertext
|
||||
*/
|
||||
static void
|
||||
encrypt (const struct NonceP *nonce,
|
||||
contract_encrypt (const struct NonceP *nonce,
|
||||
const void *key,
|
||||
size_t key_len,
|
||||
const void *data,
|
||||
@ -134,7 +134,7 @@ encrypt (const struct NonceP *nonce,
|
||||
* @return #GNUNET_OK on success
|
||||
*/
|
||||
static enum GNUNET_GenericReturnValue
|
||||
decrypt (const void *key,
|
||||
contract_decrypt (const void *key,
|
||||
size_t key_len,
|
||||
const void *data,
|
||||
size_t data_size,
|
||||
@ -251,7 +251,7 @@ TALER_CRYPTO_contract_encrypt_for_merge (
|
||||
GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_NONCE,
|
||||
&nonce,
|
||||
sizeof (nonce));
|
||||
encrypt (&nonce,
|
||||
contract_encrypt (&nonce,
|
||||
&key,
|
||||
sizeof (key),
|
||||
hdr,
|
||||
@ -289,7 +289,7 @@ TALER_CRYPTO_contract_decrypt_for_merge (
|
||||
return NULL;
|
||||
}
|
||||
if (GNUNET_OK !=
|
||||
decrypt (&key,
|
||||
contract_decrypt (&key,
|
||||
sizeof (key),
|
||||
econtract,
|
||||
econtract_size,
|
||||
|
Loading…
Reference in New Issue
Block a user