Searched refs:sb_aes_crypt (Results 1 – 1 of 1) sorted by relevance
/external/u-boot/tools/ |
D | mxsimage.c | 222 static int sb_aes_crypt(struct sb_image_ctx *ictx, uint8_t *in_data, in sb_aes_crypt() function 316 sb_aes_crypt(ictx, sb_header_ptr, NULL, sizeof(*sb_header)); in sb_encrypt_sb_header() 332 sb_aes_crypt(ictx, sb_sections_header_ptr, in sb_encrypt_sb_sections_header() 344 sb_aes_crypt(ictx, ictx->image_key, ictx->sb_dict_key.key, in sb_encrypt_key_dictionary_key() 354 sb_aes_crypt(ictx, ictx->sb_dict_key.key, ictx->image_key, in sb_decrypt_key_dictionary_key() 364 sb_aes_crypt(ictx, (uint8_t *)cmd, in sb_encrypt_tag() 412 sb_aes_crypt(ictx, cctx->data, cctx->data, in sb_encrypt_image() 431 sb_aes_crypt(ictx, ictx->digest, ictx->digest, sizeof(ictx->digest)); in sb_encrypt_image() 1802 sb_aes_crypt(ictx, (uint8_t *)&cctx->c_payload, in sb_decrypt_tag() 1857 sb_aes_crypt(ictx, cctx->data, cctx->data, asize); in sb_verify_command() [all …]
|