Home
last modified time | relevance | path

Searched refs:hash_output (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/cryptodev_linux/
H A Dauthenc.c444 uint8_t hash_output[AALG_MAX_RESULT_LEN]; in tls_auth_n_crypt() local
468 ret = cryptodev_hash_final(&ses_ptr->hdata, hash_output); in tls_auth_n_crypt()
474 copy_tls_hash(dst_sg, len, hash_output, caop->tag_len); in tls_auth_n_crypt()
539 ret = cryptodev_hash_final(&ses_ptr->hdata, hash_output); in tls_auth_n_crypt()
545 if (memcmp(vhash, hash_output, caop->tag_len) != 0 || fail != 0) { in tls_auth_n_crypt()
566 uint8_t hash_output[AALG_MAX_RESULT_LEN]; in srtp_auth_n_crypt() local
590 ret = cryptodev_hash_final(&ses_ptr->hdata, hash_output); in srtp_auth_n_crypt()
596 if (unlikely(copy_to_user(caop->tag, hash_output, caop->tag_len))) in srtp_auth_n_crypt()
617 ret = cryptodev_hash_final(&ses_ptr->hdata, hash_output); in srtp_auth_n_crypt()
623 if (memcmp(vhash, hash_output, caop->tag_len) != 0 || fail != 0) { in srtp_auth_n_crypt()
H A Drk_cryptodev.h52 uint8_t hash_output[AALG_MAX_RESULT_LEN]; member
H A Dcryptodev.h126 uint8_t hash_output[AALG_MAX_RESULT_LEN]; member
H A Dmain.c255 ret = cryptodev_hash_final(&ses_ptr->hdata, kcop->hash_output); in crypto_run()
H A Drk_cryptodev.c151 kcop->hash_output, kcop->digestsize); in fill_cop_fd_from_kcop()
449 ret = cryptodev_hash_final(&ses_ptr->hdata, kcop->hash_output); in crypto_fd_run()
H A Dioctl.c804 kcop->hash_output, kcop->digestsize); in fill_cop_from_kcop()
/OK3568_Linux_fs/u-boot/cmd/mvebu/
H A Dbubt.c534 u8 *hash_output; in check_image_header() local
595 hash_output = hash_160_output; in check_image_header()
601 hash_output = hash_256_output; in check_image_header()
611 if (memcmp(hash_value, hash_output, hash_algorithm_id) != 0) { in check_image_header()