Home
last modified time | relevance | path

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

/linux-4.4.14/crypto/
Dpoly1305_generic.c36 static inline u32 le32_to_cpuvp(const void *p) in le32_to_cpuvp() function
68 dctx->r[0] = (le32_to_cpuvp(key + 0) >> 0) & 0x3ffffff; in poly1305_setrkey()
69 dctx->r[1] = (le32_to_cpuvp(key + 3) >> 2) & 0x3ffff03; in poly1305_setrkey()
70 dctx->r[2] = (le32_to_cpuvp(key + 6) >> 4) & 0x3ffc0ff; in poly1305_setrkey()
71 dctx->r[3] = (le32_to_cpuvp(key + 9) >> 6) & 0x3f03fff; in poly1305_setrkey()
72 dctx->r[4] = (le32_to_cpuvp(key + 12) >> 8) & 0x00fffff; in poly1305_setrkey()
77 dctx->s[0] = le32_to_cpuvp(key + 0); in poly1305_setskey()
78 dctx->s[1] = le32_to_cpuvp(key + 4); in poly1305_setskey()
79 dctx->s[2] = le32_to_cpuvp(key + 8); in poly1305_setskey()
80 dctx->s[3] = le32_to_cpuvp(key + 12); in poly1305_setskey()
[all …]
Dchacha20_generic.c23 static inline u32 le32_to_cpuvp(const void *p) in le32_to_cpuvp() function
108 state[0] = le32_to_cpuvp(constant + 0); in crypto_chacha20_init()
109 state[1] = le32_to_cpuvp(constant + 4); in crypto_chacha20_init()
110 state[2] = le32_to_cpuvp(constant + 8); in crypto_chacha20_init()
111 state[3] = le32_to_cpuvp(constant + 12); in crypto_chacha20_init()
120 state[12] = le32_to_cpuvp(iv + 0); in crypto_chacha20_init()
121 state[13] = le32_to_cpuvp(iv + 4); in crypto_chacha20_init()
122 state[14] = le32_to_cpuvp(iv + 8); in crypto_chacha20_init()
123 state[15] = le32_to_cpuvp(iv + 12); in crypto_chacha20_init()
137 ctx->key[i] = le32_to_cpuvp(key + i * sizeof(u32)); in crypto_chacha20_setkey()