Changeset 1433ecda in mainline for uspace/lib/crypto


Ignore:
Timestamp:
2018-04-04T15:42:37Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4e1cc
Parents:
47b2d7e3
Message:

Fix cstyle: make ccheck-fix and commit only files where all the changes are good.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/crypto/crypto.c

    r47b2d7e3 r1433ecda  
    145145        for (size_t k = 16; k < 80; k++) {
    146146                sched_arr[k] = rotl_uint32(
    147                     sched_arr[k-3] ^
    148                     sched_arr[k-8] ^
    149                     sched_arr[k-14] ^
    150                     sched_arr[k-16],
     147                    sched_arr[k - 3] ^
     148                    sched_arr[k - 8] ^
     149                    sched_arr[k - 14] ^
     150                    sched_arr[k - 16],
    151151                    1);
    152152        }
     
    215215        for (size_t i = 0; i < blocks; i++) {
    216216                for (size_t j = 0; j < 16; j++) {
    217                         work_arr[i*16 + j] =
     217                        work_arr[i * 16 + j] =
    218218                            (get_at(work_input, input_size + 1, i * 64 + j * 4) << 24) |
    219219                            (get_at(work_input, input_size + 1, i * 64 + j * 4 + 1) << 16) |
     
    281281        memset(work_key, 0, HMAC_BLOCK_LENGTH);
    282282
    283         if(key_size > HMAC_BLOCK_LENGTH)
     283        if (key_size > HMAC_BLOCK_LENGTH)
    284284                create_hash(key, key_size, work_key, hash_sel);
    285285        else
Note: See TracChangeset for help on using the changeset viewer.