/freebsd/sys/contrib/libb2/ |
H A D | blake2sp.c | 108 blake2s_update( S->S[i], block, BLAKE2S_BLOCKBYTES ); in blake2sp_init_key() 126 blake2s_update( S->S[i], S->buf + i * BLAKE2S_BLOCKBYTES, BLAKE2S_BLOCKBYTES ); in blake2sp_update() 149 blake2s_update( S->S[id__], in__, BLAKE2S_BLOCKBYTES ); in blake2sp_update() 180 blake2s_update( S->S[i], S->buf + i * BLAKE2S_BLOCKBYTES, left ); in blake2sp_final() 187 blake2s_update( S->R, hash[i], BLAKE2S_OUTBYTES ); in blake2sp_final() 224 blake2s_update( S[i], block, BLAKE2S_BLOCKBYTES ); in blake2sp() 246 blake2s_update( S[id__], in__, BLAKE2S_BLOCKBYTES ); in blake2sp() 255 blake2s_update( S[id__], in__, len ); in blake2sp() 267 blake2s_update( FS, hash[i], BLAKE2S_OUTBYTES ); in blake2sp()
|
H A D | blake2s-ref.c | 144 #define blake2s_update BLAKE2_IMPL_NAME(blake2s_update) macro 154 int blake2s_update( blake2s_state *S, const uint8_t *in, size_t inlen ); 224 blake2s_update( S, block, BLAKE2S_BLOCKBYTES ); in blake2s_init_key() 291 int blake2s_update( blake2s_state *S, const uint8_t *in, size_t inlen ) in blake2s_update() function 372 if( blake2s_update( S, ( uint8_t * )in, inlen ) < 0) return -1; in blake2s()
|
H A D | blake2s.c | 181 #define blake2s_update BLAKE2_IMPL_NAME(blake2s_update) macro 191 int blake2s_update( blake2s_state *S, const uint8_t *in, size_t inlen ); 266 blake2s_update( S, block, BLAKE2S_BLOCKBYTES ); in blake2s_init_key() 331 int blake2s_update( blake2s_state *S, const uint8_t *in, size_t inlen ) in blake2s_update() function 412 if( blake2s_update( S, ( uint8_t * )in, inlen ) < 0) return -1; in blake2s()
|
H A D | blake2.h | 146 BLAKE2_API int blake2s_update( blake2s_state *S, const uint8_t *in, size_t inlen );
|
H A D | blake2-dispatch.c | 563 BLAKE2_API int blake2s_update( blake2s_state *S, const uint8_t *in, size_t inlen ) in blake2s_update() function
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_blake2sp_ref.c | 127 blake2s_update( S->S[i], block, BLAKE2S_BLOCKBYTES ); in blake2sp_init_key() 147 blake2s_update( S->S[i], S->buf + i * BLAKE2S_BLOCKBYTES, BLAKE2S_BLOCKBYTES ); in blake2sp_update() 169 blake2s_update( S->S[i], in__, BLAKE2S_BLOCKBYTES ); in blake2sp_update() 203 blake2s_update( S->S[i], S->buf + i * BLAKE2S_BLOCKBYTES, left ); in blake2sp_final() 210 blake2s_update( S->R, hash[i], BLAKE2S_OUTBYTES ); in blake2sp_final() 246 blake2s_update( S[i], block, BLAKE2S_BLOCKBYTES ); in blake2sp() 267 blake2s_update( S[i], in__, BLAKE2S_BLOCKBYTES ); in blake2sp() 276 blake2s_update( S[i], in__, len ); in blake2sp() 288 blake2s_update( FS, hash[i], BLAKE2S_OUTBYTES ); in blake2sp()
|
H A D | archive_blake2s_ref.c | 144 blake2s_update( S, block, BLAKE2S_BLOCKBYTES ); in blake2s_init_key() 216 int blake2s_update( blake2s_state *S, const void *pin, size_t inlen ) in blake2s_update() function 291 blake2s_update( S, ( const uint8_t * )in, inlen ); in blake2s() 344 if ( (err = blake2s_update(&S, p, step)) < 0 ) { in main() 350 if ( (err = blake2s_update(&S, p, mlen)) < 0) { in main()
|
H A D | archive_blake2.h | 150 int blake2s_update( blake2s_state *S, const void *in, size_t inlen );
|
/freebsd/sys/dev/wg/ |
H A D | wg_cookie.c | 276 blake2s_update(&blake, label, strlen(label)); in precompute_key() 277 blake2s_update(&blake, input, COOKIE_INPUT_SIZE); in precompute_key() 287 blake2s_update(&state, buf, len); in macs_mac1() 297 blake2s_update(&state, buf, len); in macs_mac2() 298 blake2s_update(&state, macs->mac1, COOKIE_MAC_SIZE); in macs_mac2() 326 blake2s_update(&state, (uint8_t *)&satosin(sa)->sin_addr, in make_cookie() 328 blake2s_update(&state, (uint8_t *)&satosin(sa)->sin_port, in make_cookie() 333 blake2s_update(&state, (uint8_t *)&satosin6(sa)->sin6_addr, in make_cookie() 335 blake2s_update(&state, (uint8_t *)&satosin6(sa)->sin6_port, in make_cookie()
|
H A D | crypto.h | 102 void blake2s_update(struct blake2s_state *state, const uint8_t *in, size_t inlen); 116 blake2s_update(&state, in, inlen); in blake2s()
|
H A D | wg_noise.c | 1205 blake2s_update(&state, key, keylen); in hmac() 1214 blake2s_update(&state, x_key, BLAKE2S_BLOCK_SIZE); in hmac() 1215 blake2s_update(&state, in, inlen); in hmac() 1222 blake2s_update(&state, x_key, BLAKE2S_BLOCK_SIZE); in hmac() 1223 blake2s_update(&state, i_hash, BLAKE2S_HASH_SIZE); in hmac() 1307 blake2s_update(&blake, hash, NOISE_HASH_LEN); in noise_mix_hash() 1308 blake2s_update(&blake, src, src_len); in noise_mix_hash() 1335 blake2s_update(&blake, ck, NOISE_HASH_LEN); in noise_param_init() 1336 blake2s_update(&blake, (uint8_t *)NOISE_IDENTIFIER_NAME, in noise_param_init()
|
H A D | wg_crypto.c | 102 blake2s_update(state, block, BLAKE2S_BLOCK_SIZE); in blake2s_init_key() 171 void blake2s_update(struct blake2s_state *state, const uint8_t *in, size_t inlen) in blake2s_update() function
|
/freebsd/sys/crypto/blake2/ |
H A D | blake2_cryptodev.c | 244 rc = blake2s_update(state, buf, len); in blake2s_applicator()
|