Searched refs:polyval_ctx (Results 1 – 3 of 3) sorted by relevance
/third_party/boringssl/src/crypto/fipsmodule/modes/ |
D | polyval.c | 53 void CRYPTO_POLYVAL_init(struct polyval_ctx *ctx, const uint8_t key[16]) { in CRYPTO_POLYVAL_init() 64 void CRYPTO_POLYVAL_update_blocks(struct polyval_ctx *ctx, const uint8_t *in, in CRYPTO_POLYVAL_update_blocks() 87 void CRYPTO_POLYVAL_finish(const struct polyval_ctx *ctx, uint8_t out[16]) { in CRYPTO_POLYVAL_finish()
|
D | internal.h | 423 struct polyval_ctx { struct 435 void CRYPTO_POLYVAL_init(struct polyval_ctx *ctx, const uint8_t key[16]); argument 440 void CRYPTO_POLYVAL_update_blocks(struct polyval_ctx *ctx, const uint8_t *in, 444 void CRYPTO_POLYVAL_finish(const struct polyval_ctx *ctx, uint8_t out[16]);
|
/third_party/boringssl/src/crypto/cipher_extra/ |
D | e_aesgcmsiv.c | 654 struct polyval_ctx polyval_ctx; in gcm_siv_polyval() local 655 CRYPTO_POLYVAL_init(&polyval_ctx, auth_key); in gcm_siv_polyval() 657 CRYPTO_POLYVAL_update_blocks(&polyval_ctx, ad, ad_len & ~15); in gcm_siv_polyval() 663 CRYPTO_POLYVAL_update_blocks(&polyval_ctx, scratch, sizeof(scratch)); in gcm_siv_polyval() 666 CRYPTO_POLYVAL_update_blocks(&polyval_ctx, in, in_len & ~15); in gcm_siv_polyval() 670 CRYPTO_POLYVAL_update_blocks(&polyval_ctx, scratch, sizeof(scratch)); in gcm_siv_polyval() 683 CRYPTO_POLYVAL_update_blocks(&polyval_ctx, length_block.c, in gcm_siv_polyval() 686 CRYPTO_POLYVAL_finish(&polyval_ctx, out_tag); in gcm_siv_polyval()
|