Lines Matching refs:KC
259 TK[0] = KC[(OFFSET) * 4 + 0]; \
260 TK[1] = KC[(OFFSET) * 4 + 1]; \
261 TK[2] = KC[(OFFSET) * 4 + 2]; \
262 TK[3] = KC[(OFFSET) * 4 + 3]; \
325 uint32_t KC[16]; in mbedtls_camellia_setkey_enc() local
364 memset( KC, 0, sizeof(KC) ); in mbedtls_camellia_setkey_enc()
368 KC[i] = MBEDTLS_GET_UINT32_BE( t, i * 4 ); in mbedtls_camellia_setkey_enc()
372 KC[8 + i] = KC[i] ^ KC[4 + i]; in mbedtls_camellia_setkey_enc()
374 camellia_feistel( KC + 8, SIGMA[0], KC + 10 ); in mbedtls_camellia_setkey_enc()
375 camellia_feistel( KC + 10, SIGMA[1], KC + 8 ); in mbedtls_camellia_setkey_enc()
378 KC[8 + i] ^= KC[i]; in mbedtls_camellia_setkey_enc()
380 camellia_feistel( KC + 8, SIGMA[2], KC + 10 ); in mbedtls_camellia_setkey_enc()
381 camellia_feistel( KC + 10, SIGMA[3], KC + 8 ); in mbedtls_camellia_setkey_enc()
386 KC[12 + i] = KC[4 + i] ^ KC[8 + i]; in mbedtls_camellia_setkey_enc()
388 camellia_feistel( KC + 12, SIGMA[4], KC + 14 ); in mbedtls_camellia_setkey_enc()
389 camellia_feistel( KC + 14, SIGMA[5], KC + 12 ); in mbedtls_camellia_setkey_enc()