Home
last modified time | relevance | path

Searched refs:load_u32_be (Results 1 – 1 of 1) sorted by relevance

/freebsd/crypto/openssl/crypto/sm4/
H A Dsm4.c93 static ossl_inline uint32_t load_u32_be(const uint8_t *b, uint32_t n) in load_u32_be() function
157 K[0] = load_u32_be(key, 0) ^ FK[0]; in ossl_sm4_set_key()
158 K[1] = load_u32_be(key, 1) ^ FK[1]; in ossl_sm4_set_key()
159 K[2] = load_u32_be(key, 2) ^ FK[2]; in ossl_sm4_set_key()
160 K[3] = load_u32_be(key, 3) ^ FK[3]; in ossl_sm4_set_key()
189 uint32_t B0 = load_u32_be(in, 0); in ossl_sm4_encrypt()
190 uint32_t B1 = load_u32_be(in, 1); in ossl_sm4_encrypt()
191 uint32_t B2 = load_u32_be(in, 2); in ossl_sm4_encrypt()
192 uint32_t B3 = load_u32_be(in, 3); in ossl_sm4_encrypt()
215 uint32_t B0 = load_u32_be(in, 0); in ossl_sm4_decrypt()
[all …]