mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 10:54:35 +03:00
codebase style improvements for OpenZFS 6459 port
This commit is contained in:
committed by
Brian Behlendorf
parent
ec441a9c53
commit
4ea3f86426
+4
-2
@@ -321,14 +321,16 @@ aes_provider_status(crypto_provider_handle_t provider, uint_t *status)
|
||||
static int
|
||||
aes_encrypt_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism,
|
||||
crypto_key_t *key, crypto_spi_ctx_template_t template,
|
||||
crypto_req_handle_t req) {
|
||||
crypto_req_handle_t req)
|
||||
{
|
||||
return (aes_common_init(ctx, mechanism, key, template, req, B_TRUE));
|
||||
}
|
||||
|
||||
static int
|
||||
aes_decrypt_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism,
|
||||
crypto_key_t *key, crypto_spi_ctx_template_t template,
|
||||
crypto_req_handle_t req) {
|
||||
crypto_req_handle_t req)
|
||||
{
|
||||
return (aes_common_init(ctx, mechanism, key, template, req, B_FALSE));
|
||||
}
|
||||
|
||||
|
||||
@@ -57,6 +57,7 @@ edonr_mod_init(void)
|
||||
}
|
||||
|
||||
int
|
||||
edonr_mod_fini(void) {
|
||||
edonr_mod_fini(void)
|
||||
{
|
||||
return (mod_remove(&modlinkage));
|
||||
}
|
||||
|
||||
@@ -230,7 +230,8 @@ skein_mod_init(void)
|
||||
}
|
||||
|
||||
int
|
||||
skein_mod_fini(void) {
|
||||
skein_mod_fini(void)
|
||||
{
|
||||
int ret;
|
||||
|
||||
if (skein_prov_handle != 0) {
|
||||
|
||||
Reference in New Issue
Block a user