Searched refs:update_with_length_prefix (Results 1 – 1 of 1) sorted by relevance
/external/boringssl/src/crypto/curve25519/ |
D | spake25519.c | 460 static void update_with_length_prefix(SHA512_CTX *sha, const uint8_t *data, in update_with_length_prefix() function 513 update_with_length_prefix(&sha, ctx->my_name, ctx->my_name_len); in SPAKE2_process_msg() 514 update_with_length_prefix(&sha, ctx->their_name, ctx->their_name_len); in SPAKE2_process_msg() 515 update_with_length_prefix(&sha, ctx->my_msg, sizeof(ctx->my_msg)); in SPAKE2_process_msg() 516 update_with_length_prefix(&sha, their_msg, 32); in SPAKE2_process_msg() 518 update_with_length_prefix(&sha, ctx->their_name, ctx->their_name_len); in SPAKE2_process_msg() 519 update_with_length_prefix(&sha, ctx->my_name, ctx->my_name_len); in SPAKE2_process_msg() 520 update_with_length_prefix(&sha, their_msg, 32); in SPAKE2_process_msg() 521 update_with_length_prefix(&sha, ctx->my_msg, sizeof(ctx->my_msg)); in SPAKE2_process_msg() 523 update_with_length_prefix(&sha, dh_shared_encoded, sizeof(dh_shared_encoded)); in SPAKE2_process_msg() [all …]
|