Home
last modified time | relevance | path

Searched refs:inlen (Results 1 – 3 of 3) sorted by relevance

/coreutils/src/blake2/
Dblake2.h150 int blake2s_update( blake2s_state *S, const void *in, size_t inlen );
157 int blake2b_update( blake2b_state *S, const void *in, size_t inlen );
162 int blake2sp_update( blake2sp_state *S, const void *in, size_t inlen );
167 int blake2bp_update( blake2bp_state *S, const void *in, size_t inlen );
173 int blake2xs_update( blake2xs_state *S, const void *in, size_t inlen );
178 int blake2xb_update( blake2xb_state *S, const void *in, size_t inlen );
182 …int blake2s( void *out, size_t outlen, const void *in, size_t inlen, const void *key, size_t keyle…
183 …int blake2b( void *out, size_t outlen, const void *in, size_t inlen, const void *key, size_t keyle…
185 …int blake2sp( void *out, size_t outlen, const void *in, size_t inlen, const void *key, size_t keyl…
186 …int blake2bp( void *out, size_t outlen, const void *in, size_t inlen, const void *key, size_t keyl…
[all …]
Dblake2b-ref.c225 int blake2b_update( blake2b_state *S, const void *pin, size_t inlen ) in blake2b_update() argument
228 if( inlen > 0 ) in blake2b_update()
232 if( inlen > fill ) in blake2b_update()
238 in += fill; inlen -= fill; in blake2b_update()
239 while(inlen > BLAKE2B_BLOCKBYTES) { in blake2b_update()
243 inlen -= BLAKE2B_BLOCKBYTES; in blake2b_update()
246 memcpy( S->buf + S->buflen, in, inlen ); in blake2b_update()
247 S->buflen += inlen; in blake2b_update()
277 int blake2b( void *out, size_t outlen, const void *in, size_t inlen, const void *key, size_t keylen… in blake2b() argument
282 if ( NULL == in && inlen > 0 ) return -1; in blake2b()
[all …]
/coreutils/src/
Dbasenc.c251 static void (*base_encode) (char const *restrict in, idx_t inlen,
286 char const *restrict in, idx_t inlen,
309 char const *restrict in, idx_t inlen, in base64_decode_ctx_wrapper() argument
312 bool b = base64_decode_ctx (&ctx->ctx.base64, in, inlen, out, outlen); in base64_decode_ctx_wrapper()
325 prepare_inbuf (struct base_decode_context *ctx, idx_t inlen) in prepare_inbuf() argument
327 if (ctx->bufsize < inlen) in prepare_inbuf()
329 ctx->bufsize = inlen * 2; in prepare_inbuf()
336 base64url_encode (char const *restrict in, idx_t inlen, in base64url_encode() argument
339 base64_encode (in, inlen, out, outlen); in base64url_encode()
369 char const *restrict in, idx_t inlen, in base64url_decode_ctx_wrapper() argument
[all …]