Searched refs:update_with_length_prefix (Results 1 – 3 of 3) sorted by relevance
/external/cronet/third_party/boringssl/src/crypto/curve25519/ |
D | spake25519.c | 445 static void update_with_length_prefix(SHA512_CTX *sha, const uint8_t *data, in update_with_length_prefix() function 498 update_with_length_prefix(&sha, ctx->my_name, ctx->my_name_len); in SPAKE2_process_msg() 499 update_with_length_prefix(&sha, ctx->their_name, ctx->their_name_len); in SPAKE2_process_msg() 500 update_with_length_prefix(&sha, ctx->my_msg, sizeof(ctx->my_msg)); in SPAKE2_process_msg() 501 update_with_length_prefix(&sha, their_msg, 32); in SPAKE2_process_msg() 503 update_with_length_prefix(&sha, ctx->their_name, ctx->their_name_len); in SPAKE2_process_msg() 504 update_with_length_prefix(&sha, ctx->my_name, ctx->my_name_len); in SPAKE2_process_msg() 505 update_with_length_prefix(&sha, their_msg, 32); in SPAKE2_process_msg() 506 update_with_length_prefix(&sha, ctx->my_msg, sizeof(ctx->my_msg)); in SPAKE2_process_msg() 508 update_with_length_prefix(&sha, dh_shared_encoded, sizeof(dh_shared_encoded)); in SPAKE2_process_msg() [all …]
|
/external/rust/crates/quiche/deps/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 …]
|
/external/boringssl/src/crypto/curve25519/ |
D | spake25519.c | 445 static void update_with_length_prefix(SHA512_CTX *sha, const uint8_t *data, in update_with_length_prefix() function 498 update_with_length_prefix(&sha, ctx->my_name, ctx->my_name_len); in SPAKE2_process_msg() 499 update_with_length_prefix(&sha, ctx->their_name, ctx->their_name_len); in SPAKE2_process_msg() 500 update_with_length_prefix(&sha, ctx->my_msg, sizeof(ctx->my_msg)); in SPAKE2_process_msg() 501 update_with_length_prefix(&sha, their_msg, 32); in SPAKE2_process_msg() 503 update_with_length_prefix(&sha, ctx->their_name, ctx->their_name_len); in SPAKE2_process_msg() 504 update_with_length_prefix(&sha, ctx->my_name, ctx->my_name_len); in SPAKE2_process_msg() 505 update_with_length_prefix(&sha, their_msg, 32); in SPAKE2_process_msg() 506 update_with_length_prefix(&sha, ctx->my_msg, sizeof(ctx->my_msg)); in SPAKE2_process_msg() 508 update_with_length_prefix(&sha, dh_shared_encoded, sizeof(dh_shared_encoded)); in SPAKE2_process_msg() [all …]
|