<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AES-CBC with Padding</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29616/aes-cbc-with-padding</link><description>I am trying to configure the CryptoCell on an NRF52840 to use AES-CBC encryption with PKCS7 padding. When I call the following function, it returns SASI_AES_ILLEGAL_PADDING_TYPE_ERROR: 
 SaSiAesUserContext_t ctx;

SaSiError_t err = SaSi_AesInit(&amp;amp;ctx</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 May 2020 19:44:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29616/aes-cbc-with-padding" /><item><title>RE: AES-CBC with Padding</title><link>https://devzone.nordicsemi.com/thread/250814?ContentTypeID=1</link><pubDate>Tue, 19 May 2020 19:44:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb95bff0-fcee-4886-89df-bf1682f15a67</guid><dc:creator>DamianV</dc:creator><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;while working on a project, I attempted to use CBC with PKCS7 padding, using the SDK nRF5_SDK_15.3.0_59ac345 and I am still getting SASI_AES_ILLEGAL_PADDING_TYPE_ERROR.&lt;/p&gt;
&lt;p&gt;Is the padding method still not supported (which is not evident from the documentation)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AES-CBC with Padding</title><link>https://devzone.nordicsemi.com/thread/117654?ContentTypeID=1</link><pubDate>Sat, 20 Jan 2018 07:18:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d149944-a683-47f3-a2db-826f7c3db4b9</guid><dc:creator>jakub</dc:creator><description>&lt;p&gt;Hi,
This library does not support padding. Documentation is not reflecting reality :(&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>