Searched refs:update_with_length_prefix (Results 1 – 1 of 1) sorted by relevance
/external/boringssl/src/crypto/curve25519/ |
D | spake25519.c | 386 static void update_with_length_prefix(SHA512_CTX *sha, const uint8_t *data, in update_with_length_prefix() function 439 update_with_length_prefix(&sha, ctx->my_name, ctx->my_name_len); in SPAKE2_process_msg() 440 update_with_length_prefix(&sha, ctx->their_name, ctx->their_name_len); in SPAKE2_process_msg() 441 update_with_length_prefix(&sha, ctx->my_msg, sizeof(ctx->my_msg)); in SPAKE2_process_msg() 442 update_with_length_prefix(&sha, their_msg, 32); in SPAKE2_process_msg() 444 update_with_length_prefix(&sha, ctx->their_name, ctx->their_name_len); in SPAKE2_process_msg() 445 update_with_length_prefix(&sha, ctx->my_name, ctx->my_name_len); in SPAKE2_process_msg() 446 update_with_length_prefix(&sha, their_msg, 32); in SPAKE2_process_msg() 447 update_with_length_prefix(&sha, ctx->my_msg, sizeof(ctx->my_msg)); in SPAKE2_process_msg() 449 update_with_length_prefix(&sha, dh_shared_encoded, sizeof(dh_shared_encoded)); in SPAKE2_process_msg() [all …]
|