Lines Matching refs:k
344 const uint32_t k[4], const uint32_t x[4] ) in aria_fo_xor()
348 a = p[0] ^ k[0]; in aria_fo_xor()
349 b = p[1] ^ k[1]; in aria_fo_xor()
350 c = p[2] ^ k[2]; in aria_fo_xor()
351 d = p[3] ^ k[3]; in aria_fo_xor()
366 const uint32_t k[4], const uint32_t x[4] ) in aria_fe_xor()
370 a = p[0] ^ k[0]; in aria_fe_xor()
371 b = p[1] ^ k[1]; in aria_fe_xor()
372 c = p[2] ^ k[2]; in aria_fe_xor()
373 d = p[3] ^ k[3]; in aria_fe_xor()
485 int i, j, k, ret; in mbedtls_aria_setkey_dec() local
496 for( k = 0; k < 4; k++ ) in mbedtls_aria_setkey_dec()
498 uint32_t t = ctx->rk[i][k]; in mbedtls_aria_setkey_dec()
499 ctx->rk[i][k] = ctx->rk[j][k]; in mbedtls_aria_setkey_dec()
500 ctx->rk[j][k] = t; in mbedtls_aria_setkey_dec()