<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Форум Guardant &mdash; Specifed algorithm or protected item not support requested service]]></title>
		<link>https://forum.guardant.ru/topic/811/</link>
		<atom:link href="https://forum.guardant.ru/feed/rss/topic/811" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Specifed algorithm or protected item not support requested service».]]></description>
		<lastBuildDate>Wed, 25 Apr 2018 09:15:33 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Specifed algorithm or protected item not support requested service]]></title>
			<link>https://forum.guardant.ru/post/3878/#p3878</link>
			<description><![CDATA[<div class="quotebox"><cite>li.volker пишет:</cite><blockquote><p>Добрый день.<br />Использую ключ code. В мастере по работе с ключом, создал ключ с нуля. Добавил алгоритм AES128. Затем из программы пробую вызвать и получаю ошибку &quot;Specifed algorithm or protected item not support requested service&quot;</p><p>с чем эта ошибка может быть связан, что я забыл сделать?</p><p>Пример кода:<br />&nbsp; szDataStr:=&#039;___ Test Data string for encrypt/decrypt. Length of 64 bytes____&#039;;<br />&nbsp; DataLen := Sizeof(Char)* Length(szDataStr);</p><p>&nbsp; &nbsp; // Implement data encoding by AES128 hardware algorithm<br />&nbsp; &nbsp; write(&#039;Encoding data by AES128 hardware algorithm: &#039;);<br />&nbsp; &nbsp; nRet:= GrdCryptEx(<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; hGrd_writer,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// Handle to Guardant protected container<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 01,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// Number of hardware algorithm AES128<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DataLen,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Data length<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @szDataStr[1],&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Data to be crypted<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GrdAM_OFB or GrdAM_Encode,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // OFB = Output Feed Back<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lenVectorAES,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// size of init vector<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @szInitVectorAES[1],&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // 128-bit init vector<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nil,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Use encryption key stored in the dongle<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nil,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Context is not used<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nil );&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Reserved, must be nil<br />&nbsp; &nbsp; ErrorHandling(hGrd_writer, nRet);</p></blockquote></div><p>Ошибка, возможно, связана с тем, что алгоритм отсутствует в нужной области памяти ключа. Изучив маску можно уточнить такой момент.</p><div class="quotebox"><cite>li.volker пишет:</cite><blockquote><p>Мы решили отказаться от этого алгоритма, в пользу Ecc160</p></blockquote></div><p>Да, такой способ защиты так же возможен. Если появятся новые вопросы - обращайтесь.</p>]]></description>
			<author><![CDATA[null@example.com (Тимофей Ершов)]]></author>
			<pubDate>Wed, 25 Apr 2018 09:15:33 +0000</pubDate>
			<guid>https://forum.guardant.ru/post/3878/#p3878</guid>
		</item>
		<item>
			<title><![CDATA[Re: Specifed algorithm or protected item not support requested service]]></title>
			<link>https://forum.guardant.ru/post/3874/#p3874</link>
			<description><![CDATA[<p>Мы решили отказаться от этого алгоритма, в пользу Ecc160</p>]]></description>
			<author><![CDATA[null@example.com (li.volker)]]></author>
			<pubDate>Wed, 25 Apr 2018 07:42:19 +0000</pubDate>
			<guid>https://forum.guardant.ru/post/3874/#p3874</guid>
		</item>
		<item>
			<title><![CDATA[Re: Specifed algorithm or protected item not support requested service]]></title>
			<link>https://forum.guardant.ru/post/3865/#p3865</link>
			<description><![CDATA[<p>Здравствуйте, пришлите, пожалуйста маску ключа в формате *.nsd на hotline@guardant.ru</p><p>Уточните версию используемого SDK. Пришлите полный отчет диагностики ключа.</p>]]></description>
			<author><![CDATA[null@example.com (Тимофей Ершов)]]></author>
			<pubDate>Tue, 17 Apr 2018 09:57:56 +0000</pubDate>
			<guid>https://forum.guardant.ru/post/3865/#p3865</guid>
		</item>
		<item>
			<title><![CDATA[Specifed algorithm or protected item not support requested service]]></title>
			<link>https://forum.guardant.ru/post/3864/#p3864</link>
			<description><![CDATA[<p>Добрый день.<br />Использую ключ code. В мастере по работе с ключом, создал ключ с нуля. Добавил алгоритм AES128. Затем из программы пробую вызвать и получаю ошибку &quot;Specifed algorithm or protected item not support requested service&quot;</p><p>с чем эта ошибка может быть связан, что я забыл сделать?</p><p>Пример кода:<br />&nbsp; szDataStr:=&#039;___ Test Data string for encrypt/decrypt. Length of 64 bytes____&#039;;<br />&nbsp; DataLen := Sizeof(Char)* Length(szDataStr);</p><p>&nbsp; &nbsp; // Implement data encoding by AES128 hardware algorithm<br />&nbsp; &nbsp; write(&#039;Encoding data by AES128 hardware algorithm: &#039;);<br />&nbsp; &nbsp; nRet:= GrdCryptEx(<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; hGrd_writer,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// Handle to Guardant protected container<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 01,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// Number of hardware algorithm AES128<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DataLen,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Data length<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @szDataStr[1],&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Data to be crypted<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GrdAM_OFB or GrdAM_Encode,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // OFB = Output Feed Back<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lenVectorAES,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// size of init vector<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @szInitVectorAES[1],&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // 128-bit init vector<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nil,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Use encryption key stored in the dongle<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nil,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Context is not used<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nil );&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Reserved, must be nil<br />&nbsp; &nbsp; ErrorHandling(hGrd_writer, nRet);</p>]]></description>
			<author><![CDATA[null@example.com (li.volker)]]></author>
			<pubDate>Tue, 17 Apr 2018 08:36:27 +0000</pubDate>
			<guid>https://forum.guardant.ru/post/3864/#p3864</guid>
		</item>
	</channel>
</rss>
