Lines Matching refs:KC
282 TK[0] = KC[(OFFSET) * 4 + 0]; \
283 TK[1] = KC[(OFFSET) * 4 + 1]; \
284 TK[2] = KC[(OFFSET) * 4 + 2]; \
285 TK[3] = KC[(OFFSET) * 4 + 3]; \
348 uint32_t KC[16]; in mbedtls_camellia_setkey_enc() local
387 memset( KC, 0, sizeof(KC) ); in mbedtls_camellia_setkey_enc()
391 GET_UINT32_BE( KC[i], t, i * 4 ); in mbedtls_camellia_setkey_enc()
395 KC[8 + i] = KC[i] ^ KC[4 + i]; in mbedtls_camellia_setkey_enc()
397 camellia_feistel( KC + 8, SIGMA[0], KC + 10 ); in mbedtls_camellia_setkey_enc()
398 camellia_feistel( KC + 10, SIGMA[1], KC + 8 ); in mbedtls_camellia_setkey_enc()
401 KC[8 + i] ^= KC[i]; in mbedtls_camellia_setkey_enc()
403 camellia_feistel( KC + 8, SIGMA[2], KC + 10 ); in mbedtls_camellia_setkey_enc()
404 camellia_feistel( KC + 10, SIGMA[3], KC + 8 ); in mbedtls_camellia_setkey_enc()
409 KC[12 + i] = KC[4 + i] ^ KC[8 + i]; in mbedtls_camellia_setkey_enc()
411 camellia_feistel( KC + 12, SIGMA[4], KC + 14 ); in mbedtls_camellia_setkey_enc()
412 camellia_feistel( KC + 14, SIGMA[5], KC + 12 ); in mbedtls_camellia_setkey_enc()