Searched refs:hash_output (Results 1 – 7 of 7) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/crypto/rockchip/cryptodev_linux/ |
| H A D | authenc.c | 444 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 D | rk_cryptodev.h | 52 uint8_t hash_output[AALG_MAX_RESULT_LEN]; member
|
| H A D | cryptodev.h | 126 uint8_t hash_output[AALG_MAX_RESULT_LEN]; member
|
| H A D | main.c | 255 ret = cryptodev_hash_final(&ses_ptr->hdata, kcop->hash_output); in crypto_run()
|
| H A D | rk_cryptodev.c | 151 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 D | ioctl.c | 804 kcop->hash_output, kcop->digestsize); in fill_cop_from_kcop()
|
| /OK3568_Linux_fs/u-boot/cmd/mvebu/ |
| H A D | bubt.c | 534 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()
|