<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tomo-wait-for-it-yuki</author_name>
  <author_url>https://blog.hatena.ne.jp/tomo-wait-for-it-yuki/</author_url>
  <blog_title>Nature Engineering Blog</blog_title>
  <blog_url>https://engineering.nature.global/</blog_url>
  <categories>
    <anon>Nature Remo</anon>
    <anon>ESP-IDF</anon>
    <anon>mbedtls</anon>
  </categories>
  <description>ESP-IDF に転生した mbedtls は AES CFB を復号 API で復号できる異能力者だった！？ ファームウェアエンジニアの中林 (id:tomo-wait-for-it-yuki) です。今回は出落ちです。 みなさん暗号化は正しくお使いでしょうか？ 本エントリでは最近発覚したちょっとしたトラブルをご紹介します。 タイトル補足。復号処理で復号できるは当然なのですが、mbedtls 的には AES 暗号化と復号化とが別 API として提供されています。 背景 Nature Remo ではアプリとの通信で共通鍵暗号方式の AES CFB を使用するコードがあります。 このコードはプロ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fengineering.nature.global%2Fentry%2Fesp-idf-mbedtls-aes-cfb&quot; title=&quot;俺の AES CFB が復号処理で復号できるわけがない - Nature Engineering Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/t/tomo-wait-for-it-yuki/20230307/20230307161847.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-03-07 16:13:59</published>
  <title>俺の AES CFB が復号処理で復号できるわけがない</title>
  <type>rich</type>
  <url>https://engineering.nature.global/entry/esp-idf-mbedtls-aes-cfb</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
