Add one byte to be consumed by an ongoing SHA-256 evaluation. * * Returns false if the counter overflows. * * Precondition: NULL != ctx; */
| 246 | * Precondition: NULL != ctx; |
| 247 | */ |
| 248 | static inline bool sha256_uchar(sha256_context* ctx, unsigned char x) { |
| 249 | return sha256_uchars(ctx, &x, 1); |
| 250 | } |
| 251 | |
| 252 | /* Add a 64-bit word to be consumed in big endian order by an ongoing SHA-256 evaluation. |
| 253 | * For greater certainty, only the least 64 bits of 'x' are consumed. |
no test coverage detected