Lines Matching refs:d

179                            uint32_t *c, uint32_t *d )  in aria_a()  argument
185 tb = ARIA_P2( *d ); // efcd in aria_a()
186 *d = ARIA_P1( *c ); // 98ba in aria_a()
188 ta ^= *d; // 4567+98ba in aria_a()
191 tb ^= ARIA_P2( *d ); // ba98+efcd in aria_a()
197 *d ^= ARIA_P1( ta ) ^ tc; // 1032+2301+6745+7654+98ba+ba98+cdef OUT in aria_a()
211 uint32_t *c, uint32_t *d, in aria_sl() argument
227 *d = ( (uint32_t) sa[ MBEDTLS_BYTE_0( *d ) ] ) ^ in aria_sl()
228 (((uint32_t) sb[ MBEDTLS_BYTE_1( *d ) ]) << 8) ^ in aria_sl()
229 (((uint32_t) sc[ MBEDTLS_BYTE_2( *d ) ]) << 16) ^ in aria_sl()
230 (((uint32_t) sd[ MBEDTLS_BYTE_3( *d ) ]) << 24); in aria_sl()
346 uint32_t a, b, c, d; in aria_fo_xor() local
351 d = p[3] ^ k[3]; in aria_fo_xor()
353 aria_sl( &a, &b, &c, &d, aria_sb1, aria_sb2, aria_is1, aria_is2 ); in aria_fo_xor()
354 aria_a( &a, &b, &c, &d ); in aria_fo_xor()
359 r[3] = d ^ x[3]; in aria_fo_xor()
368 uint32_t a, b, c, d; in aria_fe_xor() local
373 d = p[3] ^ k[3]; in aria_fe_xor()
375 aria_sl( &a, &b, &c, &d, aria_is1, aria_is2, aria_sb1, aria_sb2 ); in aria_fe_xor()
376 aria_a( &a, &b, &c, &d ); in aria_fe_xor()
381 r[3] = d ^ x[3]; in aria_fe_xor()
523 uint32_t a, b, c, d; in mbedtls_aria_crypt_ecb() local
531 d = MBEDTLS_GET_UINT32_LE( input, 12 ); in mbedtls_aria_crypt_ecb()
539 d ^= ctx->rk[i][3]; in mbedtls_aria_crypt_ecb()
542 aria_sl( &a, &b, &c, &d, aria_sb1, aria_sb2, aria_is1, aria_is2 ); in mbedtls_aria_crypt_ecb()
543 aria_a( &a, &b, &c, &d ); in mbedtls_aria_crypt_ecb()
548 d ^= ctx->rk[i][3]; in mbedtls_aria_crypt_ecb()
551 aria_sl( &a, &b, &c, &d, aria_is1, aria_is2, aria_sb1, aria_sb2 ); in mbedtls_aria_crypt_ecb()
554 aria_a( &a, &b, &c, &d ); in mbedtls_aria_crypt_ecb()
561 d ^= ctx->rk[i][3]; in mbedtls_aria_crypt_ecb()
566 MBEDTLS_PUT_UINT32_LE( d, output, 12 ); in mbedtls_aria_crypt_ecb()