Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/crypto/poly1305/
H A Dpoly1305_ieee754.c71 # define U32TO8(p,v) (*(u32 *)(p) = (v)) macro
74 # define U32TO8(p,v) asm ("stwbrx %0,0,%1"::"r"(v),"b"(p):"memory") macro
77 # define U32TO8(p,v) asm ("strv %1,%0":"=m"(*(u32 *)(p)):"d"(v)) macro
84 #ifndef U32TO8
85 # define U32TO8(p,v) ((p)[0] = (u8)(v), (p)[1] = (u8)((v)>>8), \ macro
484 U32TO8(mac + 0, g0); in poly1305_emit()
485 U32TO8(mac + 4, g1); in poly1305_emit()
486 U32TO8(mac + 8, g2); in poly1305_emit()
487 U32TO8(mac + 12, g3); in poly1305_emit()
H A Dpoly1305.c263 static void U32TO8(unsigned char *p, unsigned int v) in U32TO8() function
419 U32TO8(mac + 0, h0); in poly1305_emit()
420 U32TO8(mac + 4, h1); in poly1305_emit()
421 U32TO8(mac + 8, h2); in poly1305_emit()
422 U32TO8(mac + 12, h3); in poly1305_emit()