Searched refs:aes_kw (Results 1 – 1 of 1) sorted by relevance
72 bootutil_aes_kw_context aes_kw; in key_unwrap() local75 bootutil_aes_kw_init(&aes_kw); in key_unwrap()76 rc = bootutil_aes_kw_set_unwrap_key(&aes_kw, bootutil_enc_key.key, *bootutil_enc_key.len); in key_unwrap()80 rc = bootutil_aes_kw_unwrap(&aes_kw, wrapped, TLV_ENC_KW_SZ, enckey, BOOT_ENC_KEY_SIZE); in key_unwrap()86 bootutil_aes_kw_drop(&aes_kw); in key_unwrap()