Lines Matching refs:p
127 void sha512(struct sha512 *sha, const void *p, size_t size);
198 void sha512_update(struct sha512_ctx *ctx, const void *p, size_t size);
371 static bool alignment_ok(const void *p UNUSED, size_t n UNUSED) in alignment_ok()
376 return ((size_t)p % n == 0); in alignment_ok()
380 static void add(struct sha512_ctx *ctx, const void *p, size_t len) in add() argument
382 const unsigned char *data = p; in add()
421 void sha512_update(struct sha512_ctx *ctx, const void *p, size_t size) in sha512_update() argument
424 add(ctx, p, size); in sha512_update()
444 void sha512(struct sha512 *sha, const void *p, size_t size) in sha512() argument
449 sha512_update(&ctx, p, size); in sha512()
526 unsigned char *p = buf; in hex_decode() local
533 *(p++) = (v1 << 4) | v2; in hex_decode()