Searched refs:hmac (Results 1 – 3 of 3) sorted by relevance
| /rk3399_rockchip-uboot/board/gdsys/a38x/ |
| H A D | keyprogram.c | 108 struct key_program *result = NULL, *hmac = NULL; in parse_and_check_keyprog() local 117 if (extract_subprogram(&progdata, MAGIC_HMAC, &hmac)) in parse_and_check_keyprog() 120 free(hmac); in parse_and_check_keyprog()
|
| /rk3399_rockchip-uboot/board/gdsys/p1022/ |
| H A D | controlcenterd-id.c | 734 static int check_hmac(struct key_program *hmac, in check_hmac() argument 740 type = get_unaligned_be32(hmac->code); in check_hmac() 751 return memcmp(computed_hmac, hmac->code + 4, 20); in check_hmac() 773 struct key_program *result = NULL, *hmac = NULL; in load_sd_key_program() local 827 hmac = malloc(sizeof(struct key_program) + header.code_size); in load_sd_key_program() 828 if (!hmac) in load_sd_key_program() 830 *hmac = header; in load_sd_key_program() 832 if (ccdm_mmc_read(mmc, code_offset, hmac->code, in load_sd_key_program() 833 hmac->code_size) < 0) in load_sd_key_program() 835 if (verify_program(hmac)) in load_sd_key_program() [all …]
|
| /rk3399_rockchip-uboot/drivers/crypto/rockchip/ |
| H A D | Kconfig | 50 bool "Enable rockchip hmac support" 58 bool "Enable rockchip hmac support in spl"
|