Searched refs:polyval_ctx (Results 1 – 3 of 3) sorted by relevance
/external/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 | 459 struct polyval_ctx { struct 471 void CRYPTO_POLYVAL_init(struct polyval_ctx *ctx, const uint8_t key[16]); argument 476 void CRYPTO_POLYVAL_update_blocks(struct polyval_ctx *ctx, const uint8_t *in, 480 void CRYPTO_POLYVAL_finish(const struct polyval_ctx *ctx, uint8_t out[16]);
|
/external/boringssl/src/crypto/cipher_extra/ |
D | e_aesgcmsiv.c | 649 struct polyval_ctx polyval_ctx; in gcm_siv_polyval() local 650 CRYPTO_POLYVAL_init(&polyval_ctx, auth_key); in gcm_siv_polyval() 652 CRYPTO_POLYVAL_update_blocks(&polyval_ctx, ad, ad_len & ~15); in gcm_siv_polyval() 658 CRYPTO_POLYVAL_update_blocks(&polyval_ctx, scratch, sizeof(scratch)); in gcm_siv_polyval() 661 CRYPTO_POLYVAL_update_blocks(&polyval_ctx, in, in_len & ~15); in gcm_siv_polyval() 665 CRYPTO_POLYVAL_update_blocks(&polyval_ctx, scratch, sizeof(scratch)); in gcm_siv_polyval() 678 CRYPTO_POLYVAL_update_blocks(&polyval_ctx, length_block.c, in gcm_siv_polyval() 681 CRYPTO_POLYVAL_finish(&polyval_ctx, out_tag); in gcm_siv_polyval()
|