diff options
| author | Greg Hudson <ghudson@mit.edu> | 2011-09-04 22:13:30 +0000 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2011-09-04 22:13:30 +0000 |
| commit | 52739723d8f3f11eb1fd04d03a0c82b34fb1bc79 (patch) | |
| tree | 14b5ec4a305fbb4d47ffd293b9dab46ee55101b7 /src/lib/crypto/builtin | |
| parent | aec99a684778ede490dde3a8d5a837400896f82b (diff) | |
| download | krb5-52739723d8f3f11eb1fd04d03a0c82b34fb1bc79.tar.gz krb5-52739723d8f3f11eb1fd04d03a0c82b34fb1bc79.tar.xz krb5-52739723d8f3f11eb1fd04d03a0c82b34fb1bc79.zip | |
Untabify some files mistakenly created with tabs
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25140 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/crypto/builtin')
| -rw-r--r-- | src/lib/crypto/builtin/enc_provider/camellia.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/crypto/builtin/enc_provider/camellia.c b/src/lib/crypto/builtin/enc_provider/camellia.c index 9a8e491b5..ef51d4421 100644 --- a/src/lib/crypto/builtin/enc_provider/camellia.c +++ b/src/lib/crypto/builtin/enc_provider/camellia.c @@ -81,7 +81,7 @@ xorblock(unsigned char *out, const unsigned char *in) static krb5_error_code krb5int_camellia_encrypt(krb5_key key, const krb5_data *ivec, - krb5_crypto_iov *data, size_t num_data) + krb5_crypto_iov *data, size_t num_data) { unsigned char tmp[BLOCK_SIZE], tmp2[BLOCK_SIZE]; int nblocks = 0, blockno; @@ -96,7 +96,7 @@ krb5int_camellia_encrypt(krb5_key key, const krb5_data *ivec, } if (CACHE(key)->enc_ctx.keybitlen == 0) { if (camellia_enc_key(key->keyblock.contents, key->keyblock.length, - &CACHE(key)->enc_ctx) != camellia_good) + &CACHE(key)->enc_ctx) != camellia_good) abort(); } if (ivec != NULL) @@ -173,7 +173,7 @@ krb5int_camellia_encrypt(krb5_key key, const krb5_data *ivec, static krb5_error_code krb5int_camellia_decrypt(krb5_key key, const krb5_data *ivec, - krb5_crypto_iov *data, size_t num_data) + krb5_crypto_iov *data, size_t num_data) { unsigned char tmp[BLOCK_SIZE], tmp2[BLOCK_SIZE], tmp3[BLOCK_SIZE]; int nblocks = 0, blockno; @@ -189,7 +189,7 @@ krb5int_camellia_decrypt(krb5_key key, const krb5_data *ivec, } if (CACHE(key)->dec_ctx.keybitlen == 0) { if (camellia_dec_key(key->keyblock.contents, key->keyblock.length, - &CACHE(key)->dec_ctx) != camellia_good) + &CACHE(key)->dec_ctx) != camellia_good) abort(); } @@ -271,7 +271,7 @@ krb5int_camellia_decrypt(krb5_key key, const krb5_data *ivec, krb5_error_code krb5int_camellia_cbc_mac(krb5_key key, const krb5_crypto_iov *data, size_t num_data, const krb5_data *iv, - krb5_data *output) + krb5_data *output) { camellia_ctx ctx; unsigned char blockY[BLOCK_SIZE]; @@ -294,7 +294,7 @@ krb5int_camellia_cbc_mac(krb5_key key, const krb5_crypto_iov *data, unsigned char blockB[BLOCK_SIZE]; if (!krb5int_c_iov_get_block(blockB, BLOCK_SIZE, data, num_data, - &iov_state)) + &iov_state)) break; xorblock(blockB, blockY); @@ -310,7 +310,7 @@ krb5int_camellia_cbc_mac(krb5_key key, const krb5_crypto_iov *data, static krb5_error_code camellia_init_state(const krb5_keyblock *key, krb5_keyusage usage, - krb5_data *state) + krb5_data *state) { state->length = 16; state->data = malloc(16); @@ -347,7 +347,7 @@ const struct krb5_enc_provider krb5int_enc_camellia256 = { krb5_error_code krb5int_camellia_cbc_mac(krb5_key key, const krb5_crypto_iov *data, size_t num_data, const krb5_data *iv, - krb5_data *output) + krb5_data *output) { return EINVAL; } |
