src/cryptotech.h
changeset 48 9ff5d2dfa75a
parent 28 7fc9fc3e680c
child 62 ad5e484720e1
     1.1 --- a/src/cryptotech.h	Mon Jan 26 13:11:40 2015 +0100
     1.2 +++ b/src/cryptotech.h	Sun Feb 08 11:33:04 2015 -0500
     1.3 @@ -13,38 +13,38 @@
     1.4  } PEP_cryptotech;
     1.5  
     1.6  typedef PEP_STATUS (*decrypt_and_verify_t)(
     1.7 -    PEP_SESSION session, const char *ctext, size_t csize,
     1.8 -    char **ptext, size_t *psize, stringlist_t **keylist
     1.9 +        PEP_SESSION session, const char *ctext, size_t csize,
    1.10 +        char **ptext, size_t *psize, stringlist_t **keylist
    1.11      );
    1.12  
    1.13  typedef PEP_STATUS (*verify_text_t)(
    1.14 -    PEP_SESSION session, const char *text, size_t size,
    1.15 -    const char *signature, size_t sig_size, stringlist_t **keylist
    1.16 +        PEP_SESSION session, const char *text, size_t size,
    1.17 +        const char *signature, size_t sig_size, stringlist_t **keylist
    1.18      );
    1.19  
    1.20  typedef PEP_STATUS (*encrypt_and_sign_t)(
    1.21 -    PEP_SESSION session, const stringlist_t *keylist, const char *ptext,
    1.22 -    size_t psize, char **ctext, size_t *csize
    1.23 +        PEP_SESSION session, const stringlist_t *keylist, const char *ptext,
    1.24 +        size_t psize, char **ctext, size_t *csize
    1.25      );
    1.26  
    1.27  typedef PEP_STATUS (*delete_keypair_t)(PEP_SESSION session, const char *fpr);
    1.28  
    1.29  typedef PEP_STATUS (*export_key_t)(
    1.30 -    PEP_SESSION session, const char *fpr, char **key_data, size_t *size
    1.31 +        PEP_SESSION session, const char *fpr, char **key_data, size_t *size
    1.32      );
    1.33  
    1.34  typedef PEP_STATUS (*find_keys_t)(
    1.35 -    PEP_SESSION session, const char *pattern, stringlist_t **keylist
    1.36 +        PEP_SESSION session, const char *pattern, stringlist_t **keylist
    1.37      );
    1.38  
    1.39  typedef PEP_STATUS (*generate_keypair_t)(
    1.40 -    PEP_SESSION session, pEp_identity *identity
    1.41 +        PEP_SESSION session, pEp_identity *identity
    1.42      );
    1.43  
    1.44  typedef PEP_STATUS (*get_key_rating_t)(
    1.45 -    PEP_SESSION session,
    1.46 -    const char *fpr,
    1.47 -    PEP_comm_type *comm_type
    1.48 +        PEP_SESSION session,
    1.49 +        const char *fpr,
    1.50 +        PEP_comm_type *comm_type
    1.51      );
    1.52  
    1.53  typedef PEP_STATUS (*import_key_t)(PEP_SESSION session, const char *key_data, size_t size);