Searched refs:arch_is_big_endian (Results 1 – 6 of 6) sorted by relevance
180 static inline int arch_is_big_endian(void) in arch_is_big_endian() function
29 ctx->shake_endian = arch_is_big_endian() ? SHAKE_BIG : SHAKE_LITTLE; in _shake_init()
43 ctx->sha3_endian = arch_is_big_endian() ? SHA3_BIG : SHA3_LITTLE; in _sha3_init()
49 ctx->bash_endian = arch_is_big_endian() ? BASH_BIG : BASH_LITTLE; in _bash_init()
50 ctx->streebog_endian = arch_is_big_endian() ? STREEBOG_BIG : STREEBOG_LITTLE; in streebog_init()
452 if (arch_is_big_endian()) { in _ntohw()