Searched refs:U32TO8 (Results 1 – 2 of 2) sorted by relevance
| /freebsd/crypto/openssl/crypto/poly1305/ |
| H A D | poly1305_ieee754.c | 74 #define U32TO8(p, v) (*(u32 *)(p) = (v)) macro 77 #define U32TO8(p, v) asm("stwbrx %0,0,%1" ::"r"(v), "b"(p) : "memory") macro 80 #define U32TO8(p, v) asm("strv %1,%0" : "=m"(*(u32 *)(p)) : "d"(v)) macro 86 #ifndef U32TO8 87 #define U32TO8(p, v) ((p)[0] = (u8)(v), (p)[1] = (u8)((v) >> 8), \ macro 483 U32TO8(mac + 0, g0); in poly1305_emit() 484 U32TO8(mac + 4, g1); in poly1305_emit() 485 U32TO8(mac + 8, g2); in poly1305_emit() 486 U32TO8(mac + 12, g3); in poly1305_emit()
|
| H A D | poly1305.c | 249 static void U32TO8(unsigned char *p, unsigned int v) in U32TO8() function 390 U32TO8(mac + 0, h0); in poly1305_emit() 391 U32TO8(mac + 4, h1); in poly1305_emit() 392 U32TO8(mac + 8, h2); in poly1305_emit() 393 U32TO8(mac + 12, h3); in poly1305_emit()
|