Bug 1550889 - land NSS d17569aa9d56 UPGRADE_NSS_RELEASE, r=me

--HG--
extra : rebase_source : 4fdf16aeb31e95f10548c847907eeffdbddb2d19
This commit is contained in:
J.C. Jones 2019-06-07 17:51:08 +00:00
parent ec44f652e2
commit 1ab58c0d27
451 changed files with 1513506 additions and 168 deletions

View File

@ -21,10 +21,12 @@ tasks:
$if: 'repository.url[-1] == "/"'
then: {$eval: 'repository.url[:-1]'}
else: {$eval: 'repository.url'}
# scheduler id
schedulerId: 'nss-level-${repository.level}'
in:
taskId: '${ownTaskId}'
taskGroupId: '${ownTaskId}'
schedulerId: 'nss-level-${repository.level}'
schedulerId: '${schedulerId}'
created: {$fromNow: ''}
deadline: {$fromNow: '1 day'}
expires: {$fromNow: '14 days'}
@ -56,6 +58,7 @@ tasks:
TC_OWNER: "${push.owner}"
TC_SOURCE: "${repository.url}"
TC_PROJECT: ${repository.project}
TC_SCHEDULER_ID: "${schedulerId}"
NSS_PUSHLOG_ID: '${push.pushlog_id}'
NSS_HEAD_REPOSITORY: '${repository.url}'
NSS_HEAD_REVISION: '${push.revision}'

View File

@ -1 +1 @@
8082be3a6363
d17569aa9d56

View File

@ -1,8 +1,8 @@
# Dockerfile for running fuzzing tests.
#
# Used for ASAN and Coverity based static-analysis.
# Note that when running this, you need to add `--cap-add SYS_PTRACE` to the
# docker invocation or ASAN won't work.
# On taskcluster use `features: ["allowPtrace"]`.
# On taskcluster for ASAN use `features: ["allowPtrace"]`.
# See https://github.com/google/sanitizers/issues/764#issuecomment-276700920
FROM ubuntu:18.04
LABEL maintainer="Martin Thomson <martin.thomson@gmail.com>"
@ -28,10 +28,12 @@ RUN apt-get update \
mercurial \
ninja-build \
pkg-config \
python-pip \
valgrind \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get autoremove -y && apt-get clean -y
&& apt-get autoremove -y && apt-get clean -y \
&& pip install requests
ENV SHELL /bin/bash
ENV USER worker

View File

@ -296,6 +296,10 @@ export default async function main() {
await scheduleMac("Mac (opt)", {collection: "opt"}, "--opt");
await scheduleMac("Mac (debug)", {collection: "debug"});
// Must be executed after all other tasks are scheduled
queue.clearFilters();
await scheduleCodeReview();
}
@ -460,7 +464,6 @@ async function scheduleLinux(name, overrides, args = "") {
},
symbol: "clang-4"
}));
queue.scheduleTask(merge(extra_base, {
name: `${name} w/ gcc-4.4`,
image: LINUX_GCC44_IMAGE,
@ -1004,6 +1007,33 @@ async function scheduleTools() {
]
}));
queue.scheduleTask(merge(base, {
symbol: "coverity",
name: "coverity",
image: FUZZ_IMAGE,
tags: ['code-review'],
env: {
USE_64: "1",
CC: "clang",
CCC: "clang++",
NSS_AUTOMATION: "1"
},
features: ["taskclusterProxy"],
scopes: ["secrets:get:project/relman/coverity-nss"],
artifacts: {
"public/code-review/coverity.json": {
expires: 24 * 7,
type: "file",
path: "/home/worker/nss/coverity/coverity.json"
}
},
command: [
"/bin/bash",
"-c",
"bin/checkout.sh && nss/automation/taskcluster/scripts/run_coverity.sh"
]
}));
queue.scheduleTask(merge(base, {
symbol: "hacl",
name: "hacl",
@ -1093,3 +1123,38 @@ async function scheduleTools() {
return queue.submit();
}
async function scheduleCodeReview() {
let tasks = queue.taggedTasks("code-review");
if(! tasks) {
console.debug("No code review tasks, skipping ending task");
return
}
// From https://hg.mozilla.org/mozilla-central/file/tip/taskcluster/ci/code-review/kind.yml
queue.scheduleTask({
platform: "nss-tools",
name: "code-review-issues",
description: "List all issues found in static analysis and linting tasks",
// No logic on that task
image: LINUX_IMAGE,
command: ["/bin/true"],
// This task must run after all analyzer tasks are completed
parents: tasks,
// This option permits to run the task
// regardless of the analyzers tasks exit status
// as we are interested in the task failures
requires: "all-resolved",
// Publish code review trigger on pulse
routes: ["project.relman.codereview.v1.try_ending"],
kind: "code-review",
symbol: "E"
});
return queue.submit();
};

View File

@ -3,12 +3,19 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
import * as try_syntax from "./try_syntax";
import * as queue from "./queue";
import extend from "./extend";
const main = async () => {
// Init try syntax filter.
if (process.env.TC_PROJECT == "nss-try") {
await try_syntax.initFilter();
} else {
// Coverity should not be run on landings, only by request (typically
// by Phabricator).
queue.filter(task => {
return task.symbol != "coverity";
});
}
// Extend the task graph.

View File

@ -12,6 +12,7 @@ let maps = [];
let filters = [];
let tasks = new Map();
let tags = new Map();
let image_tasks = new Map();
let queue = new taskcluster.Queue({
@ -101,6 +102,9 @@ function convertTask(def) {
dependencies.push(def.parent);
env.TC_PARENT_TASK_ID = def.parent;
}
if (def.parents) {
dependencies = dependencies.concat(def.parents);
}
if (def.tests) {
env.NSS_TESTS = def.tests;
@ -132,16 +136,23 @@ function convertTask(def) {
}
}
if (def.scopes) {
// Need to add existing scopes in the task definition
scopes.push.apply(scopes, def.scopes)
}
return {
provisionerId: def.provisioner || "aws-provisioner-v1",
workerType: def.workerType || "hg-worker",
schedulerId: "task-graph-scheduler",
schedulerId: process.env.TC_SCHEDULER_ID,
taskGroupId: process.env.TASK_ID,
scopes,
created: fromNow(0),
deadline: fromNow(24),
dependencies,
requires: def.requires || "all-completed",
routes: parseRoutes(def.routes || []),
metadata: {
@ -167,6 +178,14 @@ export function filter(fun) {
filters.push(fun);
}
export function clearFilters(fun) {
filters = [];
}
export function taggedTasks(tag) {
return tags[tag];
}
export function scheduleTask(def) {
let taskId = slugid.v4();
tasks.set(taskId, merge({}, def));
@ -188,6 +207,16 @@ export async function submit() {
let log_id = `${task.name} @ ${task.platform}[${task.collection || "opt"}]`;
console.log(`+ Submitting ${log_id}.`);
// Index that task for each tag specified
if(task.tags) {
task.tags.map(tag => {
if(!tags[tag]) {
tags[tag] = [];
}
tags[tag].push(taskId);
});
}
let parent = task.parent;
// Convert the task definition.

View File

@ -55,7 +55,7 @@ function parseOptions(opts) {
}
// Parse tools.
let allTools = ["clang-format", "scan-build", "hacl", "saw", "abi", "coverage"];
let allTools = ["clang-format", "scan-build", "coverity", "hacl", "saw", "abi", "coverage"];
let tools = intersect(opts.tools.split(/\s*,\s*/), allTools);
// If the given value is "all" run all tools.

View File

@ -103,6 +103,7 @@ abi_diff()
cat ${HGDIR}/nss/automation/abi-check/new-report-temp$SO.txt \
| grep -v "^Functions changes summary:" \
| grep -v "^Variables changes summary:" \
| sed -e 's/__anonymous_enum__[0-9]*/__anonymous_enum__/g' \
> ${HGDIR}/nss/automation/abi-check/new-report-$SO.txt
rm -f ${HGDIR}/nss/automation/abi-check/new-report-temp$SO.txt

View File

@ -0,0 +1,15 @@
#!/usr/bin/env bash
source $(dirname "$0")/tools.sh
# Clone NSPR if needed.
if [ ! -d "nspr" ]; then
hg_clone https://hg.mozilla.org/projects/nspr ./nspr default
fi
# Build and run Coverity
cd nss
./mach static-analysis
# Return the exit code of the Coverity Analysis
exit $?

View File

@ -0,0 +1 @@
The scripts have been moved to tests/fips/cavs_scripts

File diff suppressed because it is too large Load Diff

View File

@ -10,4 +10,3 @@
*/
#error "Do not include this header file."

View File

@ -427,6 +427,9 @@ of the attribute codes:
</listitem>
<listitem>
<para><command>J</command> (as an object signer)</para>
</listitem>
<listitem>
<para><command>I</command> (as an IPSEC user)</para>
</listitem>
</itemizedlist></listitem>
</varlistentry>

View File

@ -48,8 +48,15 @@ class Pk11KeyImportTestBase : public ::testing::Test {
ScopedSECKEYEncryptedPrivateKeyInfo key_info;
ScopedSECItem public_value;
GenerateAndExport(&key_type, &key_info, &public_value);
ASSERT_NE(nullptr, key_info);
ASSERT_NE(nullptr, public_value);
// Note: NSS is currently unable export wrapped DH keys, so this doesn't
// test
// CKM_DH_PKCS_KEY_PAIR_GEN beyond generate and verify
if (key_type == dhKey) {
return;
}
ASSERT_NE(nullptr, key_info);
// Now import the encrypted key.
static const uint8_t nick[] = "nick";
@ -78,17 +85,41 @@ class Pk11KeyImportTestBase : public ::testing::Test {
CK_MECHANISM_TYPE mech_;
private:
SECItem GetPublicComponent(ScopedSECKEYPublicKey& pub_key) {
SECItem null = {siBuffer, NULL, 0};
switch (SECKEY_GetPublicKeyType(pub_key.get())) {
case rsaKey:
case rsaPssKey:
case rsaOaepKey:
return pub_key->u.rsa.modulus;
case keaKey:
return pub_key->u.kea.publicValue;
case dsaKey:
return pub_key->u.dsa.publicValue;
case dhKey:
return pub_key->u.dh.publicValue;
case ecKey:
return pub_key->u.ec.publicValue;
case fortezzaKey: /* depricated */
case nullKey:
/* didn't use default here so we can catch new key types at compile time
*/
break;
}
return null;
}
void CheckForPublicKey(const ScopedSECKEYPrivateKey& priv_key,
const SECItem* expected_public) {
// Verify the public key exists.
StackSECItem priv_id;
KeyType type = SECKEY_GetPrivateKeyType(priv_key.get());
SECStatus rv = PK11_ReadRawAttribute(PK11_TypePrivKey, priv_key.get(),
CKA_ID, &priv_id);
ASSERT_EQ(SECSuccess, rv) << "Couldn't read CKA_ID from private key: "
<< PORT_ErrorToName(PORT_GetError());
CK_ATTRIBUTE_TYPE value_type = CKA_VALUE;
switch (SECKEY_GetPrivateKeyType(priv_key.get())) {
switch (type) {
case rsaKey:
value_type = CKA_MODULUS;
break;
@ -106,6 +137,8 @@ class Pk11KeyImportTestBase : public ::testing::Test {
FAIL() << "unknown key type";
}
// Scan public key objects until we find one with the same CKA_ID as
// priv_key
std::unique_ptr<PK11GenericObject, PK11GenericObjectsDeleter> objs(
PK11_FindGenericObjects(slot_.get(), CKO_PUBLIC_KEY));
ASSERT_NE(nullptr, objs);
@ -128,20 +161,44 @@ class Pk11KeyImportTestBase : public ::testing::Test {
ASSERT_EQ(1U, token.len);
ASSERT_NE(0, token.data[0]);
StackSECItem value;
rv = PK11_ReadRawAttribute(PK11_TypeGeneric, obj, value_type, &value);
StackSECItem raw_value;
SECItem decoded_value;
rv = PK11_ReadRawAttribute(PK11_TypeGeneric, obj, value_type, &raw_value);
ASSERT_EQ(SECSuccess, rv);
SECItem value = raw_value;
// Decode the EC_POINT and check the output against expected.
// CKA_EC_POINT isn't stable, see Bug 1520649.
ScopedPLArenaPool arena(PORT_NewArena(DER_DEFAULT_CHUNKSIZE));
ASSERT_TRUE(arena);
if (value_type == CKA_EC_POINT) {
continue;
// If this fails due to the noted inconsistency, we may need to
// check the whole raw_value, or remove a leading UNCOMPRESSED_POINT tag
rv = SEC_QuickDERDecodeItem(arena.get(), &decoded_value,
SEC_ASN1_GET(SEC_OctetStringTemplate),
&raw_value);
ASSERT_EQ(SECSuccess, rv);
value = decoded_value;
}
ASSERT_TRUE(SECITEM_ItemsAreEqual(expected_public, &value))
<< "expected: "
<< DataBuffer(expected_public->data, expected_public->len)
<< std::endl
<< "actual: " << DataBuffer(value.data, value.len) << std::endl;
// Finally, convert the private to public and ensure it matches.
ScopedSECKEYPublicKey pub_key(SECKEY_ConvertToPublicKey(priv_key.get()));
ASSERT_TRUE(pub_key);
SECItem converted_public = GetPublicComponent(pub_key);
ASSERT_TRUE(converted_public.len != 0);
ASSERT_TRUE(SECITEM_ItemsAreEqual(expected_public, &converted_public))
<< "expected: "
<< DataBuffer(expected_public->data, expected_public->len)
<< std::endl
<< "actual: "
<< DataBuffer(converted_public.data, converted_public.len)
<< std::endl;
}
}
@ -160,13 +217,6 @@ class Pk11KeyImportTestBase : public ::testing::Test {
ScopedSECKEYPublicKey pub_key(pub_tmp);
ASSERT_NE(nullptr, pub_key);
// Wrap and export the key.
ScopedSECKEYEncryptedPrivateKeyInfo epki(PK11_ExportEncryptedPrivKeyInfo(
slot_.get(), SEC_OID_AES_256_CBC, password_.get(), priv_key.get(), 1,
nullptr));
ASSERT_NE(nullptr, epki) << "PK11_ExportEncryptedPrivKeyInfo failed: "
<< PORT_ErrorToName(PORT_GetError());
// Save the public value, which we will need on import */
SECItem* pub_val;
KeyType t = SECKEY_GetPublicKeyType(pub_key.get());
@ -190,8 +240,22 @@ class Pk11KeyImportTestBase : public ::testing::Test {
CheckForPublicKey(priv_key, pub_val);
*key_type = t;
key_info->swap(epki);
public_value->reset(SECITEM_DupItem(pub_val));
// Note: NSS is currently unable export wrapped DH keys, so this doesn't
// test
// CKM_DH_PKCS_KEY_PAIR_GEN beyond generate and verify
if (mech_ == CKM_DH_PKCS_KEY_PAIR_GEN) {
return;
}
// Wrap and export the key.
ScopedSECKEYEncryptedPrivateKeyInfo epki(PK11_ExportEncryptedPrivKeyInfo(
slot_.get(), SEC_OID_AES_256_CBC, password_.get(), priv_key.get(), 1,
nullptr));
ASSERT_NE(nullptr, epki) << "PK11_ExportEncryptedPrivKeyInfo failed: "
<< PORT_ErrorToName(PORT_GetError());
key_info->swap(epki);
}
ScopedPK11SlotInfo slot_;
@ -281,9 +345,8 @@ TEST_P(Pk11KeyImportTest, GenerateExportImport) { Test(); }
INSTANTIATE_TEST_CASE_P(Pk11KeyImportTest, Pk11KeyImportTest,
::testing::Values(CKM_RSA_PKCS_KEY_PAIR_GEN,
CKM_DSA_KEY_PAIR_GEN));
// Note: NSS is currently unable export wrapped DH keys, so this doesn't test
// CKM_DH_PKCS_KEY_PAIR_GEN.
CKM_DSA_KEY_PAIR_GEN,
CKM_DH_PKCS_KEY_PAIR_GEN));
class Pk11KeyImportTestEC : public Pk11KeyImportTestBase,
public ::testing::WithParamInterface<SECOidTag> {

View File

@ -1206,6 +1206,37 @@ SECKEY_CopyPublicKey(const SECKEYPublicKey *pubk)
return NULL;
}
/*
* Use the private key to find a public key handle. The handle will be on
* the same slot as the private key.
*/
static CK_OBJECT_HANDLE
seckey_FindPublicKeyHandle(SECKEYPrivateKey *privk, SECKEYPublicKey *pubk)
{
CK_OBJECT_HANDLE keyID;
/* this helper function is only used below. If we want to make this more
* general, we would need to free up any already cached handles if the
* slot doesn't match up with the private key slot */
PORT_Assert(pubk->pkcs11ID == CK_INVALID_HANDLE);
/* first look for a matching public key */
keyID = PK11_MatchItem(privk->pkcs11Slot, privk->pkcs11ID, CKO_PUBLIC_KEY);
if (keyID != CK_INVALID_HANDLE) {
return keyID;
}
/* none found, create a temp one, make the pubk the owner */
pubk->pkcs11ID = PK11_DerivePubKeyFromPrivKey(privk);
if (pubk->pkcs11ID == CK_INVALID_HANDLE) {
/* end of the road. Token doesn't have matching public key, nor can
* token regenerate a new public key from and existing private key. */
return CK_INVALID_HANDLE;
}
pubk->pkcs11Slot = PK11_ReferenceSlot(privk->pkcs11Slot);
return pubk->pkcs11ID;
}
SECKEYPublicKey *
SECKEY_ConvertToPublicKey(SECKEYPrivateKey *privk)
{
@ -1213,6 +1244,8 @@ SECKEY_ConvertToPublicKey(SECKEYPrivateKey *privk)
PLArenaPool *arena;
CERTCertificate *cert;
SECStatus rv;
CK_OBJECT_HANDLE pubKeyHandle;
SECItem decodedPoint;
/*
* First try to look up the cert.
@ -1243,11 +1276,47 @@ SECKEY_ConvertToPublicKey(SECKEYPrivateKey *privk)
switch (privk->keyType) {
case nullKey:
case dhKey:
case dsaKey:
/* Nothing to query, if the cert isn't there, we're done -- no way
* to get the public key */
break;
case dsaKey:
pubKeyHandle = seckey_FindPublicKeyHandle(privk, pubk);
if (pubKeyHandle == CK_INVALID_HANDLE)
break;
rv = PK11_ReadAttribute(privk->pkcs11Slot, pubKeyHandle,
CKA_BASE, arena, &pubk->u.dsa.params.base);
if (rv != SECSuccess)
break;
rv = PK11_ReadAttribute(privk->pkcs11Slot, pubKeyHandle,
CKA_PRIME, arena, &pubk->u.dsa.params.prime);
if (rv != SECSuccess)
break;
rv = PK11_ReadAttribute(privk->pkcs11Slot, pubKeyHandle,
CKA_SUBPRIME, arena, &pubk->u.dsa.params.subPrime);
if (rv != SECSuccess)
break;
rv = PK11_ReadAttribute(privk->pkcs11Slot, pubKeyHandle,
CKA_VALUE, arena, &pubk->u.dsa.publicValue);
if (rv != SECSuccess)
break;
return pubk;
case dhKey:
pubKeyHandle = seckey_FindPublicKeyHandle(privk, pubk);
if (pubKeyHandle == CK_INVALID_HANDLE)
break;
rv = PK11_ReadAttribute(privk->pkcs11Slot, pubKeyHandle,
CKA_BASE, arena, &pubk->u.dh.base);
if (rv != SECSuccess)
break;
rv = PK11_ReadAttribute(privk->pkcs11Slot, pubKeyHandle,
CKA_PRIME, arena, &pubk->u.dh.prime);
if (rv != SECSuccess)
break;
rv = PK11_ReadAttribute(privk->pkcs11Slot, pubKeyHandle,
CKA_VALUE, arena, &pubk->u.dh.publicValue);
if (rv != SECSuccess)
break;
return pubk;
case rsaKey:
rv = PK11_ReadAttribute(privk->pkcs11Slot, privk->pkcs11ID,
CKA_MODULUS, arena, &pubk->u.rsa.modulus);
@ -1258,7 +1327,6 @@ SECKEY_ConvertToPublicKey(SECKEYPrivateKey *privk)
if (rv != SECSuccess)
break;
return pubk;
break;
case ecKey:
rv = PK11_ReadAttribute(privk->pkcs11Slot, privk->pkcs11ID,
CKA_EC_PARAMS, arena, &pubk->u.ec.DEREncodedParams);
@ -1268,7 +1336,23 @@ SECKEY_ConvertToPublicKey(SECKEYPrivateKey *privk)
rv = PK11_ReadAttribute(privk->pkcs11Slot, privk->pkcs11ID,
CKA_EC_POINT, arena, &pubk->u.ec.publicValue);
if (rv != SECSuccess || pubk->u.ec.publicValue.len == 0) {
break;
pubKeyHandle = seckey_FindPublicKeyHandle(privk, pubk);
if (pubKeyHandle == CK_INVALID_HANDLE)
break;
rv = PK11_ReadAttribute(privk->pkcs11Slot, pubKeyHandle,
CKA_EC_POINT, arena, &pubk->u.ec.publicValue);
if (rv != SECSuccess)
break;
}
/* ec.publicValue should be decoded, PKCS #11 defines CKA_EC_POINT
* as encoded, but it's not always. try do decoded it and if it
* succeeds store the decoded value */
rv = SEC_QuickDERDecodeItem(arena, &decodedPoint,
SEC_ASN1_GET(SEC_OctetStringTemplate), &pubk->u.ec.publicValue);
if (rv == SECSuccess) {
/* both values are in the public key arena, so it's safe to
* overwrite the old value */
pubk->u.ec.publicValue = decodedPoint;
}
pubk->u.ec.encoding = ECPoint_Undefined;
return pubk;
@ -1276,7 +1360,9 @@ SECKEY_ConvertToPublicKey(SECKEYPrivateKey *privk)
break;
}
PORT_FreeArena(arena, PR_FALSE);
/* must use Destroy public key here, because some paths create temporary
* PKCS #11 objects which need to be freed */
SECKEY_DestroyPublicKey(pubk);
return NULL;
}

View File

@ -222,6 +222,43 @@
]
},
},
{
'target_name': 'freebl_64int_3',
'includes': [
'freebl_base.gypi',
],
'type': 'shared_library',
'dependencies': [
'<(DEPTH)/exports.gyp:nss_exports',
'hw-acc-crypto',
],
},
{
'target_name': 'freebl_64fpu_3',
'includes': [
'freebl_base.gypi',
],
'type': 'shared_library',
'sources': [
'mpi/mpi_sparc.c',
'mpi/mpv_sparcv9.s',
'mpi/montmulfv9.s',
],
'dependencies': [
'<(DEPTH)/exports.gyp:nss_exports',
'hw-acc-crypto',
],
'asflags_mozilla': [
'-mcpu=v9', '-Wa,-xarch=v9a'
],
'defines': [
'MP_NO_MP_WORD',
'MP_USE_UINT_DIGIT',
'MP_ASSEMBLY_MULTIPLY',
'MP_USING_MONT_MULF',
'MP_MONT_USE_MP_MUL',
],
},
],
'conditions': [
[ 'OS=="linux"', {

View File

@ -240,6 +240,8 @@ PK11_GetKeyType(CK_MECHANISM_TYPE type, unsigned long len)
case CKM_AES_KEY_GEN:
case CKM_NETSCAPE_AES_KEY_WRAP:
case CKM_NETSCAPE_AES_KEY_WRAP_PAD:
case CKM_AES_XCBC_MAC:
case CKM_AES_XCBC_MAC_96:
return CKK_AES;
case CKM_DES_ECB:
case CKM_DES_CBC:

View File

@ -111,6 +111,7 @@ CK_OBJECT_HANDLE PK11_FindObjectForCert(CERTCertificate *cert,
PK11SymKey *pk11_CopyToSlot(PK11SlotInfo *slot, CK_MECHANISM_TYPE type,
CK_ATTRIBUTE_TYPE operation, PK11SymKey *symKey);
unsigned int pk11_GetPredefinedKeyLength(CK_KEY_TYPE keyType);
CK_OBJECT_HANDLE PK11_DerivePubKeyFromPrivKey(SECKEYPrivateKey *privKey);
/**********************************************************************
* Certs

View File

@ -1598,6 +1598,7 @@ PK11_DeriveWithTemplate(PK11SymKey *baseKey, CK_MECHANISM_TYPE derive,
PK11_FreeSymKey(newBaseKey);
if (crv != CKR_OK) {
PK11_FreeSymKey(symKey);
PORT_SetError(PK11_MapError(crv));
return NULL;
}
return symKey;
@ -1839,6 +1840,35 @@ loser:
return NULL;
}
/*
* This regenerate a public key from a private key. This function is currently
* NSS private. If we want to make it public, we need to add and optional
* template or at least flags (a.la. PK11_DeriveWithFlags).
*/
CK_OBJECT_HANDLE
PK11_DerivePubKeyFromPrivKey(SECKEYPrivateKey *privKey)
{
PK11SlotInfo *slot = privKey->pkcs11Slot;
CK_MECHANISM mechanism;
CK_OBJECT_HANDLE objectID = CK_INVALID_HANDLE;
CK_RV crv;
mechanism.mechanism = CKM_NSS_PUB_FROM_PRIV;
mechanism.pParameter = NULL;
mechanism.ulParameterLen = 0;
PK11_EnterSlotMonitor(slot);
crv = PK11_GETTAB(slot)->C_DeriveKey(slot->session, &mechanism,
privKey->pkcs11ID, NULL, 0,
&objectID);
PK11_ExitSlotMonitor(slot);
if (crv != CKR_OK) {
PORT_SetError(PK11_MapError(crv));
return CK_INVALID_HANDLE;
}
return objectID;
}
/*
* This Generates a wrapping key based on a privateKey, publicKey, and two
* random numbers. For Mail usage RandomB should be NULL. In the Sender's

View File

@ -12,6 +12,7 @@
#include "lowkeyi.h"
#include "secoid.h"
#include "secerr.h"
#include "pkcs11i.h"
/*
* different platforms have different ways of calling and initial entry point
@ -626,6 +627,10 @@ sftk_startup_tests(void)
* the token */
return;
}
rv = sftk_fips_IKE_PowerUpSelfTests();
if (rv != SECSuccess) {
return;
}
sftk_self_tests_success = PR_TRUE;
}

View File

@ -261,6 +261,7 @@ NSSLOWKEYPublicKey *
nsslowkey_ConvertToPublicKey(NSSLOWKEYPrivateKey *privk)
{
NSSLOWKEYPublicKey *pubk;
SECItem publicValue;
PLArenaPool *arena;
arena = PORT_NewArena(DER_DEFAULT_CHUNKSIZE);
@ -301,6 +302,19 @@ nsslowkey_ConvertToPublicKey(NSSLOWKEYPrivateKey *privk)
pubk->arena = arena;
pubk->keyType = privk->keyType;
/* if the public key value doesn't exist, calculate it */
if (privk->u.dsa.publicValue.len == 0) {
rv = DH_Derive(&privk->u.dsa.params.base, &privk->u.dsa.params.prime,
&privk->u.dsa.privateValue, &publicValue, 0);
if (rv != SECSuccess) {
break;
}
rv = SECITEM_CopyItem(privk->arena, &privk->u.dsa.publicValue, &publicValue);
SECITEM_FreeItem(&publicValue, PR_FALSE);
if (rv != SECSuccess) {
break;
}
}
rv = SECITEM_CopyItem(arena, &pubk->u.dsa.publicValue,
&privk->u.dsa.publicValue);
if (rv != SECSuccess)
@ -327,6 +341,19 @@ nsslowkey_ConvertToPublicKey(NSSLOWKEYPrivateKey *privk)
pubk->arena = arena;
pubk->keyType = privk->keyType;
/* if the public key value doesn't exist, calculate it */
if (privk->u.dh.publicValue.len == 0) {
rv = DH_Derive(&privk->u.dh.base, &privk->u.dh.prime,
&privk->u.dh.privateValue, &publicValue, 0);
if (rv != SECSuccess) {
break;
}
rv = SECITEM_CopyItem(privk->arena, &privk->u.dh.publicValue, &publicValue);
SECITEM_FreeItem(&publicValue, PR_FALSE);
if (rv != SECSuccess) {
break;
}
}
rv = SECITEM_CopyItem(arena, &pubk->u.dh.publicValue,
&privk->u.dh.publicValue);
if (rv != SECSuccess)

View File

@ -46,6 +46,7 @@ CSRCS = \
sdb.c \
sftkdb.c \
sftkhmac.c \
sftkike.c \
sftkpars.c \
sftkpwd.c \
softkver.c \

View File

@ -328,6 +328,8 @@ static const struct mechanismList mechanisms[] = {
{ CKM_AES_CTS, { 16, 32, CKF_EN_DE }, PR_TRUE },
{ CKM_AES_CTR, { 16, 32, CKF_EN_DE }, PR_TRUE },
{ CKM_AES_GCM, { 16, 32, CKF_EN_DE }, PR_TRUE },
{ CKM_AES_XCBC_MAC_96, { 16, 16, CKF_SN_VR }, PR_TRUE },
{ CKM_AES_XCBC_MAC, { 16, 16, CKF_SN_VR }, PR_TRUE },
/* ------------------------- Camellia Operations --------------------- */
{ CKM_CAMELLIA_KEY_GEN, { 16, 32, CKF_GENERATE }, PR_TRUE },
{ CKM_CAMELLIA_ECB, { 16, 32, CKF_EN_DE_WR_UN }, PR_TRUE },
@ -510,7 +512,11 @@ static const struct mechanismList mechanisms[] = {
{ CKM_NSS_JPAKE_FINAL_SHA512, { 0, 0, CKF_DERIVE }, PR_TRUE },
/* -------------------- Constant Time TLS MACs ----------------------- */
{ CKM_NSS_HMAC_CONSTANT_TIME, { 0, 0, CKF_DIGEST }, PR_TRUE },
{ CKM_NSS_SSL3_MAC_CONSTANT_TIME, { 0, 0, CKF_DIGEST }, PR_TRUE }
{ CKM_NSS_SSL3_MAC_CONSTANT_TIME, { 0, 0, CKF_DIGEST }, PR_TRUE },
/* --------------------IPSEC ----------------------- */
{ CKM_NSS_IKE_PRF_PLUS_DERIVE, { 8, 255 * 64, CKF_DERIVE }, PR_TRUE },
{ CKM_NSS_IKE_PRF_DERIVE, { 8, 64, CKF_DERIVE }, PR_TRUE },
{ CKM_NSS_IKE1_PRF_DERIVE, { 8, 64, CKF_DERIVE }, PR_TRUE }
};
static const CK_ULONG mechanismCount = sizeof(mechanisms) / sizeof(mechanisms[0]);
@ -2200,6 +2206,119 @@ sftk_GetPrivKey(SFTKObject *object, CK_KEY_TYPE key_type, CK_RV *crvp)
return priv;
}
/* populate a public key object from a lowpublic keys structure */
CK_RV
sftk_PutPubKey(SFTKObject *publicKey, SFTKObject *privateKey, CK_KEY_TYPE keyType, NSSLOWKEYPublicKey *pubKey)
{
CK_OBJECT_CLASS classType = CKO_PUBLIC_KEY;
CK_BBOOL cktrue = CK_TRUE;
CK_RV crv = CKR_OK;
sftk_DeleteAttributeType(publicKey, CKA_CLASS);
sftk_DeleteAttributeType(publicKey, CKA_KEY_TYPE);
sftk_DeleteAttributeType(publicKey, CKA_VALUE);
switch (keyType) {
case CKK_RSA:
sftk_DeleteAttributeType(publicKey, CKA_MODULUS);
sftk_DeleteAttributeType(publicKey, CKA_PUBLIC_EXPONENT);
/* format the keys */
/* fill in the RSA dependent paramenters in the public key */
crv = sftk_AddAttributeType(publicKey, CKA_MODULUS,
sftk_item_expand(&pubKey->u.rsa.modulus));
if (crv != CKR_OK) {
break;
}
crv = sftk_AddAttributeType(publicKey, CKA_PUBLIC_EXPONENT,
sftk_item_expand(&pubKey->u.rsa.publicExponent));
break;
case CKK_DSA:
sftk_DeleteAttributeType(publicKey, CKA_PRIME);
sftk_DeleteAttributeType(publicKey, CKA_SUBPRIME);
sftk_DeleteAttributeType(publicKey, CKA_BASE);
crv = sftk_AddAttributeType(publicKey, CKA_PRIME,
sftk_item_expand(&pubKey->u.dsa.params.prime));
if (crv != CKR_OK) {
break;
}
crv = sftk_AddAttributeType(publicKey, CKA_SUBPRIME,
sftk_item_expand(&pubKey->u.dsa.params.subPrime));
if (crv != CKR_OK) {
break;
}
crv = sftk_AddAttributeType(publicKey, CKA_BASE,
sftk_item_expand(&pubKey->u.dsa.params.base));
if (crv != CKR_OK) {
break;
}
crv = sftk_AddAttributeType(publicKey, CKA_VALUE,
sftk_item_expand(&pubKey->u.dsa.publicValue));
break;
case CKK_DH:
sftk_DeleteAttributeType(publicKey, CKA_PRIME);
sftk_DeleteAttributeType(publicKey, CKA_BASE);
crv = sftk_AddAttributeType(publicKey, CKA_PRIME,
sftk_item_expand(&pubKey->u.dh.prime));
if (crv != CKR_OK) {
break;
}
crv = sftk_AddAttributeType(publicKey, CKA_BASE,
sftk_item_expand(&pubKey->u.dh.base));
if (crv != CKR_OK) {
break;
}
crv = sftk_AddAttributeType(publicKey, CKA_VALUE,
sftk_item_expand(&pubKey->u.dh.publicValue));
break;
case CKK_EC:
sftk_DeleteAttributeType(publicKey, CKA_EC_PARAMS);
sftk_DeleteAttributeType(publicKey, CKA_EC_POINT);
crv = sftk_AddAttributeType(publicKey, CKA_EC_PARAMS,
sftk_item_expand(&pubKey->u.ec.ecParams.DEREncoding));
if (crv != CKR_OK) {
break;
}
crv = sftk_AddAttributeType(publicKey, CKA_EC_POINT,
sftk_item_expand(&pubKey->u.ec.publicValue));
break;
default:
return CKR_KEY_TYPE_INCONSISTENT;
}
crv = sftk_AddAttributeType(publicKey, CKA_CLASS, &classType,
sizeof(CK_OBJECT_CLASS));
if (crv != CKR_OK)
return crv;
crv = sftk_AddAttributeType(publicKey, CKA_KEY_TYPE, &keyType,
sizeof(CK_KEY_TYPE));
if (crv != CKR_OK)
return crv;
/* now handle the operator attributes */
if (sftk_isTrue(privateKey, CKA_DECRYPT)) {
crv = sftk_forceAttribute(publicKey, CKA_ENCRYPT, &cktrue, sizeof(CK_BBOOL));
if (crv != CKR_OK) {
return crv;
}
}
if (sftk_isTrue(privateKey, CKA_SIGN)) {
crv = sftk_forceAttribute(publicKey, CKA_VERIFY, &cktrue, sizeof(CK_BBOOL));
if (crv != CKR_OK) {
return crv;
}
}
if (sftk_isTrue(privateKey, CKA_SIGN_RECOVER)) {
crv = sftk_forceAttribute(publicKey, CKA_VERIFY_RECOVER, &cktrue, sizeof(CK_BBOOL));
if (crv != CKR_OK) {
return crv;
}
}
if (sftk_isTrue(privateKey, CKA_DERIVE)) {
crv = sftk_forceAttribute(publicKey, CKA_DERIVE, &cktrue, sizeof(CK_BBOOL));
if (crv != CKR_OK) {
return crv;
}
}
return crv;
}
/*
**************************** Symetric Key utils ************************
*/

View File

@ -96,42 +96,10 @@ sftk_Space(void *data, PRBool freeit)
/*
* map all the SEC_ERROR_xxx error codes that may be returned by freebl
* functions to CKR_xxx. return CKR_DEVICE_ERROR by default for backward
* compatibility.
* functions to CKR_xxx. Most of the mapping is done in
* sftk_mapCryptError (now in pkcs11u.c). The next two functions adjust
* that mapping based for different contexts (Decrypt or Verify).
*/
static CK_RV
sftk_MapCryptError(int error)
{
switch (error) {
case SEC_ERROR_INVALID_ARGS:
case SEC_ERROR_BAD_DATA: /* MP_RANGE gets mapped to this */
return CKR_ARGUMENTS_BAD;
case SEC_ERROR_INPUT_LEN:
return CKR_DATA_LEN_RANGE;
case SEC_ERROR_OUTPUT_LEN:
return CKR_BUFFER_TOO_SMALL;
case SEC_ERROR_LIBRARY_FAILURE:
return CKR_GENERAL_ERROR;
case SEC_ERROR_NO_MEMORY:
return CKR_HOST_MEMORY;
case SEC_ERROR_BAD_SIGNATURE:
return CKR_SIGNATURE_INVALID;
case SEC_ERROR_INVALID_KEY:
return CKR_KEY_SIZE_RANGE;
case SEC_ERROR_BAD_KEY: /* an EC public key that fails validation */
return CKR_KEY_SIZE_RANGE; /* the closest error code */
case SEC_ERROR_UNSUPPORTED_EC_POINT_FORM:
return CKR_TEMPLATE_INCONSISTENT;
case SEC_ERROR_UNSUPPORTED_KEYALG:
return CKR_MECHANISM_INVALID;
case SEC_ERROR_UNSUPPORTED_ELLIPTIC_CURVE:
return CKR_DOMAIN_PARAMS_INVALID;
/* key pair generation failed after max number of attempts */
case SEC_ERROR_NEED_RANDOM:
return CKR_FUNCTION_FAILED;
}
return CKR_DEVICE_ERROR;
}
/* used by Decrypt and UnwrapKey (indirectly) */
static CK_RV
@ -2162,9 +2130,12 @@ sftk_InitCBCMac(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism,
CK_RC5_MAC_GENERAL_PARAMS *rc5_mac;
#endif
unsigned char ivBlock[SFTK_MAX_BLOCK_SIZE];
unsigned char k2[SFTK_MAX_BLOCK_SIZE];
unsigned char k3[SFTK_MAX_BLOCK_SIZE];
SFTKSessionContext *context;
CK_RV crv;
unsigned int blockSize;
PRBool isXCBC = PR_FALSE;
switch (pMechanism->mechanism) {
case CKM_RC2_MAC_GENERAL:
@ -2268,6 +2239,26 @@ sftk_InitCBCMac(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism,
cbc_mechanism.pParameter = &ivBlock;
cbc_mechanism.ulParameterLen = blockSize;
break;
case CKM_AES_XCBC_MAC_96:
case CKM_AES_XCBC_MAC:
/* The only difference between CKM_AES_XCBC_MAC
* and CKM_AES_XCBC_MAC_96 is the size of the returned mac. */
mac_bytes = pMechanism->mechanism == CKM_AES_XCBC_MAC_96 ? 12 : 16;
blockSize = 16;
PORT_Memset(ivBlock, 0, blockSize);
cbc_mechanism.mechanism = CKM_AES_CBC;
cbc_mechanism.pParameter = &ivBlock;
cbc_mechanism.ulParameterLen = blockSize;
/* is XCBC requires extra processing at the end of the operation */
isXCBC = PR_TRUE;
/* The input key is used to generate k1, k2, and k3. k2 and k3
* are used at the end in the pad step. k1 replaces the input
* key in the aes cbc mac */
crv = sftk_aes_xcbc_new_keys(hSession, hKey, &hKey, k2, k3);
if (crv != CKR_OK) {
return crv;
}
break;
default:
return CKR_FUNCTION_NOT_SUPPORTED;
}
@ -2277,24 +2268,43 @@ sftk_InitCBCMac(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism,
if (mac_bytes == SFTK_INVALID_MAC_SIZE)
mac_bytes = blockSize >> 1;
else {
if (mac_bytes > blockSize)
return CKR_MECHANISM_PARAM_INVALID;
if (mac_bytes > blockSize) {
crv = CKR_MECHANISM_PARAM_INVALID;
goto fail;
}
}
crv = sftk_CryptInit(hSession, &cbc_mechanism, hKey,
CKA_ENCRYPT, /* CBC mech is able to ENCRYPT, not SIGN/VERIFY */
keyUsage, contextType, PR_TRUE);
if (crv != CKR_OK)
return crv;
goto fail;
crv = sftk_GetContext(hSession, &context, contextType, PR_TRUE, NULL);
/* this shouldn't happen! */
PORT_Assert(crv == CKR_OK);
if (crv != CKR_OK)
return crv;
goto fail;
context->blockSize = blockSize;
context->macSize = mac_bytes;
context->isXCBC = isXCBC;
if (isXCBC) {
/* save the xcbc specific parameters */
PORT_Memcpy(context->k2, k2, blockSize);
PORT_Memcpy(context->k3, k3, blockSize);
PORT_Memset(k2, 0, blockSize);
PORT_Memset(k3, 0, blockSize);
/* get rid of the temp key now that the context has been created */
NSC_DestroyObject(hSession, hKey);
}
return CKR_OK;
fail:
if (isXCBC) {
PORT_Memset(k2, 0, blockSize);
PORT_Memset(k3, 0, blockSize);
NSC_DestroyObject(hSession, hKey); /* get rid of our temp key */
}
return crv;
}
/*
@ -2910,6 +2920,13 @@ sftk_MACFinal(SFTKSessionContext *ctx)
{
unsigned int padLen = ctx->padDataLength;
/* pad and proceed the residual */
if (ctx->isXCBC) {
CK_RV crv = sftk_xcbc_mac_pad(ctx->padBuf, padLen, ctx->blockSize,
ctx->k2, ctx->k3);
if (crv != CKR_OK)
return crv;
return sftk_MACBlock(ctx, ctx->padBuf);
}
if (padLen) {
/* shd clr ctx->padLen to make sftk_MACFinal idempotent */
PORT_Memset(ctx->padBuf + padLen, 0, ctx->blockSize - padLen);
@ -2948,7 +2965,7 @@ sftk_MACUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart,
blkSize - context->padDataLength;
/* not enough data even for one block */
if (ulPartLen < minInput) {
if (ulPartLen <= minInput) {
PORT_Memcpy(residual, pPart, ulPartLen);
context->padDataLength += ulPartLen;
goto cleanup;
@ -2962,7 +2979,7 @@ sftk_MACUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart,
goto terminate;
}
/* MACing full blocks */
while (ulPartLen >= blkSize) {
while (ulPartLen > blkSize) {
if (CKR_OK != (crv = sftk_MACBlock(context, pPart)))
goto terminate;
ulPartLen -= blkSize;
@ -6566,6 +6583,10 @@ NSC_DeriveKey(CK_SESSION_HANDLE hSession,
extractValue = PR_FALSE;
classType = CKO_PRIVATE_KEY;
break;
case CKM_NSS_PUB_FROM_PRIV:
extractValue = PR_FALSE;
classType = CKO_PUBLIC_KEY;
break;
case CKM_NSS_JPAKE_FINAL_SHA1: /* fall through */
case CKM_NSS_JPAKE_FINAL_SHA256: /* fall through */
case CKM_NSS_JPAKE_FINAL_SHA384: /* fall through */
@ -6607,6 +6628,73 @@ NSC_DeriveKey(CK_SESSION_HANDLE hSession,
}
switch (mechanism) {
/* get a public key from a private key. nsslowkey_ConvertToPublickey()
* will generate the public portion if it doesn't already exist. */
case CKM_NSS_PUB_FROM_PRIV: {
NSSLOWKEYPrivateKey *privKey;
NSSLOWKEYPublicKey *pubKey;
int error;
crv = sftk_GetULongAttribute(sourceKey, CKA_KEY_TYPE, &keyType);
if (crv != CKR_OK) {
break;
}
/* privKey is stored in sourceKey and will be destroyed when
* the sourceKey is freed. */
privKey = sftk_GetPrivKey(sourceKey, keyType, &crv);
if (privKey == NULL) {
break;
}
pubKey = nsslowkey_ConvertToPublicKey(privKey);
if (pubKey == NULL) {
error = PORT_GetError();
crv = sftk_MapCryptError(error);
break;
}
crv = sftk_PutPubKey(key, sourceKey, keyType, pubKey);
nsslowkey_DestroyPublicKey(pubKey);
break;
}
case CKM_NSS_IKE_PRF_DERIVE:
if (pMechanism->ulParameterLen !=
sizeof(CK_NSS_IKE_PRF_DERIVE_PARAMS)) {
crv = CKR_MECHANISM_PARAM_INVALID;
break;
}
crv = sftk_ike_prf(hSession, att,
(CK_NSS_IKE_PRF_DERIVE_PARAMS *)pMechanism->pParameter, key);
break;
case CKM_NSS_IKE1_PRF_DERIVE:
if (pMechanism->ulParameterLen !=
sizeof(CK_NSS_IKE1_PRF_DERIVE_PARAMS)) {
crv = CKR_MECHANISM_PARAM_INVALID;
break;
}
crv = sftk_ike1_prf(hSession, att,
(CK_NSS_IKE1_PRF_DERIVE_PARAMS *)pMechanism->pParameter,
key, keySize);
break;
case CKM_NSS_IKE1_APP_B_PRF_DERIVE:
if (pMechanism->ulParameterLen !=
sizeof(CK_MECHANISM_TYPE)) {
crv = CKR_MECHANISM_PARAM_INVALID;
break;
}
crv = sftk_ike1_appendix_b_prf(hSession, att,
(CK_MECHANISM_TYPE *)pMechanism->pParameter,
key, keySize);
break;
case CKM_NSS_IKE_PRF_PLUS_DERIVE:
if (pMechanism->ulParameterLen !=
sizeof(CK_NSS_IKE_PRF_PLUS_DERIVE_PARAMS)) {
crv = CKR_MECHANISM_PARAM_INVALID;
break;
}
crv = sftk_ike_prf_plus(hSession, att,
(CK_NSS_IKE_PRF_PLUS_DERIVE_PARAMS *)pMechanism->pParameter,
key, keySize);
break;
/*
* generate the master secret
*/

View File

@ -254,12 +254,15 @@ struct SFTKSessionContextStr {
PRBool multi; /* is multipart */
PRBool rsa; /* is rsa */
PRBool doPad; /* use PKCS padding for block ciphers */
PRBool isXCBC; /* xcbc, use special handling in final */
unsigned int blockSize; /* blocksize for padding */
unsigned int padDataLength; /* length of the valid data in padbuf */
/** latest incomplete block of data for block cipher */
unsigned char padBuf[SFTK_MAX_BLOCK_SIZE];
/** result of MAC'ing of latest full block of data with block cipher */
unsigned char macBuf[SFTK_MAX_BLOCK_SIZE];
unsigned char k2[SFTK_MAX_BLOCK_SIZE];
unsigned char k3[SFTK_MAX_BLOCK_SIZE];
CK_ULONG macSize; /* size of a general block cipher mac*/
void *cipherInfo;
void *hashInfo;
@ -614,6 +617,7 @@ extern CK_RV SFTK_ShutdownSlot(SFTKSlot *slot);
extern CK_RV sftk_CloseAllSessions(SFTKSlot *slot, PRBool logout);
/* internal utility functions used by pkcs11.c */
extern CK_RV sftk_MapCryptError(int error);
extern SFTKAttribute *sftk_FindAttribute(SFTKObject *object,
CK_ATTRIBUTE_TYPE type);
extern void sftk_FreeAttribute(SFTKAttribute *attribute);
@ -691,10 +695,36 @@ extern NSSLOWKEYPublicKey *sftk_GetPubKey(SFTKObject *object,
CK_KEY_TYPE key_type, CK_RV *crvp);
extern NSSLOWKEYPrivateKey *sftk_GetPrivKey(SFTKObject *object,
CK_KEY_TYPE key_type, CK_RV *crvp);
extern CK_RV sftk_PutPubKey(SFTKObject *publicKey, SFTKObject *privKey, CK_KEY_TYPE keyType,
NSSLOWKEYPublicKey *pubKey);
extern void sftk_FormatDESKey(unsigned char *key, int length);
extern PRBool sftk_CheckDESKey(unsigned char *key);
extern PRBool sftk_IsWeakKey(unsigned char *key, CK_KEY_TYPE key_type);
/* ike and xcbc helpers */
extern CK_RV sftk_ike_prf(CK_SESSION_HANDLE hSession,
const SFTKAttribute *inKey,
const CK_NSS_IKE_PRF_DERIVE_PARAMS *params, SFTKObject *outKey);
extern CK_RV sftk_ike1_prf(CK_SESSION_HANDLE hSession,
const SFTKAttribute *inKey,
const CK_NSS_IKE1_PRF_DERIVE_PARAMS *params, SFTKObject *outKey,
unsigned int keySize);
extern CK_RV sftk_ike1_appendix_b_prf(CK_SESSION_HANDLE hSession,
const SFTKAttribute *inKey,
const CK_MECHANISM_TYPE *params, SFTKObject *outKey,
unsigned int keySize);
extern CK_RV sftk_ike_prf_plus(CK_SESSION_HANDLE hSession,
const SFTKAttribute *inKey,
const CK_NSS_IKE_PRF_PLUS_DERIVE_PARAMS *params, SFTKObject *outKey,
unsigned int keySize);
extern CK_RV sftk_aes_xcbc_new_keys(CK_SESSION_HANDLE hSession,
CK_OBJECT_HANDLE hKey, CK_OBJECT_HANDLE_PTR phKey,
unsigned char *k2, unsigned char *k3);
extern CK_RV sftk_xcbc_mac_pad(unsigned char *padBuf, unsigned int bufLen,
int blockSize, const unsigned char *k2,
const unsigned char *k3);
extern SECStatus sftk_fips_IKE_PowerUpSelfTests(void);
/* mechanism allows this operation */
extern CK_RV sftk_MechAllowsOperation(CK_MECHANISM_TYPE type, CK_ATTRIBUTE_TYPE op);

View File

@ -14,6 +14,47 @@
#include "sftkdb.h"
#include "softoken.h"
/*
* ******************** Error mapping *******************************
*/
/*
* map all the SEC_ERROR_xxx error codes that may be returned by freebl
* functions to CKR_xxx. return CKR_DEVICE_ERROR by default for backward
* compatibility.
*/
CK_RV
sftk_MapCryptError(int error)
{
switch (error) {
case SEC_ERROR_INVALID_ARGS:
case SEC_ERROR_BAD_DATA: /* MP_RANGE gets mapped to this */
return CKR_ARGUMENTS_BAD;
case SEC_ERROR_INPUT_LEN:
return CKR_DATA_LEN_RANGE;
case SEC_ERROR_OUTPUT_LEN:
return CKR_BUFFER_TOO_SMALL;
case SEC_ERROR_LIBRARY_FAILURE:
return CKR_GENERAL_ERROR;
case SEC_ERROR_NO_MEMORY:
return CKR_HOST_MEMORY;
case SEC_ERROR_BAD_SIGNATURE:
return CKR_SIGNATURE_INVALID;
case SEC_ERROR_INVALID_KEY:
return CKR_KEY_SIZE_RANGE;
case SEC_ERROR_BAD_KEY: /* an EC public key that fails validation */
return CKR_KEY_SIZE_RANGE; /* the closest error code */
case SEC_ERROR_UNSUPPORTED_EC_POINT_FORM:
return CKR_TEMPLATE_INCONSISTENT;
case SEC_ERROR_UNSUPPORTED_KEYALG:
return CKR_MECHANISM_INVALID;
case SEC_ERROR_UNSUPPORTED_ELLIPTIC_CURVE:
return CKR_DOMAIN_PARAMS_INVALID;
/* key pair generation failed after max number of attempts */
case SEC_ERROR_NEED_RANDOM:
return CKR_FUNCTION_FAILED;
}
return CKR_DEVICE_ERROR;
}
/*
* ******************** Attribute Utilities *******************************
*/

File diff suppressed because it is too large Load Diff

View File

@ -58,6 +58,7 @@
'sdb.c',
'sftkdb.c',
'sftkhmac.c',
'sftkike.c',
'sftkpars.c',
'sftkpwd.c',
'softkver.c',

View File

@ -367,7 +367,7 @@ typedef struct SSLPreliminaryChannelInfoStr {
* resume this session. */
PRUint32 maxEarlyDataSize;
/* The following fields were added in NSS 3.39. */
/* The following fields were added in NSS 3.43. */
/* This reports the cipher suite used for 0-RTT if it sent or accepted. For
* a client, this is set earlier than |cipherSuite|, and will match that
* value if 0-RTT is accepted by the server. The server only sets this
@ -422,7 +422,7 @@ typedef struct SSLCipherSuiteInfoStr {
* this instead of |authAlgorithm|. */
SSLAuthType authType;
/* The following fields were added in NSS 3.39. */
/* The following fields were added in NSS 3.43. */
/* This reports the hash function used in the TLS KDF, or HKDF for TLS 1.3.
* For suites defined for versions of TLS earlier than TLS 1.2, this reports
* ssl_hash_none. */

View File

@ -232,6 +232,14 @@
#define CKM_NSS_CHACHA20_CTR (CKM_NSS + 33)
/* IKE mechanism (to be proposed to PKCS #11 */
#define CKM_NSS_IKE_PRF_PLUS_DERIVE (CKM_NSS + 34)
#define CKM_NSS_IKE_PRF_DERIVE (CKM_NSS + 35)
#define CKM_NSS_IKE1_PRF_DERIVE (CKM_NSS + 36)
#define CKM_NSS_IKE1_APP_B_PRF_DERIVE (CKM_NSS + 37)
#define CKM_NSS_PUB_FROM_PRIV (CKM_NSS + 40)
/*
* HISTORICAL:
* Do not attempt to use these. They are only used by NETSCAPE's internal
@ -343,6 +351,72 @@ typedef struct CK_NSS_HKDFParams {
CK_ULONG ulInfoLen;
} CK_NSS_HKDFParams;
/*
* CK_NSS_IKE_PRF_PLUS_PARAMS is a structure that provides the parameters to
* the CKM_NSS_IKE_PRF_PLUS_DERIVE mechanism.
* The fields of the structure have the following meanings:
* prfMechanism underlying MAC mechanism used to generate the prf.
* bHasSeedKey hSeed key is present.
* hSeedKey optional seed from key
* pSeedData optional seed from data.
* ulSeedDataLen length of optional seed data.
* If no seed data is present this value is NULL.
*/
typedef struct CK_NSS_IKE_PRF_PLUS_DERIVE_PARAMS {
CK_MECHANISM_TYPE prfMechanism;
CK_BBOOL bHasSeedKey;
CK_OBJECT_HANDLE hSeedKey;
CK_BYTE_PTR pSeedData;
CK_ULONG ulSeedDataLen;
} CK_NSS_IKE_PRF_PLUS_DERIVE_PARAMS;
/* CK_NSS_IKE_PRF_DERIVE_PARAMS is a structure that provides the parameters to
* the CKM_NSS_IKE_PRF_DERIVE mechanism.
*
* The fields of the structure have the following meanings:
* prfMechanism underlying MAC mechanism used to generate the prf.
* bRekey hNewKey is present.
* pNi Ni value
* ulNiLen length of Ni
* pNr Nr value
* ulNrLen length of Nr
* hNewKey New key value to drive the rekey.
*/
typedef struct CK_NSS_IKE_PRF_DERIVE_PARAMS {
CK_MECHANISM_TYPE prfMechanism;
CK_BBOOL bDataAsKey;
CK_BBOOL bRekey;
CK_BYTE_PTR pNi;
CK_ULONG ulNiLen;
CK_BYTE_PTR pNr;
CK_ULONG ulNrLen;
CK_OBJECT_HANDLE hNewKey;
} CK_NSS_IKE_PRF_DERIVE_PARAMS;
/* CK_NSS_IKE1_PRF_DERIVE_PARAMS is a structure that provides the parameters
* to the CKM_NSS_IKE_PRF_DERIVE mechanism.
*
* The fields of the structure have the following meanings:
* prfMechanism underlying MAC mechanism used to generate the prf.
* bRekey hNewKey is present.
* pCKYi CKYi value
* ulCKYiLen length of CKYi
* pCKYr CKYr value
* ulCKYrLen length of CKYr
* hNewKey New key value to drive the rekey.
*/
typedef struct CK_NSS_IKE1_PRF_DERIVE_PARAMS {
CK_MECHANISM_TYPE prfMechanism;
CK_BBOOL bHasPrevKey;
CK_OBJECT_HANDLE hKeygxy;
CK_OBJECT_HANDLE hPrevKey;
CK_BYTE_PTR pCKYi;
CK_ULONG ulCKYiLen;
CK_BYTE_PTR pCKYr;
CK_ULONG ulCKYrLen;
CK_BYTE keyNumber;
} CK_NSS_IKE1_PRF_DERIVE_PARAMS;
/*
* Parameter for the TLS extended master secret key derivation mechanisms:
*

View File

@ -882,6 +882,8 @@ typedef CK_ULONG CK_MECHANISM_TYPE;
#define CKM_AES_GCM 0x00001087
#define CKM_AES_CCM 0x00001088
#define CKM_AES_CTS 0x00001089
#define CKM_AES_XCBC_MAC 0x0000108C
#define CKM_AES_XCBC_MAC_96 0x0000108D
/* BlowFish and TwoFish are new for v2.20 */
#define CKM_BLOWFISH_KEY_GEN 0x00001090

View File

@ -11,9 +11,12 @@
import sys
import argparse
import fnmatch
import io
import subprocess
import os
import platform
import shutil
import tarfile
import tempfile
from hashlib import sha256
@ -38,6 +41,265 @@ def run_tests(test, cycles="standard", env={}, silent=False):
stdout = stderr = DEVNULL if silent else None
subprocess.check_call(command, env=os_env, stdout=stdout, stderr=stderr)
class coverityAction(argparse.Action):
def get_coverity_remote_cfg(self):
secret_name = 'project/relman/coverity-nss'
secrets_url = 'http://taskcluster/secrets/v1/secret/{}'.format(secret_name)
print('Using symbol upload token from the secrets service: "{}"'.
format(secrets_url))
import requests
res = requests.get(secrets_url)
res.raise_for_status()
secret = res.json()
cov_config = secret['secret'] if 'secret' in secret else None
if cov_config is None:
print('Ill formatted secret for Coverity. Aborting analysis.')
return None
return cov_config
def get_coverity_local_cfg(self, path):
try:
import yaml
file_handler = open(path)
config = yaml.safe_load(file_handler)
except Exception:
print('Unable to load coverity config from {}'.format(path))
return None
return config
def get_cov_config(self, path):
cov_config = None
if self.local_config:
cov_config = self.get_coverity_local_cfg(path)
else:
cov_config = self.get_coverity_remote_cfg()
if cov_config is None:
print('Unable to load Coverity config.')
return 1
self.cov_analysis_url = cov_config.get('package_url')
self.cov_package_name = cov_config.get('package_name')
self.cov_url = cov_config.get('server_url')
self.cov_auth = cov_config.get('auth_key')
self.cov_package_ver = cov_config.get('package_ver')
self.cov_full_stack = cov_config.get('full_stack', False)
return 0
def download_coverity(self):
if self.cov_url is None or self.cov_analysis_url is None or self.cov_auth is None:
print('Missing Coverity config options!')
return 1
COVERITY_CONFIG = '''
{
"type": "Coverity configuration",
"format_version": 1,
"settings": {
"server": {
"host": "%s",
"ssl" : true,
"on_new_cert" : "trust",
"auth_key_file": "%s"
},
"stream": "NSS",
"cov_run_desktop": {
"build_cmd": ["%s"],
"clean_cmd": ["%s", "-cc"],
}
}
}
'''
# Generate the coverity.conf and auth files
build_cmd = os.path.join(cwd, 'build.sh')
cov_auth_path = os.path.join(self.cov_state_path, 'auth')
cov_setup_path = os.path.join(self.cov_state_path, 'coverity.conf')
cov_conf = COVERITY_CONFIG % (self.cov_url, cov_auth_path, build_cmd, build_cmd)
def download(artifact_url, target):
import requests
resp = requests.get(artifact_url, verify=False, stream=True)
resp.raise_for_status()
# Extract archive into destination
with tarfile.open(fileobj=io.BytesIO(resp.content)) as tar:
tar.extractall(target)
download(self.cov_analysis_url, self.cov_state_path)
with open(cov_auth_path, 'w') as f:
f.write(self.cov_auth)
# Modify it's permission to 600
os.chmod(cov_auth_path, 0o600)
with open(cov_setup_path, 'a') as f:
f.write(cov_conf)
def setup_coverity(self, config_path, storage_path=None, force_download=True):
rc = self.get_cov_config(config_path)
if rc != 0:
return rc
if storage_path is None:
# If storage_path is None we set the context of the coverity into the cwd.
storage_path = cwd
self.cov_state_path = os.path.join(storage_path, "coverity")
if force_download is True or not os.path.exists(self.cov_state_path):
shutil.rmtree(self.cov_state_path, ignore_errors=True)
os.mkdir(self.cov_state_path)
# Download everything that we need for Coverity from out private instance
self.download_coverity()
self.cov_path = os.path.join(self.cov_state_path, self.cov_package_name)
self.cov_run_desktop = os.path.join(self.cov_path, 'bin', 'cov-run-desktop')
self.cov_translate = os.path.join(self.cov_path, 'bin', 'cov-translate')
self.cov_configure = os.path.join(self.cov_path, 'bin', 'cov-configure')
self.cov_work_path = os.path.join(self.cov_state_path, 'data-coverity')
self.cov_idir_path = os.path.join(self.cov_work_path, self.cov_package_ver, 'idir')
if not os.path.exists(self.cov_path) or \
not os.path.exists(self.cov_run_desktop) or \
not os.path.exists(self.cov_translate) or \
not os.path.exists(self.cov_configure):
print('Missing Coverity in {}'.format(self.cov_path))
return 1
return 0
def run_process(self, args, cwd=cwd):
proc = subprocess.Popen(args, cwd=cwd)
status = None
while status is None:
try:
status = proc.wait()
except KeyboardInterrupt:
pass
return status
def cov_is_file_in_source(self, abs_path):
if os.path.islink(abs_path):
abs_path = os.path.realpath(abs_path)
return abs_path
def dump_cov_artifact(self, cov_results, source, output):
import json
# Parse Coverity json into structured issues
with open(cov_results) as f:
result = json.load(f)
# Parse the issues to a standard json format
issues_dict = {'files': {}}
files_list = issues_dict['files']
def build_element(issue):
# We look only for main event
event_path = next((event for event in issue['events'] if event['main'] is True), None)
dict_issue = {
'line': issue['mainEventLineNumber'],
'flag': issue['checkerName'],
'message': event_path['eventDescription'],
'extra': {
'category': issue['checkerProperties']['category'],
'stateOnServer': issue['stateOnServer'],
'stack': []
}
}
# Embed all events into extra message
for event in issue['events']:
dict_issue['extra']['stack'].append({'file_path': event['strippedFilePathname'],
'line_number': event['lineNumber'],
'path_type': event['eventTag'],
'description': event['eventDescription']})
return dict_issue
for issue in result['issues']:
path = self.cov_is_file_in_source(issue['strippedMainEventFilePathname'])
if path is None:
# Since we skip a result we should log it
print('Skipping CID: {0} from file: {1} since it\'s not related with the current patch.'.format(
issue['stateOnServer']['cid'], issue['strippedMainEventFilePathname']))
continue
if path in files_list:
files_list[path]['warnings'].append(build_element(issue))
else:
files_list[path] = {'warnings': [build_element(issue)]}
with open(output, 'w') as f:
json.dump(issues_dict, f)
def mutate_paths(self, paths):
for index in xrange(len(paths)):
paths[index] = os.path.abspath(paths[index])
def __call__(self, parser, args, paths, option_string=None):
self.local_config = True
config_path = args.config
storage_path = args.storage
have_paths = True
if len(paths) == 0:
have_paths = False
print('No files have been specified for analysis, running Coverity on the entire project.')
self.mutate_paths(paths)
if config_path is None:
self.local_config = False
print('No coverity config path has been specified, so running in automation.')
if 'NSS_AUTOMATION' not in os.environ:
print('Coverity based static-analysis cannot be ran outside automation.')
return 1
rc = self.setup_coverity(config_path, storage_path, args.force)
if rc != 0:
return 1
# First run cov-run-desktop --setup in order to setup the analysis env
cmd = [self.cov_run_desktop, '--setup']
print('Running {} --setup'.format(self.cov_run_desktop))
rc = self.run_process(args=cmd, cwd=self.cov_path)
if rc != 0:
print('Running {} --setup failed!'.format(self.cov_run_desktop))
return rc
cov_result = os.path.join(self.cov_state_path, 'cov-results.json')
# Once the capture is performed we need to do the actual Coverity Desktop analysis
if have_paths:
cmd = [self.cov_run_desktop, '--json-output-v6', cov_result] + paths
else:
cmd = [self.cov_run_desktop, '--json-output-v6', cov_result, '--analyze-captured-source']
print('Running Coverity Analysis for {}'.format(cmd))
rc = self.run_process(cmd, cwd=self.cov_state_path)
if rc != 0:
print('Coverity Analysis failed!')
# On automation, like try, we want to build an artifact with the results.
if 'NSS_AUTOMATION' in os.environ:
self.dump_cov_artifact(cov_result, cov_result, "/home/worker/nss/coverity/coverity.json")
class cfAction(argparse.Action):
docker_command = None
restorecon = None
@ -261,6 +523,31 @@ def parse_arguments():
help="Specify files or directories to run clang-format on",
action=cfAction)
parser_sa = subparsers.add_parser(
'static-analysis',
help="""
Run static-analysis tools based on coverity.
By default this runs only on automation and provides a list of issues that
are only present locally.
""")
parser_sa.add_argument(
'--config', help='Path to Coverity config file. Only used for local runs.',
default=None)
parser_sa.add_argument(
'--storage', help="""
Path where to store Coverity binaries and results. If none, the base repository will be used.
""",
default=None)
parser_sa.add_argument(
'--force', help='Force the re-download of the coverity artefact.',
action='store_true')
parser_sa.add_argument(
'<file>',
nargs='*',
help="Specify files to run Coverity on. If no files are specified the analysis will check the entire project.",
action=coverityAction)
parser_test = subparsers.add_parser(
'tests', help='Run tests through tests/all.sh.')
tests = [

View File

@ -13,10 +13,19 @@
'type': 'none',
'dependencies': [
'lib/ckfw/builtins/builtins.gyp:nssckbi',
'lib/freebl/freebl.gyp:freebl3',
'lib/softoken/softoken.gyp:softokn3',
],
'conditions': [
[ 'OS=="solaris" and target_arch=="sparc64"', {
'dependencies': [
'lib/freebl/freebl.gyp:freebl_64int_3',
'lib/freebl/freebl.gyp:freebl_64fpu_3',
],
}, {
'dependencies': [
'lib/freebl/freebl.gyp:freebl3',
],
}],
[ 'moz_fold_libs==0', {
'dependencies': [
'lib/nss/nss.gyp:nss3',

View File

@ -651,8 +651,11 @@ if [ -z "${INIT_SOURCED}" -o "${INIT_SOURCED}" != "TRUE" ]; then
RELOAD_CRL=1
NSS_DEFAULT_DB_TYPE="dbm"
export NSS_DEFAULT_DB_TYPE
# if test mode isn't set, test scripts default to expecting dbm
if [ "${TEST_MODE}" = "" ]; then
NSS_DEFAULT_DB_TYPE="dbm"
export NSS_DEFAULT_DB_TYPE
fi
MSG_ID=0

View File

@ -0,0 +1,78 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS GFSbox test data for CBC
# State : Encrypt and Decrypt
# Key Length : 128
# Generated on Fri Jul 17 16:27:15 2015
[ENCRYPT]
COUNT = 0
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = f34481ec3cc627bacd5dc3fb08f273e6
CIPHERTEXT = 0336763e966d92595a567cc9ce537f5e
COUNT = 1
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 9798c4640bad75c7c3227db910174e72
CIPHERTEXT = a9a1631bf4996954ebc093957b234589
COUNT = 2
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 96ab5c2ff612d9dfaae8c31f30c42168
CIPHERTEXT = ff4f8391a6a40ca5b25d23bedd44a597
COUNT = 3
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 6a118a874519e64e9963798a503f1d35
CIPHERTEXT = dc43be40be0e53712f7e2bf5ca707209
COUNT = 4
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = cb9fceec81286ca3e989bd979b0cb284
CIPHERTEXT = 92beedab1895a94faa69b632e5cc47ce
COUNT = 5
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = b26aeb1874e47ca8358ff22378f09144
CIPHERTEXT = 459264f4798f6a78bacb89c15ed3d601
COUNT = 6
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 58c8e00b2631686d54eab84b91f0aca1
CIPHERTEXT = 08a4e2efec8a8e3312ca7460b9040bbf
[DECRYPT]
COUNT = 0
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = 0336763e966d92595a567cc9ce537f5e
PLAINTEXT = f34481ec3cc627bacd5dc3fb08f273e6
COUNT = 1
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = a9a1631bf4996954ebc093957b234589
PLAINTEXT = 9798c4640bad75c7c3227db910174e72
COUNT = 2
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = ff4f8391a6a40ca5b25d23bedd44a597
PLAINTEXT = 96ab5c2ff612d9dfaae8c31f30c42168
COUNT = 3
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = dc43be40be0e53712f7e2bf5ca707209
PLAINTEXT = 6a118a874519e64e9963798a503f1d35
COUNT = 4
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = 92beedab1895a94faa69b632e5cc47ce
PLAINTEXT = cb9fceec81286ca3e989bd979b0cb284
COUNT = 5
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = 459264f4798f6a78bacb89c15ed3d601
PLAINTEXT = b26aeb1874e47ca8358ff22378f09144
COUNT = 6
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = 08a4e2efec8a8e3312ca7460b9040bbf
PLAINTEXT = 58c8e00b2631686d54eab84b91f0aca1

View File

@ -0,0 +1,68 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS GFSbox test data for CBC
# State : Encrypt and Decrypt
# Key Length : 192
# Generated on Fri Jul 17 16:27:17 2015
[ENCRYPT]
COUNT = 0
KEY = 000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 1b077a6af4b7f98229de786d7516b639
CIPHERTEXT = 275cfc0413d8ccb70513c3859b1d0f72
COUNT = 1
KEY = 000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 9c2d8842e5f48f57648205d39a239af1
CIPHERTEXT = c9b8135ff1b5adc413dfd053b21bd96d
COUNT = 2
KEY = 000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = bff52510095f518ecca60af4205444bb
CIPHERTEXT = 4a3650c3371ce2eb35e389a171427440
COUNT = 3
KEY = 000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 51719783d3185a535bd75adc65071ce1
CIPHERTEXT = 4f354592ff7c8847d2d0870ca9481b7c
COUNT = 4
KEY = 000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 26aa49dcfe7629a8901a69a9914e6dfd
CIPHERTEXT = d5e08bf9a182e857cf40b3a36ee248cc
COUNT = 5
KEY = 000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 941a4773058224e1ef66d10e0a6ee782
CIPHERTEXT = 067cd9d3749207791841562507fa9626
[DECRYPT]
COUNT = 0
KEY = 000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = 275cfc0413d8ccb70513c3859b1d0f72
PLAINTEXT = 1b077a6af4b7f98229de786d7516b639
COUNT = 1
KEY = 000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = c9b8135ff1b5adc413dfd053b21bd96d
PLAINTEXT = 9c2d8842e5f48f57648205d39a239af1
COUNT = 2
KEY = 000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = 4a3650c3371ce2eb35e389a171427440
PLAINTEXT = bff52510095f518ecca60af4205444bb
COUNT = 3
KEY = 000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = 4f354592ff7c8847d2d0870ca9481b7c
PLAINTEXT = 51719783d3185a535bd75adc65071ce1
COUNT = 4
KEY = 000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = d5e08bf9a182e857cf40b3a36ee248cc
PLAINTEXT = 26aa49dcfe7629a8901a69a9914e6dfd
COUNT = 5
KEY = 000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = 067cd9d3749207791841562507fa9626
PLAINTEXT = 941a4773058224e1ef66d10e0a6ee782

View File

@ -0,0 +1,58 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS GFSbox test data for CBC
# State : Encrypt and Decrypt
# Key Length : 256
# Generated on Fri Jul 17 16:27:18 2015
[ENCRYPT]
COUNT = 0
KEY = 0000000000000000000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 014730f80ac625fe84f026c60bfd547d
CIPHERTEXT = 5c9d844ed46f9885085e5d6a4f94c7d7
COUNT = 1
KEY = 0000000000000000000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 0b24af36193ce4665f2825d7b4749c98
CIPHERTEXT = a9ff75bd7cf6613d3731c77c3b6d0c04
COUNT = 2
KEY = 0000000000000000000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 761c1fe41a18acf20d241650611d90f1
CIPHERTEXT = 623a52fcea5d443e48d9181ab32c7421
COUNT = 3
KEY = 0000000000000000000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 8a560769d605868ad80d819bdba03771
CIPHERTEXT = 38f2c7ae10612415d27ca190d27da8b4
COUNT = 4
KEY = 0000000000000000000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 91fbef2d15a97816060bee1feaa49afe
CIPHERTEXT = 1bc704f1bce135ceb810341b216d7abe
[DECRYPT]
COUNT = 0
KEY = 0000000000000000000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = 5c9d844ed46f9885085e5d6a4f94c7d7
PLAINTEXT = 014730f80ac625fe84f026c60bfd547d
COUNT = 1
KEY = 0000000000000000000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = a9ff75bd7cf6613d3731c77c3b6d0c04
PLAINTEXT = 0b24af36193ce4665f2825d7b4749c98
COUNT = 2
KEY = 0000000000000000000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = 623a52fcea5d443e48d9181ab32c7421
PLAINTEXT = 761c1fe41a18acf20d241650611d90f1
COUNT = 3
KEY = 0000000000000000000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = 38f2c7ae10612415d27ca190d27da8b4
PLAINTEXT = 8a560769d605868ad80d819bdba03771
COUNT = 4
KEY = 0000000000000000000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = 1bc704f1bce135ceb810341b216d7abe
PLAINTEXT = 91fbef2d15a97816060bee1feaa49afe

View File

@ -0,0 +1,218 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS KeySbox test data for CBC
# State : Encrypt and Decrypt
# Key Length : 128
# Generated on Fri Jul 17 16:27:15 2015
[ENCRYPT]
COUNT = 0
KEY = 10a58869d74be5a374cf867cfb473859
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 6d251e6944b051e04eaa6fb4dbf78465
COUNT = 1
KEY = caea65cdbb75e9169ecd22ebe6e54675
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 6e29201190152df4ee058139def610bb
COUNT = 2
KEY = a2e2fa9baf7d20822ca9f0542f764a41
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = c3b44b95d9d2f25670eee9a0de099fa3
COUNT = 3
KEY = b6364ac4e1de1e285eaf144a2415f7a0
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 5d9b05578fc944b3cf1ccf0e746cd581
COUNT = 4
KEY = 64cf9c7abc50b888af65f49d521944b2
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = f7efc89d5dba578104016ce5ad659c05
COUNT = 5
KEY = 47d6742eefcc0465dc96355e851b64d9
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 0306194f666d183624aa230a8b264ae7
COUNT = 6
KEY = 3eb39790678c56bee34bbcdeccf6cdb5
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 858075d536d79ccee571f7d7204b1f67
COUNT = 7
KEY = 64110a924f0743d500ccadae72c13427
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 35870c6a57e9e92314bcb8087cde72ce
COUNT = 8
KEY = 18d8126516f8a12ab1a36d9f04d68e51
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 6c68e9be5ec41e22c825b7c7affb4363
COUNT = 9
KEY = f530357968578480b398a3c251cd1093
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = f5df39990fc688f1b07224cc03e86cea
COUNT = 10
KEY = da84367f325d42d601b4326964802e8e
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = bba071bcb470f8f6586e5d3add18bc66
COUNT = 11
KEY = e37b1c6aa2846f6fdb413f238b089f23
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 43c9f7e62f5d288bb27aa40ef8fe1ea8
COUNT = 12
KEY = 6c002b682483e0cabcc731c253be5674
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 3580d19cff44f1014a7c966a69059de5
COUNT = 13
KEY = 143ae8ed6555aba96110ab58893a8ae1
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 806da864dd29d48deafbe764f8202aef
COUNT = 14
KEY = b69418a85332240dc82492353956ae0c
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = a303d940ded8f0baff6f75414cac5243
COUNT = 15
KEY = 71b5c08a1993e1362e4d0ce9b22b78d5
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = c2dabd117f8a3ecabfbb11d12194d9d0
COUNT = 16
KEY = e234cdca2606b81f29408d5f6da21206
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = fff60a4740086b3b9c56195b98d91a7b
COUNT = 17
KEY = 13237c49074a3da078dc1d828bb78c6f
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 8146a08e2357f0caa30ca8c94d1a0544
COUNT = 18
KEY = 3071a2a48fe6cbd04f1a129098e308f8
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 4b98e06d356deb07ebb824e5713f7be3
COUNT = 19
KEY = 90f42ec0f68385f2ffc5dfc03a654dce
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 7a20a53d460fc9ce0423a7a0764c6cf2
COUNT = 20
KEY = febd9a24d8b65c1c787d50a4ed3619a9
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = f4a70d8af877f9b02b4c40df57d45b17
[DECRYPT]
COUNT = 0
KEY = 10a58869d74be5a374cf867cfb473859
IV = 00000000000000000000000000000000
CIPHERTEXT = 6d251e6944b051e04eaa6fb4dbf78465
PLAINTEXT = 00000000000000000000000000000000
COUNT = 1
KEY = caea65cdbb75e9169ecd22ebe6e54675
IV = 00000000000000000000000000000000
CIPHERTEXT = 6e29201190152df4ee058139def610bb
PLAINTEXT = 00000000000000000000000000000000
COUNT = 2
KEY = a2e2fa9baf7d20822ca9f0542f764a41
IV = 00000000000000000000000000000000
CIPHERTEXT = c3b44b95d9d2f25670eee9a0de099fa3
PLAINTEXT = 00000000000000000000000000000000
COUNT = 3
KEY = b6364ac4e1de1e285eaf144a2415f7a0
IV = 00000000000000000000000000000000
CIPHERTEXT = 5d9b05578fc944b3cf1ccf0e746cd581
PLAINTEXT = 00000000000000000000000000000000
COUNT = 4
KEY = 64cf9c7abc50b888af65f49d521944b2
IV = 00000000000000000000000000000000
CIPHERTEXT = f7efc89d5dba578104016ce5ad659c05
PLAINTEXT = 00000000000000000000000000000000
COUNT = 5
KEY = 47d6742eefcc0465dc96355e851b64d9
IV = 00000000000000000000000000000000
CIPHERTEXT = 0306194f666d183624aa230a8b264ae7
PLAINTEXT = 00000000000000000000000000000000
COUNT = 6
KEY = 3eb39790678c56bee34bbcdeccf6cdb5
IV = 00000000000000000000000000000000
CIPHERTEXT = 858075d536d79ccee571f7d7204b1f67
PLAINTEXT = 00000000000000000000000000000000
COUNT = 7
KEY = 64110a924f0743d500ccadae72c13427
IV = 00000000000000000000000000000000
CIPHERTEXT = 35870c6a57e9e92314bcb8087cde72ce
PLAINTEXT = 00000000000000000000000000000000
COUNT = 8
KEY = 18d8126516f8a12ab1a36d9f04d68e51
IV = 00000000000000000000000000000000
CIPHERTEXT = 6c68e9be5ec41e22c825b7c7affb4363
PLAINTEXT = 00000000000000000000000000000000
COUNT = 9
KEY = f530357968578480b398a3c251cd1093
IV = 00000000000000000000000000000000
CIPHERTEXT = f5df39990fc688f1b07224cc03e86cea
PLAINTEXT = 00000000000000000000000000000000
COUNT = 10
KEY = da84367f325d42d601b4326964802e8e
IV = 00000000000000000000000000000000
CIPHERTEXT = bba071bcb470f8f6586e5d3add18bc66
PLAINTEXT = 00000000000000000000000000000000
COUNT = 11
KEY = e37b1c6aa2846f6fdb413f238b089f23
IV = 00000000000000000000000000000000
CIPHERTEXT = 43c9f7e62f5d288bb27aa40ef8fe1ea8
PLAINTEXT = 00000000000000000000000000000000
COUNT = 12
KEY = 6c002b682483e0cabcc731c253be5674
IV = 00000000000000000000000000000000
CIPHERTEXT = 3580d19cff44f1014a7c966a69059de5
PLAINTEXT = 00000000000000000000000000000000
COUNT = 13
KEY = 143ae8ed6555aba96110ab58893a8ae1
IV = 00000000000000000000000000000000
CIPHERTEXT = 806da864dd29d48deafbe764f8202aef
PLAINTEXT = 00000000000000000000000000000000
COUNT = 14
KEY = b69418a85332240dc82492353956ae0c
IV = 00000000000000000000000000000000
CIPHERTEXT = a303d940ded8f0baff6f75414cac5243
PLAINTEXT = 00000000000000000000000000000000
COUNT = 15
KEY = 71b5c08a1993e1362e4d0ce9b22b78d5
IV = 00000000000000000000000000000000
CIPHERTEXT = c2dabd117f8a3ecabfbb11d12194d9d0
PLAINTEXT = 00000000000000000000000000000000
COUNT = 16
KEY = e234cdca2606b81f29408d5f6da21206
IV = 00000000000000000000000000000000
CIPHERTEXT = fff60a4740086b3b9c56195b98d91a7b
PLAINTEXT = 00000000000000000000000000000000
COUNT = 17
KEY = 13237c49074a3da078dc1d828bb78c6f
IV = 00000000000000000000000000000000
CIPHERTEXT = 8146a08e2357f0caa30ca8c94d1a0544
PLAINTEXT = 00000000000000000000000000000000
COUNT = 18
KEY = 3071a2a48fe6cbd04f1a129098e308f8
IV = 00000000000000000000000000000000
CIPHERTEXT = 4b98e06d356deb07ebb824e5713f7be3
PLAINTEXT = 00000000000000000000000000000000
COUNT = 19
KEY = 90f42ec0f68385f2ffc5dfc03a654dce
IV = 00000000000000000000000000000000
CIPHERTEXT = 7a20a53d460fc9ce0423a7a0764c6cf2
PLAINTEXT = 00000000000000000000000000000000
COUNT = 20
KEY = febd9a24d8b65c1c787d50a4ed3619a9
IV = 00000000000000000000000000000000
CIPHERTEXT = f4a70d8af877f9b02b4c40df57d45b17
PLAINTEXT = 00000000000000000000000000000000

View File

@ -0,0 +1,248 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS KeySbox test data for CBC
# State : Encrypt and Decrypt
# Key Length : 192
# Generated on Fri Jul 17 16:27:17 2015
[ENCRYPT]
COUNT = 0
KEY = e9f065d7c13573587f7875357dfbb16c53489f6a4bd0f7cd
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 0956259c9cd5cfd0181cca53380cde06
COUNT = 1
KEY = 15d20f6ebc7e649fd95b76b107e6daba967c8a9484797f29
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 8e4e18424e591a3d5b6f0876f16f8594
COUNT = 2
KEY = a8a282ee31c03fae4f8e9b8930d5473c2ed695a347e88b7c
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 93f3270cfc877ef17e106ce938979cb0
COUNT = 3
KEY = cd62376d5ebb414917f0c78f05266433dc9192a1ec943300
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 7f6c25ff41858561bb62f36492e93c29
COUNT = 4
KEY = 502a6ab36984af268bf423c7f509205207fc1552af4a91e5
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 8e06556dcbb00b809a025047cff2a940
COUNT = 5
KEY = 25a39dbfd8034f71a81f9ceb55026e4037f8f6aa30ab44ce
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 3608c344868e94555d23a120f8a5502d
COUNT = 6
KEY = e08c15411774ec4a908b64eadc6ac4199c7cd453f3aaef53
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 77da2021935b840b7f5dcc39132da9e5
COUNT = 7
KEY = 3b375a1ff7e8d44409696e6326ec9dec86138e2ae010b980
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 3b7c24f825e3bf9873c9f14d39a0e6f4
COUNT = 8
KEY = 950bb9f22cc35be6fe79f52c320af93dec5bc9c0c2f9cd53
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 64ebf95686b353508c90ecd8b6134316
COUNT = 9
KEY = 7001c487cc3e572cfc92f4d0e697d982e8856fdcc957da40
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = ff558c5d27210b7929b73fc708eb4cf1
COUNT = 10
KEY = f029ce61d4e5a405b41ead0a883cc6a737da2cf50a6c92ae
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = a2c3b2a818075490a7b4c14380f02702
COUNT = 11
KEY = 61257134a518a0d57d9d244d45f6498cbc32f2bafc522d79
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = cfe4d74002696ccf7d87b14a2f9cafc9
COUNT = 12
KEY = b0ab0a6a818baef2d11fa33eac947284fb7d748cfb75e570
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = d2eafd86f63b109b91f5dbb3a3fb7e13
COUNT = 13
KEY = ee053aa011c8b428cdcc3636313c54d6a03cac01c71579d6
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 9b9fdd1c5975655f539998b306a324af
COUNT = 14
KEY = d2926527e0aa9f37b45e2ec2ade5853ef807576104c7ace3
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = dd619e1cf204446112e0af2b9afa8f8c
COUNT = 15
KEY = 982215f4e173dfa0fcffe5d3da41c4812c7bcc8ed3540f93
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = d4f0aae13c8fe9339fbf9e69ed0ad74d
COUNT = 16
KEY = 98c6b8e01e379fbd14e61af6af891596583565f2a27d59e9
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 19c80ec4a6deb7e5ed1033dda933498f
COUNT = 17
KEY = b3ad5cea1dddc214ca969ac35f37dae1a9a9d1528f89bb35
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 3cf5e1d21a17956d1dffad6a7c41c659
COUNT = 18
KEY = 45899367c3132849763073c435a9288a766c8b9ec2308516
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 69fd12e8505f8ded2fdcb197a121b362
COUNT = 19
KEY = ec250e04c3903f602647b85a401a1ae7ca2f02f67fa4253e
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 8aa584e2cc4d17417a97cb9a28ba29c8
COUNT = 20
KEY = d077a03bd8a38973928ccafe4a9d2f455130bd0af5ae46a9
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = abc786fb1edb504580c4d882ef29a0c7
COUNT = 21
KEY = d184c36cf0dddfec39e654195006022237871a47c33d3198
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 2e19fb60a3e1de0166f483c97824a978
COUNT = 22
KEY = 4c6994ffa9dcdc805b60c2c0095334c42d95a8fc0ca5b080
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 7656709538dd5fec41e0ce6a0f8e207d
COUNT = 23
KEY = c88f5b00a4ef9a6840e2acaf33f00a3bdc4e25895303fa72
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = a67cf333b314d411d3c0ae6e1cfcd8f5
[DECRYPT]
COUNT = 0
KEY = e9f065d7c13573587f7875357dfbb16c53489f6a4bd0f7cd
IV = 00000000000000000000000000000000
CIPHERTEXT = 0956259c9cd5cfd0181cca53380cde06
PLAINTEXT = 00000000000000000000000000000000
COUNT = 1
KEY = 15d20f6ebc7e649fd95b76b107e6daba967c8a9484797f29
IV = 00000000000000000000000000000000
CIPHERTEXT = 8e4e18424e591a3d5b6f0876f16f8594
PLAINTEXT = 00000000000000000000000000000000
COUNT = 2
KEY = a8a282ee31c03fae4f8e9b8930d5473c2ed695a347e88b7c
IV = 00000000000000000000000000000000
CIPHERTEXT = 93f3270cfc877ef17e106ce938979cb0
PLAINTEXT = 00000000000000000000000000000000
COUNT = 3
KEY = cd62376d5ebb414917f0c78f05266433dc9192a1ec943300
IV = 00000000000000000000000000000000
CIPHERTEXT = 7f6c25ff41858561bb62f36492e93c29
PLAINTEXT = 00000000000000000000000000000000
COUNT = 4
KEY = 502a6ab36984af268bf423c7f509205207fc1552af4a91e5
IV = 00000000000000000000000000000000
CIPHERTEXT = 8e06556dcbb00b809a025047cff2a940
PLAINTEXT = 00000000000000000000000000000000
COUNT = 5
KEY = 25a39dbfd8034f71a81f9ceb55026e4037f8f6aa30ab44ce
IV = 00000000000000000000000000000000
CIPHERTEXT = 3608c344868e94555d23a120f8a5502d
PLAINTEXT = 00000000000000000000000000000000
COUNT = 6
KEY = e08c15411774ec4a908b64eadc6ac4199c7cd453f3aaef53
IV = 00000000000000000000000000000000
CIPHERTEXT = 77da2021935b840b7f5dcc39132da9e5
PLAINTEXT = 00000000000000000000000000000000
COUNT = 7
KEY = 3b375a1ff7e8d44409696e6326ec9dec86138e2ae010b980
IV = 00000000000000000000000000000000
CIPHERTEXT = 3b7c24f825e3bf9873c9f14d39a0e6f4
PLAINTEXT = 00000000000000000000000000000000
COUNT = 8
KEY = 950bb9f22cc35be6fe79f52c320af93dec5bc9c0c2f9cd53
IV = 00000000000000000000000000000000
CIPHERTEXT = 64ebf95686b353508c90ecd8b6134316
PLAINTEXT = 00000000000000000000000000000000
COUNT = 9
KEY = 7001c487cc3e572cfc92f4d0e697d982e8856fdcc957da40
IV = 00000000000000000000000000000000
CIPHERTEXT = ff558c5d27210b7929b73fc708eb4cf1
PLAINTEXT = 00000000000000000000000000000000
COUNT = 10
KEY = f029ce61d4e5a405b41ead0a883cc6a737da2cf50a6c92ae
IV = 00000000000000000000000000000000
CIPHERTEXT = a2c3b2a818075490a7b4c14380f02702
PLAINTEXT = 00000000000000000000000000000000
COUNT = 11
KEY = 61257134a518a0d57d9d244d45f6498cbc32f2bafc522d79
IV = 00000000000000000000000000000000
CIPHERTEXT = cfe4d74002696ccf7d87b14a2f9cafc9
PLAINTEXT = 00000000000000000000000000000000
COUNT = 12
KEY = b0ab0a6a818baef2d11fa33eac947284fb7d748cfb75e570
IV = 00000000000000000000000000000000
CIPHERTEXT = d2eafd86f63b109b91f5dbb3a3fb7e13
PLAINTEXT = 00000000000000000000000000000000
COUNT = 13
KEY = ee053aa011c8b428cdcc3636313c54d6a03cac01c71579d6
IV = 00000000000000000000000000000000
CIPHERTEXT = 9b9fdd1c5975655f539998b306a324af
PLAINTEXT = 00000000000000000000000000000000
COUNT = 14
KEY = d2926527e0aa9f37b45e2ec2ade5853ef807576104c7ace3
IV = 00000000000000000000000000000000
CIPHERTEXT = dd619e1cf204446112e0af2b9afa8f8c
PLAINTEXT = 00000000000000000000000000000000
COUNT = 15
KEY = 982215f4e173dfa0fcffe5d3da41c4812c7bcc8ed3540f93
IV = 00000000000000000000000000000000
CIPHERTEXT = d4f0aae13c8fe9339fbf9e69ed0ad74d
PLAINTEXT = 00000000000000000000000000000000
COUNT = 16
KEY = 98c6b8e01e379fbd14e61af6af891596583565f2a27d59e9
IV = 00000000000000000000000000000000
CIPHERTEXT = 19c80ec4a6deb7e5ed1033dda933498f
PLAINTEXT = 00000000000000000000000000000000
COUNT = 17
KEY = b3ad5cea1dddc214ca969ac35f37dae1a9a9d1528f89bb35
IV = 00000000000000000000000000000000
CIPHERTEXT = 3cf5e1d21a17956d1dffad6a7c41c659
PLAINTEXT = 00000000000000000000000000000000
COUNT = 18
KEY = 45899367c3132849763073c435a9288a766c8b9ec2308516
IV = 00000000000000000000000000000000
CIPHERTEXT = 69fd12e8505f8ded2fdcb197a121b362
PLAINTEXT = 00000000000000000000000000000000
COUNT = 19
KEY = ec250e04c3903f602647b85a401a1ae7ca2f02f67fa4253e
IV = 00000000000000000000000000000000
CIPHERTEXT = 8aa584e2cc4d17417a97cb9a28ba29c8
PLAINTEXT = 00000000000000000000000000000000
COUNT = 20
KEY = d077a03bd8a38973928ccafe4a9d2f455130bd0af5ae46a9
IV = 00000000000000000000000000000000
CIPHERTEXT = abc786fb1edb504580c4d882ef29a0c7
PLAINTEXT = 00000000000000000000000000000000
COUNT = 21
KEY = d184c36cf0dddfec39e654195006022237871a47c33d3198
IV = 00000000000000000000000000000000
CIPHERTEXT = 2e19fb60a3e1de0166f483c97824a978
PLAINTEXT = 00000000000000000000000000000000
COUNT = 22
KEY = 4c6994ffa9dcdc805b60c2c0095334c42d95a8fc0ca5b080
IV = 00000000000000000000000000000000
CIPHERTEXT = 7656709538dd5fec41e0ce6a0f8e207d
PLAINTEXT = 00000000000000000000000000000000
COUNT = 23
KEY = c88f5b00a4ef9a6840e2acaf33f00a3bdc4e25895303fa72
IV = 00000000000000000000000000000000
CIPHERTEXT = a67cf333b314d411d3c0ae6e1cfcd8f5
PLAINTEXT = 00000000000000000000000000000000

View File

@ -0,0 +1,168 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS KeySbox test data for CBC
# State : Encrypt and Decrypt
# Key Length : 256
# Generated on Fri Jul 17 16:27:18 2015
[ENCRYPT]
COUNT = 0
KEY = c47b0294dbbbee0fec4757f22ffeee3587ca4730c3d33b691df38bab076bc558
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 46f2fb342d6f0ab477476fc501242c5f
COUNT = 1
KEY = 28d46cffa158533194214a91e712fc2b45b518076675affd910edeca5f41ac64
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 4bf3b0a69aeb6657794f2901b1440ad4
COUNT = 2
KEY = c1cc358b449909a19436cfbb3f852ef8bcb5ed12ac7058325f56e6099aab1a1c
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 352065272169abf9856843927d0674fd
COUNT = 3
KEY = 984ca75f4ee8d706f46c2d98c0bf4a45f5b00d791c2dfeb191b5ed8e420fd627
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 4307456a9e67813b452e15fa8fffe398
COUNT = 4
KEY = b43d08a447ac8609baadae4ff12918b9f68fc1653f1269222f123981ded7a92f
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 4663446607354989477a5c6f0f007ef4
COUNT = 5
KEY = 1d85a181b54cde51f0e098095b2962fdc93b51fe9b88602b3f54130bf76a5bd9
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 531c2c38344578b84d50b3c917bbb6e1
COUNT = 6
KEY = dc0eba1f2232a7879ded34ed8428eeb8769b056bbaf8ad77cb65c3541430b4cf
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = fc6aec906323480005c58e7e1ab004ad
COUNT = 7
KEY = f8be9ba615c5a952cabbca24f68f8593039624d524c816acda2c9183bd917cb9
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = a3944b95ca0b52043584ef02151926a8
COUNT = 8
KEY = 797f8b3d176dac5b7e34a2d539c4ef367a16f8635f6264737591c5c07bf57a3e
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = a74289fe73a4c123ca189ea1e1b49ad5
COUNT = 9
KEY = 6838d40caf927749c13f0329d331f448e202c73ef52c5f73a37ca635d4c47707
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = b91d4ea4488644b56cf0812fa7fcf5fc
COUNT = 10
KEY = ccd1bc3c659cd3c59bc437484e3c5c724441da8d6e90ce556cd57d0752663bbc
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 304f81ab61a80c2e743b94d5002a126b
COUNT = 11
KEY = 13428b5e4c005e0636dd338405d173ab135dec2a25c22c5df0722d69dcc43887
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 649a71545378c783e368c9ade7114f6c
COUNT = 12
KEY = 07eb03a08d291d1b07408bf3512ab40c91097ac77461aad4bb859647f74f00ee
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 47cb030da2ab051dfc6c4bf6910d12bb
COUNT = 13
KEY = 90143ae20cd78c5d8ebdd6cb9dc1762427a96c78c639bccc41a61424564eafe1
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 798c7c005dee432b2c8ea5dfa381ecc3
COUNT = 14
KEY = b7a5794d52737475d53d5a377200849be0260a67a2b22ced8bbef12882270d07
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 637c31dc2591a07636f646b72daabbe7
COUNT = 15
KEY = fca02f3d5011cfc5c1e23165d413a049d4526a991827424d896fe3435e0bf68e
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 179a49c712154bbffbe6e7a84a18e220
[DECRYPT]
COUNT = 0
KEY = c47b0294dbbbee0fec4757f22ffeee3587ca4730c3d33b691df38bab076bc558
IV = 00000000000000000000000000000000
CIPHERTEXT = 46f2fb342d6f0ab477476fc501242c5f
PLAINTEXT = 00000000000000000000000000000000
COUNT = 1
KEY = 28d46cffa158533194214a91e712fc2b45b518076675affd910edeca5f41ac64
IV = 00000000000000000000000000000000
CIPHERTEXT = 4bf3b0a69aeb6657794f2901b1440ad4
PLAINTEXT = 00000000000000000000000000000000
COUNT = 2
KEY = c1cc358b449909a19436cfbb3f852ef8bcb5ed12ac7058325f56e6099aab1a1c
IV = 00000000000000000000000000000000
CIPHERTEXT = 352065272169abf9856843927d0674fd
PLAINTEXT = 00000000000000000000000000000000
COUNT = 3
KEY = 984ca75f4ee8d706f46c2d98c0bf4a45f5b00d791c2dfeb191b5ed8e420fd627
IV = 00000000000000000000000000000000
CIPHERTEXT = 4307456a9e67813b452e15fa8fffe398
PLAINTEXT = 00000000000000000000000000000000
COUNT = 4
KEY = b43d08a447ac8609baadae4ff12918b9f68fc1653f1269222f123981ded7a92f
IV = 00000000000000000000000000000000
CIPHERTEXT = 4663446607354989477a5c6f0f007ef4
PLAINTEXT = 00000000000000000000000000000000
COUNT = 5
KEY = 1d85a181b54cde51f0e098095b2962fdc93b51fe9b88602b3f54130bf76a5bd9
IV = 00000000000000000000000000000000
CIPHERTEXT = 531c2c38344578b84d50b3c917bbb6e1
PLAINTEXT = 00000000000000000000000000000000
COUNT = 6
KEY = dc0eba1f2232a7879ded34ed8428eeb8769b056bbaf8ad77cb65c3541430b4cf
IV = 00000000000000000000000000000000
CIPHERTEXT = fc6aec906323480005c58e7e1ab004ad
PLAINTEXT = 00000000000000000000000000000000
COUNT = 7
KEY = f8be9ba615c5a952cabbca24f68f8593039624d524c816acda2c9183bd917cb9
IV = 00000000000000000000000000000000
CIPHERTEXT = a3944b95ca0b52043584ef02151926a8
PLAINTEXT = 00000000000000000000000000000000
COUNT = 8
KEY = 797f8b3d176dac5b7e34a2d539c4ef367a16f8635f6264737591c5c07bf57a3e
IV = 00000000000000000000000000000000
CIPHERTEXT = a74289fe73a4c123ca189ea1e1b49ad5
PLAINTEXT = 00000000000000000000000000000000
COUNT = 9
KEY = 6838d40caf927749c13f0329d331f448e202c73ef52c5f73a37ca635d4c47707
IV = 00000000000000000000000000000000
CIPHERTEXT = b91d4ea4488644b56cf0812fa7fcf5fc
PLAINTEXT = 00000000000000000000000000000000
COUNT = 10
KEY = ccd1bc3c659cd3c59bc437484e3c5c724441da8d6e90ce556cd57d0752663bbc
IV = 00000000000000000000000000000000
CIPHERTEXT = 304f81ab61a80c2e743b94d5002a126b
PLAINTEXT = 00000000000000000000000000000000
COUNT = 11
KEY = 13428b5e4c005e0636dd338405d173ab135dec2a25c22c5df0722d69dcc43887
IV = 00000000000000000000000000000000
CIPHERTEXT = 649a71545378c783e368c9ade7114f6c
PLAINTEXT = 00000000000000000000000000000000
COUNT = 12
KEY = 07eb03a08d291d1b07408bf3512ab40c91097ac77461aad4bb859647f74f00ee
IV = 00000000000000000000000000000000
CIPHERTEXT = 47cb030da2ab051dfc6c4bf6910d12bb
PLAINTEXT = 00000000000000000000000000000000
COUNT = 13
KEY = 90143ae20cd78c5d8ebdd6cb9dc1762427a96c78c639bccc41a61424564eafe1
IV = 00000000000000000000000000000000
CIPHERTEXT = 798c7c005dee432b2c8ea5dfa381ecc3
PLAINTEXT = 00000000000000000000000000000000
COUNT = 14
KEY = b7a5794d52737475d53d5a377200849be0260a67a2b22ced8bbef12882270d07
IV = 00000000000000000000000000000000
CIPHERTEXT = 637c31dc2591a07636f646b72daabbe7
PLAINTEXT = 00000000000000000000000000000000
COUNT = 15
KEY = fca02f3d5011cfc5c1e23165d413a049d4526a991827424d896fe3435e0bf68e
IV = 00000000000000000000000000000000
CIPHERTEXT = 179a49c712154bbffbe6e7a84a18e220
PLAINTEXT = 00000000000000000000000000000000

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,108 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS MMT test data for CBC
# State : Encrypt and Decrypt
# Key Length : 128
# Generated on Fri Jul 17 16:27:15 2015
[ENCRYPT]
COUNT = 0
KEY = 6849f9e073578364c30ea8560830b22b
IV = 3cd1d56fe52724d5f952a68296d0747b
PLAINTEXT = 2615c629cfdd65a974b9a98b04b01597
CIPHERTEXT = 3b6dacd838995468215e5e6ce44cc0ea
COUNT = 1
KEY = 14cf158d3639a5b4844eaffea623bf5e
IV = d0daec189e5aedd279eb0f2a781b39b8
PLAINTEXT = 68c783b906c25539e15f37ad7edff106195dcac63c0cb36490c1c3f2f4b1e3fd
CIPHERTEXT = 899a90806b0317545ce022aaa789195d4ad1f09fcb8d0e4c041c14590f122b2f
COUNT = 2
KEY = 5be6d022eb8545117907778a1b3bceea
IV = ca08d87b4ae95cc43414569d9284aee4
PLAINTEXT = eb483803bd6d38f167540b1c3a2216e66061835b079a8c64c226f63e2b41db2bce60ad6842c5785e9950671cfb988a05
CIPHERTEXT = 95aa63d68d705a68c2ebe15231891c7a544bcb969d4bee436d77842160797b5413f28a34a8624ed67ad208d1573506fa
COUNT = 3
KEY = 07ce80449a24911e303b04dde395e1c2
IV = 4d0df727829fea96996f7f0be2dab063
PLAINTEXT = 7412a93c6c54a646915d62c6344766b2c7d143e8f9f8d56723c7c5bfe36f51c6069a508dacfd7092a62cc33723b37a738c62f0c8ace8ea7514a41decbeb7f086
CIPHERTEXT = 2fb810833b7461c6309bf92280a43ad35d6635ecf0bb24f85b10ea7cd07685544dc77a104cbd96499637cc7ffa9a440c710f3cb273c3ee8b5b067216130c4212
COUNT = 4
KEY = da280bafc7a21a47f0943b3f3a621434
IV = ed595bb7f00d4df341484c27524ae6b7
PLAINTEXT = 7bd8f6e95b95e4f1114c7b3d37f9515f295cbca117b58aec58cdf2e80135cb65b7d2fcfac19a34eb6198db5065364874f9bb347cbf136e4922cfd19fe76c748604d820f0b632079dced1b23c4b893cd3
CIPHERTEXT = 210dfee1176a4e9480469afd0fc86cbecc4baab43fe4d4027551ce055614677d4d157fd5fa3c9f3a72f1493aa8903e2d9fafaf5d5db6990669a5ddebfdb3c12bc43a572cc3b5834ba2efe2e476128ce7
COUNT = 5
KEY = ce18fc3a32e4f385029e81e7f7b1b446
IV = 6d59d8c72c16fd869fe842c4febc34e8
PLAINTEXT = c6b156a9a0d90183c0ae208abdc017623e65efc0b1a4a9714051d29e007a584e6c029c2c138cc88b8d9a63a7b3f6232d105202fe922b933085f39756c26ecc02245d05883c5a7f044603739e5b5ae80ce86ccb595e3141e52bb43caeea734dcd
CIPHERTEXT = 6b557ad9f8212d76a9a11912a13e97b8fbc76788f1c980793474108383b8dfe3b31b01fce174e39b058b7d2daa43e60b679450bd12bc24f50006310a99887166de96f23e7b17a800a899e9e16ff24205552a4c09d04471a571e6d64088511313
COUNT = 6
KEY = aa6cc50bb5f56f7f46c0d53b85e6fa49
IV = abc9731829231f1e37df8178e8cbfd8b
PLAINTEXT = 1a9d42b75fc13ae5d0bba4df7a35123fa03110ae554b594c4a3e4b53e4aa99f7911540905d2fbcfac05a7b3cba69926922a8afc43c1d4e27890e30a6e3c4096fc98e7af4f7083e4d399ca8d7824a4d2238a5fe0ad31ef923a6855f5bfccde9da6710d72d55d22aa4e48a13f8f85fab31
CIPHERTEXT = 61cab0d6229912e9e50af4287c25a7f71d3ba5169bc744b3aef8a41cbda8b57a718fe02a3e7bd1ebcd039679bcfe46529a62cea3ef17741b68dd612a36c9db4299fa83416bbc5d575b474fcc3b2dc0cea9ab4b2879e5edb1c3864020bbbefb35617e168bc2d547de5b3a575c815fecef
COUNT = 7
KEY = 971f7ac05ceef3e388efa8e278968bf2
IV = e09c714581933c15be173cae6316b810
PLAINTEXT = 325df97ed454b9871b99dd8cfe59a4596ada15702bc6fbfb10c72f044a5315e816ca69099cbe3cc4169139a334462dd3bf91c7d87e309c7f567e6d14b446add630d53ea86a537c0938537c4604a895ee6f7a20873a9a7d7f671357669b02285ac7a7ffc207bb813fcb042ddf3428e594c1bfaae52aaba8e48cac7260c72f8e5b
CIPHERTEXT = e0c4cb3c7a1a5f20a311a7802040bd606de816931195f690492342caebfc008bc6f90703a5afb778eedd4379ed25b9738c7f68c4c1150faa06ac2e7356defd067648a577fd31eff0e8406ad45b21c1f74deea3f65157fa1bab258caa26486e2c634df9cdf6b6c0387393ad3853409a02bcff6646f94c13e4a1ffa8e3925aa659
COUNT = 8
KEY = 4db8dee945e656c331f4f2d6859a62a2
IV = e898afa5fd79ee86c8146581f37daf59
PLAINTEXT = 328c4aa119a6d1cd9283a456342d3437172e75e9e6538f3f35b0d78f15e4fd12e69f868d6d617d31278466c0dc7c74f2765efc17149f28fd5b1ef0140c6546d0dc2c914f801f5d3c07e251f36c5161e66c0c453f953329c7a06ea6060031f1acbb3e522f796bd8b6daa54c360d3563da9f4237a99097f863aca7dfab18ce646b2cdab17580ca56664ad63ed0e7afe298
CIPHERTEXT = cb3744451cc809ec2868d897020da7ec2a5c10c7edc063878d12fc6a1863e8744cbc85d2ebe3c57184a72c89eb28f83d2a93772247b91c566df6f3107a2f0ecfa0c6f241a97a351e55f30fee26468b39ef2291bcec7fb06cbc5d8c35a8272e2699fa5786fac00fe9ec4e712960821e5f37f8670f2e77f0f94b42cb246ecc1fd0f0ffec7db989b1bf146a671d76262801
COUNT = 9
KEY = 66f718a3eb47c601dc98aff5304eb4b0
IV = 12ad8574f47bff9714c17e66041551c1
PLAINTEXT = 01c582e0f659afe29baa3bf8646be381841508e80d7ff8d459ae6f9eaaee5e080d21ea2c8458b8b263a06846fb1f5f49765fcac702e9dfaa3216662da0227993d88288187177a0287de4eccf245d7c718b8045bbfb8869d93f1fb9e94d7478b0298e628c07e0edaab01dcf79264dc05f8b2181aa3f831dc949726fbcf80de4c9c9ed83718cb82aa2c3f31a2e4b18b57c3ee9877e170384e217b6908de8144545
CIPHERTEXT = 153b124aa0dda6d687ef7469f21c870ae64b8bbb0b2601fe51b6e468897139c660c38b56a758ff6c01894343390f6d9cab84aebe453b0f1d208062b83bab0ca28fb33aa88e65651ae78e55cb4e9070081089f7b0e3f82d175a43e0f5390a0a536175d6e862c8f2a0c01c9262bc5aec02e1a24938738de467f29149f78a969f905c038ac83045559f776e2e5fb16c9a1ddd38df8ee9954d61fd55360b74f338d4
[DECRYPT]
COUNT = 0
KEY = 5c1134f758ab00012c925b013d6edc7e
IV = 2b77ca1f643a786eafefd8179abdff2c
CIPHERTEXT = 2ce0f9440f5b5ed27347928f72e61ef0
PLAINTEXT = 046d8311113626846d9c9a777702886e
COUNT = 1
KEY = 96642592afdcb63cdf064e6ba6ee1f9e
IV = 6b6991e5f25f4b196cf0d8f29e60bbf8
CIPHERTEXT = bea4afc39dc45ed065d81af04c91e5eb85a4b2bab76d774aafd8837c52811270
PLAINTEXT = b73f8a26b1c23316797454538e13bd145e3c846c44263d43ba35bab667505b7a
COUNT = 2
KEY = a59ab2743b311fd07bb312cd455089bd
IV = 99e750063ff4674e04110f93bf8212c7
CIPHERTEXT = 84ae6c2fdf1418d629b9dea4a1f48bc40f75e07ef3d6dd67db733fd5157c47968648bde2daec358dde0d918129f2c76c
PLAINTEXT = ee156dab94e50adaee6a4cb7c18f1d465c59dcc5ec8c5457b767a4b91eabf4e8385942d1d94c61c47f2f76a999a7689d
COUNT = 3
KEY = 235ab6cd7759034243b5ecd1faa714a0
IV = 05a903d7a58d4e4b8284fad387e4d692
CIPHERTEXT = d0e673105c3bc36f91e5312a957db9d9ec89a1419c09b7828f4cda913808bbe97aaae57ec5ebfbf382a4410cb1e35e66d03e6166ff67016f63012958c8b2b41d
PLAINTEXT = abebbd3ad948ca7a1966919f7498066903950a496ba3db37900df00eda025a7dd9539b698a2d09d9a45776a57640fb850c942f39df6ca262386e0ff8d265a425
COUNT = 4
KEY = f2fb2311861c679354f552b0aa2c454d
IV = dd76f9b813ea9a1c5521476aaf83107e
CIPHERTEXT = ce6442bc44357184271a5b3dd3cc6211de5ce339a778686632ea1e5f336189eb687476f12ce431de4a21f9470f10b1d0a30cd84c992bbb25c4c2e9fe4c2be89802c526f2f13d32b5350c2cce11417b5d
PLAINTEXT = 69a3f01a54f34eae3388c13bca1feb7fec2f94f89fbfe30aaa59d7b13d613cc8a94c1b0d13442f2606c192bf6a34a3cd87fe568b5855a2fd364666f68783918ced650bccaf9b93fb9e327fa87aafe76a
COUNT = 5
KEY = 59857b99f2bb155a3d6d84b76c55b3bb
IV = dd98cfa4aa381c783d9214be1930e879
CIPHERTEXT = 792e0f21bea13764fefb1253ee3783d81faa56196adbc9f192944ba0253983c1a359947de283a0ffb15b8b27bcec0183b040ba7b9f2efccba5746237cc06dd792da5f87f58b260d3f645a35bad7a3842440bc03608248bd46e725e60f97e73ba
PLAINTEXT = 59f524d18e4d9c6f4905060850a718e51452d0d4675ad53364da190208ccd606f460f14407078da09c6eb3a96e98fd11404835e3ea5923b61b2dba76d7a3612b9f887344965997236cf3b155cc33fda0f428fb6f5e318e576f91a42d0218c840
COUNT = 6
KEY = 87c1821c2829abc600610105c2e0770f
IV = 9ef4419945d945baa2c1d090fb6bf6f1
CIPHERTEXT = a9d246cf79def493ff133f38c3ed8238a7d16137129e0e354e86c5072f1c9908f6ad730c74d458957349ea4a51fa32a4ee5d9cebc904436165726fbdf22d5cda29143eb178f381855f55555d1a996ab78048f87b2ba6032ed987dd681264ec880baeada6cb62f9c98cde885a64f3b3d9
PLAINTEXT = 84c2898be30e812d1f48268a5ed60d0769363f8f740f82be4055b64a6e95e7c452086f93b687a742698b9075c975a5270467d85e6e2c831306e115dd5135cbf7d70ee9f676dd903caa7180aa7fa1e9dfca2525257a737c5280d55f5f2d42819569ea48f7cb5f9b96b42ae7ba24335a1b
COUNT = 7
KEY = 3160ecb20f1cf6169e83c9c3611aa68b
IV = 0a50b29f8dd8236914d0cfe94b4954d3
CIPHERTEXT = 66228259df5c22cbd4e3a831fa9e26e2a4ad15089fb551985b7765884ca8093c90fce941d285a83d6e3b2526d6dcfdb334f651105141c9d6b533d83a10cf4285d8bedcc434a093c019a4b030b2565b2e06b95de8d5962a98c2131eb6b887076b868de44acc58ec3b1b46d2b758b7483b611fc2f6f35a7cc5cc40be620c7a5fd9
PLAINTEXT = a268f10825263a4db1e334c609b4ac832e7d9429cc8634a798fea1ea4d177ba08f6f51b0d4d28ab4f5cbb295fd12f533d3fa6d235347090fc5de59a87055766a754d5325de50086cdc8cd3940f71c598e7ba26a25ad3111f9996f68950d0cc3c60e2a58120db2b09a52543cbc5583c5eb5361b11037b3f734dbe13b3bd4fac7e
COUNT = 8
KEY = a078662773551494084187d2c6df6a34
IV = 1a2c33157a5afdfb40e40ffed0ac8b48
CIPHERTEXT = af7da3f26db3e9a0229a6fa97b727b061f9bffb69cb92605a1102d0e6f30747f8ad7d59cb41334871ba757bed2b0f8e57e8819c652eb98963d58037961baad49c848029352aa17e3f25d86421a5878fc74f003a7d3f9b760692e73583ad37d90d098d2e031c1bb3e0e84a13d3db222d46a9a6561092baaed8e5825b2e1c10cda0c8fef8a379f481fd7e453b822061ff4
PLAINTEXT = 2c24dea7056c4b46ebc3abc62516f0b476d4f0d652eb0f9c9eb6f8336b5bd9d3fe273f91b7bfb0b5fa0721027c173ca2c1160f19b54290134d69918a8eb07a364f593b669b85f25ffdc0dd354f85fef6c233acbe270e228d3bde48019f195dcb5e4fbb37df9885752cc9febfb0f2b9dab0d0b79ffcba29c4b65cc0556c95174755af5b4c66e48e6633028849d2684934
COUNT = 9
KEY = 825b91d8baa03dab01cdef2617320c30
IV = 54100f298b899413a4f663a24184c789
CIPHERTEXT = 04731704a0d87b5e3d35ff3da14d2d9539e77f830020693da1059a4ae06180ee36d40ae9bb25b1614ad9b91cdf05b4f243604982ec9c33251ef78c20570d4c1eeaf00dddea7a112749e28504418e072ef32867c54ff4aa44336155b4d7dee81f68eea848f37fa1998578ec5d91912e2f916761b2f0d0d783286b7b6c287c5bdbf8f763929fdb6b9f45c1758f95b52fdf6544c0b399d6c0ca443f88b21190ad38
PLAINTEXT = 07d98bfa34badba390c911527def576c0fee93b70d530b8e909ddd4ca6f4eab4b879802aae637f1c8776e75d11d9bcad5ff5f3a17f24ca34428f09566fe3083f076ffe89de449814dc54c73c08ec65813d53f1a48e14c438c03a4ad977bea756223bba853c8f0a99f50b93c527e3a8a340251a31a824faaf799d4823c9e6100520dd976dc08099c4e0e698646462c7dd9ead759a62f424bcc46bd1b224cdca14

View File

@ -0,0 +1,108 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS MMT test data for CBC
# State : Encrypt and Decrypt
# Key Length : 192
# Generated on Fri Jul 17 16:27:17 2015
[ENCRYPT]
COUNT = 0
KEY = 1feede276def5c68b917f6a42f7ac1a63b613323903e404a
IV = 684800c0fb46233e08cebd1cb04d16ca
PLAINTEXT = f55e6cd3955b15378d4427d963d57df6
CIPHERTEXT = 10ea12f68a2c591dd156907b1b116dbb
COUNT = 1
KEY = b4c3b27e80b612eebaa7a06a1f33101c3d7b91cdcd27bb05
IV = 681d9610e1df08d38a4ebafe8cffc0e0
PLAINTEXT = 744c883dd2237563decc5474d69cf5989a07d1f00e6f8f15c03acdc2cb271ccd
CIPHERTEXT = c847bcbbb5b14497f902057903ec0ccb0a46fe44de7790ae4d03a6b7111b8241
COUNT = 2
KEY = ee60f567af7109990fad80f4010dffd67b7d532acce1638d
IV = 2f50c3187ae000db05047fd3fad256d3
PLAINTEXT = 8d1cad703082c67e3a0d73cd8aa841c7b131e65bb42d234f0ebaefd8f5c4d168de7c8ec743060465a47256efccee4920
CIPHERTEXT = 3df8b345dee6f9ca8c84d8cf0d6533f0d260c634ce2c4014fb681b08e5a8250f786ad2dc396762deb38c3d54e44a51dc
COUNT = 3
KEY = c4805143ec60e813fafef48144ad8c11cbb2eae7b5f07d8a
IV = fbb4aad9c589d5990390b64f16fdc563
PLAINTEXT = fba729c18f969fd53057a814a1b9a9e10b4dba84e4c0aa1f146743e35b1ccf83ed49dbe960423a29c8d84db3212b82ccedbf1b3f1dd2314f35edf8f1acba4438
CIPHERTEXT = 763168ffc384a1ab13fe336092b2adda5d7d7d38709277dda4e8d05f3ac95a42fc3a8c54d44f020c4c6d68f659e7b56d7a33b695e6734e6017888c23da69a607
COUNT = 4
KEY = 16d4b72933e784f18b08e2cf490873ad3bce8d5b84418d8e
IV = 6ec40006749a01b1a4b6f25888c5d3c5
PLAINTEXT = 6e03c56f51f94aecf6f8bf73ef9c650eb6ca997a9bdb617201fc4531cad460321068b63a163cc8987ebb66abbcd9c5a6caf7d1901d07c48fd9f0f8654134f93b71d0df9e4f64dbc7bf930f1f16ada302
CIPHERTEXT = 83a67a35d0d3ac98a5230f109d32479f064ff4d9b52745f304e13b415f75ba88d04b6530d5d0ac5f7405c117ca9b4ed175b3b78987ee4932d4924296bf4836857aa8697e031ef5c58820cc3428208e34
COUNT = 5
KEY = 48d55decbc0475fad04f3edbbc1f5449a21e8764718ddfa7
IV = 4859cd2dc6fdc1edf374a6a0f7509587
PLAINTEXT = 6c2e74f1bfef4196ec5d5e4ddc892654ea33e711f59095f6b44bc0a74ac9c45f1bb14090ddacc9c9f269dfddf5e51f4293e9bbb79cd42829599a16d8210da5b6275bd60f96d83f6fe0fe04c152b202b4edc94d6371cbdd34baf784004f872375
CIPHERTEXT = 3291aa8e3c0d87f36300990e8fa5a7b33869993d168bdd9f4602fca8cc351af551abd73407387872646646ee168cd0be94ae1ded1a4934cf82ad86510d8db231399199a1b10486a623638b1f1707214df931660bcd303e08f880f3260f8c0161
COUNT = 6
KEY = e190aa551c63e9b2f92e9d987f3116e89dede1cd61899942
IV = 157903365c1df219db5e2cad9703f184
PLAINTEXT = b898be2abd3140054d5e64d46aa7e6793f1de0b1619133ed5605285d5460574d4a66c8b425e6590a4c355f5b6cdc909a7b8e2137f75d2bf36f2d53f44568aa14b2f3d27f0a61637d42678c8caf90feb210320511cfa1f8bc84a2d4c9bb2324a8f72924b3f709250537db3390ba2cf66a
CIPHERTEXT = c5c8603b5279f819b57feb24435ae71c1dbf9284260a7b1d8f682615b5edced305394d46c78e11d8e872c6f8cf787c95aa2fcceae8984e51888f5d71ab7b026e6e9d0da1d1719e6e6f978be8f1a4cb85efe305271d2d4a08b197e9519465bde69e3c2221e42964da19d5c83a0df6f29e
COUNT = 7
KEY = 9a9fb8e1392d08406fd09098d787e088a389e3a1338912c8
IV = fc4f1d501615ce7346f22fa8e1b85aee
PLAINTEXT = 850c1456f2a5e73d5c4d81fcb6b90e1f2eefd0f0b3b5c290b4497b472b525419db17cd9ad5ef2d0341f869845b0c47dcbcf1c328dbd0b2f8d3e9a5a8678410ee432bacaf841619177be7c8e8ae98181220b1bf85d3be6c438a00abb9d363084f45b0773e0704f3a1928166d0b743c9e9e3958cafa265389862f653217ad58465
CIPHERTEXT = 79a96d0b23ff3e7abe6d3d6827cab8b9516d790b99ceadc2228cf1e835ba6feb5905b92a2630b15dd939c26b9bc6a4b3fbd5feb00c59b5c81c9ec4f5af4eb767f0032835fbc8ef78ceedc34c765fdb49154344245f7bb0f672d101d0b8f24c8d42218771a08c124022ed58737582fd43873fbb9e81d1083b9ade4013ab7ffdd3
COUNT = 8
KEY = 61c564d19c3bca83174d4832d0155bf9c2ac89d151fbea06
IV = c8386e6b091c0deca918c404ebf58cd6
PLAINTEXT = c54a1abe0b2d990df90b4868ee591518deca3d719b7bb5aa536dc9eb5a3903a62aff4e2ba9a05b77aa2d444db59f6f890bc8b6b0e589c4cbfd46c2764f97343421401d0541646a3b8ef58d89b96f695d4dc66e6fed9c059addb82eecc5b467f9b1f5d1745be18e00ad4b6d438232c93cadacaed73c1d3ebffeac537442f8669de206b09f807f8e6e10182aa4965158d0
CIPHERTEXT = 9c0dffd4aad42924f4bc94d35a22963c28f3e23a86b91daa87bc870c4bca7e5e4bf72b53616f088c4e5e8623e5c9deccbf88efa928c4b776b984d9d71d1d3a44e62bd72f0e7783bc4aaf16b6bf281eda1f41aa8f645d1870ccf5c3464c79b79924b34cc8ba722ccab8e5250b3d1e99c9427777567f3b97f1903f5eeb985c08f9d629603d6f97afbfb89b163cbb2dded6
COUNT = 9
KEY = 7f5ed0bfd2e5f653405c8ddfebafdb5d7545bd0ab7e3f66a
IV = 090e00db22f3fd190a99353c82cd09ae
PLAINTEXT = 8c7e47c0c9814fb6faf6191eb52a90c2ee50e9951b18e3e995844de242f8c92b7190d1e705b5f7ebd6f3712a5405d4706e322054b2ddfd68b55744b2b5f7c1607d6d38b78953a54d6b05c8786db3e10678b4b92e341de1c771933eb8c65dc6b077bd84179c81e24480d527f0485b3fead57ebb0deb03187092e044dcbc525e83292abdee88673538df0a957a2c2674864d372ed81db429c9e0e85d06e1fd1341
CIPHERTEXT = 122f9ed068973774e2c802d3835f8fe2b8a4d673bf1ba576901ac6c74d774175d072a045e2a4129c6cf70ab4a98b860692177cc38868c17dfdb8bcef07c8459321f39bd1254951ff64e72bd0a76b0d2d3799775072817b58ea17c745656e0e5517688a42e3ebca05a9e9dacddf63f838388551709a6becdd577e074f0edf59858805d2af3039297f48d34f81c7ea43a0be4f06a9c5fafd5f50abc1f0522cb30c
[DECRYPT]
COUNT = 0
KEY = b78d372c24a22809bb9a4db5a7434a0fdd0de3a1536cca23
IV = d89472d5286cd81a35f1898b97e8833e
CIPHERTEXT = 47fd1940cae07074bd95e59deb4e2ea6
PLAINTEXT = 3a03397ac7d117ddd8815bc3ad644a9e
COUNT = 1
KEY = e33998031cf47777cb090f6617136357c2dfdaa309c34271
IV = af8d11587dd27abbb8326036045719d2
CIPHERTEXT = c0c740dcdf8204edd5654c88ed9f5389e604766c9919f404dc6af270a524c24c
PLAINTEXT = 3c5d3a1de9bb079641cb410380ee720a5739d7cb5708eeb46e5d4f8b6cb903c2
COUNT = 2
KEY = a3a772786317509b0746b2e0341490b5ab09dc8f21defd8c
IV = 1d47e4aca8260b326b26700cfa597569
CIPHERTEXT = bbf914b3b6fb6fbc89f857a7198e01a85f25440418d2f318be7b699db63c652acb0a19fadb967df0d074e9d8d27de3f0
PLAINTEXT = 9e1e6965b20f0f0e5c1587f5e32fe79f89fd9c2dd109e01cbeb3355f5888e8d22665cba1485bb479c4bd060bcbc558f5
COUNT = 3
KEY = 7acd6febc206ccf47f87641e7496b5f5c74cbf9108902123
IV = 79e6b6ed847b14bc9ddf1b4f26bd5757
CIPHERTEXT = 386ae4362cf93878ef537ee23727402deb8fb6f936dd82b7db979ec6c8c092dced59eaa84e28e7b657b8759270a15d30d209bc8b996bb48d1a98612f76fb0ee1
PLAINTEXT = 141b30a09cf83ddf61068e51719940be0f925ab7eae68dc8c97b6dddbf0633ff540996bda9fe0e6d370301f4e76b74f014f14a5469264d04f8c4019168782eb4
COUNT = 4
KEY = a77c7e24a0917db299fd774a7f886611adab2a73b6487473
IV = d0e9606410145f25cf0f099c5020576c
CIPHERTEXT = 45d98f0ceabeac900b93bde9985f40f01b532f008e507aa070a9b46218290c0b485880f305fa4dafa6d9aaee2cc4b5a1d1d8ae5fe4fe6307d3b5eba78a12979cfb0426fbfedd38305c0e06e526324f26
PLAINTEXT = d18082a5af6a2c953aae48081bda8a2f66c10c551defd73e1ead0d32815bbd09c00843d2cce12593104260206ec97a63d4f6f48a080af00fda9ba543a4a80808b2888531a077d1cb085326217e75e278
COUNT = 5
KEY = 9140ecf134260e4a2e6aebff6cda62826a8d81bb3dd4a5a0
IV = b8e6f7e5e6f73cf26e8f20815084b0be
CIPHERTEXT = 04542f6cbc6396b893ee0a5af243f22d1542fe33ca110ae4751145c65810923e11c02ea66467939f3bd99da9eba4ecf1b98a89699d34cc1e46247dc75dec39990e9d1763c5838cd6350f8c249f15f2ce513822b66da2ed7cebf8b507e18cd162
PLAINTEXT = 6f652833779a4b6c53161ee39847d996e642f73f796cb2e5b27fb24ca9efd05138ef8392c10691e798ba02bcd6401f28015aa2168504e420b33604d23e51ab9c7e40e795a2df2e4e39615b8e78e8502c2950bb638f7d067b8d4fc9ee1754d078
COUNT = 6
KEY = 72ddb7830502f1218d835d4b00913ecd4d6e972940c83789
IV = 023b3216fdbf89aab7710e8b0bd6037f
CIPHERTEXT = 19824c4ddd66506e2e93a61487eabdc0f1a004f576e3fef7d9c099d38444bc9fc2e11f032e145ff96c4552d016ef9877f90072f88283d743737cc52dda13d6b844f513952ef80ce7bcfe294aae1b3b148ffa56db2f7ce33754a3f1c8adafcc7b0786d10ac35980c28885d38935b7ce1f
PLAINTEXT = 03f9e3c5c46b77613da7614179a73172de15cddb2a87839291dfc9bf591247631f2d961dd207e453fe51b40d7e5dc5000cf4037b3637e650af9eaab7b49f54d2f6176c1b40589e9274e079d94c48b805a176732b91ad314face3f7ee03e5eca2ee188068e75f5b29643deea71f061313
COUNT = 7
KEY = 58fa7688b04cad9b90a4fceb297ebcfd3ea5620384000054
IV = 954f1690a41046e341b32a0e7924cd83
CIPHERTEXT = bbc5d747722b3e7dc979a2ab751b0ac858fd034103fd430479a08bd73503d2ef6f159fbe9c04b70c34f5f849b7f88522f23b23527f7ee3bb8bc602b5db560da611db48d32ce751754fa00110c3ba93003ea2085466fcc9e091508f8ecf0080f52a7e9b2d2cbb55e1a2e384a5a0477d8ac59b79f0c0613e9c13a5fb0b17eb7305
PLAINTEXT = 029a1f276d9a097b727bd4d1eeb36dca8fc4883f6e2d8e60e2d66495eab23e9641a16989af38c09f011a43fee8b8ba23bfcc0eee67fd723c786d6735b3bb566a7f5ef8ea89c2ccdea2b6289a66b75cb381744fd128bb5ae49a472ae5633df78d1472de92231772ff145f06a392ee9fc571a8a3ceec48eb59a49961328b8cae99
COUNT = 8
KEY = d9414cd10128c136c92bdeab446c51f7b1728e903b171ea6
IV = 9dcad7e351c4e8f0aa76d853301b84bf
CIPHERTEXT = 5d0d47a97f80a5ab693378af29cd5a33555cb3579f9ae540aa6fc7ba1cb65521f544a6811f261efc452be46ce9a3964ab1653ccf02177b58d0a90c0fb5236cc840a1d4298f9b6b0e206abb2be40861f4951809b94a269a16492fae8a1c644566e72bbae9f867f6a9a0f9e334418723f8a97b03609e4faa40ba0997737a014ac391ea4008821025946ddf46cf29a5451f
PLAINTEXT = d9701ea13366ebab99d72c5941f0d3f2e581948e189fd90ce637ce38f7101074a053a963c989d0d875988b86c2cd4de40a14b2bd1f3b1f61870d911fa70cf7d43c48d52f0d3894b4479274d9d7080eda2768be1a87b5992b770b6f39624038b0c1bcdd30ef5724080f14cb289bbfdb8fe12268aa166e6db112862052a4af3cc5b0bbaf3c48b850ed4a326833408214ea
COUNT = 9
KEY = 2c1fbeadecb9a60cc58a5eaadabdaf39e7adda09c8573621
IV = 705992f4d78721472703a508361dca8b
CIPHERTEXT = 433781e0fe20b6b080021ba578df76fe712452a7fa39476c04577b678b9a69ba7957e184c7af500de56442445cec256cb2c450128d0744421c3f31fab37bbcdfb5a2ff2fb706d1f7e23c4886992c7d215c648ff8edb2eb59b1f1ca245823fb7fc1c0e2ca174ec1d64132365179c605853aab18436061c4198b144ecbc4b9ae01635a923e2faea611c8ed138f42e245001342f2d92f3c58eb7151c6d93d665dcf
PLAINTEXT = a05c1507bcdab6cf378ec12e4144244ede8a5426e9e71aacfa30d137bf5e43a4feed9126c3a0839ee38e97e13c3ff7f988f06a239f1f10ec7ccbedd0261eadfeba6d7c3fc9df6dfda1d7be4d8798e9a26c64bfc888b86fab027c6138e27c4dccec48bb6899fd28ebee1d195c08b075879983e9306b215e7ed6beb75a80c5bf4dc49e8ab0b8f0933c1adb9a6d211e9923c3b2823968b9f6d29c5e4f87ec761fcd

View File

@ -0,0 +1,108 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS MMT test data for CBC
# State : Encrypt and Decrypt
# Key Length : 256
# Generated on Fri Jul 17 16:27:18 2015
[ENCRYPT]
COUNT = 0
KEY = d4a27d8c2dd084fe7d29da1ff768573160891ea00be72d3f07a132d59741a0d8
IV = e7efbc1775f9bfe7b279dfedb37dfe4c
PLAINTEXT = 8848a0bf195b58082d8cba4498325022
CIPHERTEXT = 233e3fd31e8a34a5334e82063e7f7346
COUNT = 1
KEY = 2ef9f593f4522981d4f9993eb451f25548453c3c7e2560cd19b0e8f59b7207b0
IV = 08d51bf45a884dc4fe9f38aa9258fbe1
PLAINTEXT = db66d01f7eaea4e1bca2fd7a483ac1c6dd542aa62404caf8d82bcdc7284b7fbe
CIPHERTEXT = 37c21bfce4558fcb163b043b7fbfa8b7b104c5b9fa1b2bf625137c63af53178b
COUNT = 2
KEY = 7be37ee7f424fbeda310925cfa5decc88b6db8b126dbf3b5415466039da87013
IV = 2f13f1e3d949f42f35aca0eef5bcc6bb
PLAINTEXT = 390750c71be94f1a732bee57b4c255d17342e43e1bb680bee2cf2b19fb42d8480d6b7d38e53669ca683fd81ecb38c511
CIPHERTEXT = 88e81090e5c77b2dd369c5266b98188bdd80f964a5b28fcb02021ea9fa9c024a46a9f7dba61de69a0ae7ad56d18cf71e
COUNT = 3
KEY = d80c5b1e74844e70401ccf4fb6b7445b8e7e459f3281ab5b73a1e9077aada094
IV = 0f33339c16ba0432767584e314c3622c
PLAINTEXT = d59e8a5eccb689ce7509e2073aaa7148ec77a909b440283b4c2b8ed16e56907f8dbf48c2c461cf200ca00eb1b1e7d1de07901d695904c4ae222336287fe69a36
CIPHERTEXT = 8e004146043c09f509e4e469eabebcefcd2f62609bc78015ba039f9e78382670c414c9eb9cc4b4572f43e6c4e65b13d5590334a2aa98267b44c1679a0bbfa712
COUNT = 4
KEY = e3f5ed2cee5974bffa2774be43b9b3626d368a3824aba0d1005ef8bbab5f2eb1
IV = e7e33aff3f078923df40d1b33e39e2c9
PLAINTEXT = 744d81577087932a1f414b90887d76b07fc83da31210a7e124b65ff958e4b8863121ee5e7722af0cdce3d981dff78606f11d4675d613aba94faf0b33f62b814e69c13516aa77ddf4c63d845db5358abc
CIPHERTEXT = a1f7949287139d7519d799d825bc55c865385e077fd964c5323c97f2b4db704c13634e522dc93dbdd07e7de0b32db8211d1e7ce583db5cd2bcdef90bef1f556ca0b39c28153e2820043addbdad83656c
COUNT = 5
KEY = 2b5adb9b447c7030cc52e430f691299469973749f2505d307556d4692a5c9ad1
IV = d44d644ef017f02b16ae4de99a290970
PLAINTEXT = fd483dcd0223368e00a95f1f6a56d772794dc95cc39b9bf40fbc683c6860b103706f4f09f74aac65cc543324d3b10533584dee7fa320975acdb1fd21d2d9211be6ca02a50d4fc88ce65642bbc7ab92160f0627a5b848ecf52c02bfbb5a3725bb
CIPHERTEXT = f8ae8079ff9dde9ca65a6bc88587ce9ee8d9bfbc7b197eecc0609fb11b030a1a61f7586f80613d8cf5bdeba466b3639ab887942e89ddeb09c963298e8c44a94d38b645aad1eaa84a85085f94d60e543985931f2b1cc1c6e9b671cef67b8e505e
COUNT = 6
KEY = 89c4317e0f610c160a67527f5d010fe49b3fa6696516c757f3a99b79f0c641c6
IV = 687a43187b5f771401a3711c49e2a7d9
PLAINTEXT = 22fb158cc7641613d0ac535d33020f2df46d06e2475faea9f58ebdf100ffeb1f8a63f983f3a7f28b42c7b137c6e3a3cdfd94ceceb4801228702cafad0d1208c4a5f4a75fb36f802d78d37a109e322bd11cb7e3135939ed859410115c83285d013a5426064fe4495f3c79b6cf041830a0
CIPHERTEXT = 2aefb07352d812b531c06153ef68657ad5566ffdb545fb17a7f295737c447a6dd8af39c064468cd4dbb38ecf325358a0cdef6f491fc620bcdd7c57f6e2b2757b668d9ef39959dc26a78de8331d0b0ac09c4a6d4743a821b602742d13727bd80d3cd4935447c155fda665d2e3b7de373f
COUNT = 7
KEY = aec63b129acc07503c10f885bd6b92fccd18316bdd18e5758ed47f736905ec74
IV = f9a28e061ad761706e5d8a09a6f25931
PLAINTEXT = f50d40e431cddcbbe9297ef61a37b27f4f66fb5ec41217e7ca5685326d2245cc558ddfacea6ca669bc233eaa21bb5cdd2035cd2c8d1ebaac76642ad8be68c83f0854e779d6afc35ff22f097c0ece9abea71f8c712fe3726e6ad8de9019d12468d60b60323fbfba0756f4e8542897f58aadcd4117f088ca966f59a942c585e0b1
CIPHERTEXT = d586ff407e1b80ac28ab78f24f7b5c2cf0a80df6a21965cca8b2d22ee8e35f409f97b5a02f374d4d904d0db0b6348bb6b28b1c9e41da227beaaaec055c0a22cc7802d11da720cd841158199508f0efbc9715d58af8dfcb659b392ff1b60ae6c126ad052ac93bdb5393ea768e95ff93db669acd671ad94207c9b7aef79449997f
COUNT = 8
KEY = 225028e97c2e0a0df266cbcde824f94f7c57d2a9005a5aa1add4aab695dd8b65
IV = b2b196b1afb2df259f3e6944552abf33
PLAINTEXT = 9fdbfa978464fdf2846a185e4943549040f6b2559358c0d65874691a083011cc322ee23f70f160af9b4144ca3bd0876e411dbdb5f999a42f3a09fd6ee02b9ac87b9cb95849f9904662442948338a70692dc38b0abefa692681ae9edab2776e24e4ed27ebf6c5b53f433d70e319bb38086db0c45cccc33743952cf464665db468d4e8d6fe5f9df623a4f2c0a0d5a906d4
CIPHERTEXT = b1d055afc53118fee25ec8370936c845d153737af013ea89c1f3256164da94f1835d5c48ffea77888c41b660452691b13b68d9678a7603be1dfc87b33ef7d90cfc6824c667b74dd41ed27af4b9cb9f4580d59ff8f09e76d9cb2a63cd537fcb4c6acf472d7cb7c3fb6d605c950524c7bf090db23b7dc5157e21e094f9382580a0b17516959084adb26f7a14bee19a9847
COUNT = 9
KEY = 37dfe026ea8ad0b9428af716f550496f41b0a142754d6375b2515fa4f361f9ba
IV = 43585db2f70a194527fef2dd30accddf
PLAINTEXT = d80774b0234893f2c17d00c34a3426afa20d320671642299d4301ebe532b0c9a12345f9f4bf12f53fbb88f53dcb01b989433d0fa2c7721f2c36e46a484ead81dd5059bd9d1c09b88f9ea7a11264408d8c3e2143d38d48265a9069e3ce165b0ba8943d1669efdfc1922db6805113715f596e2a5d67fc36e77efc1cd8d52e4bdfa96b6a84f99f07d8fdd52023683d36c7977fa2dd0e88c0db2fb677c9fc0ae2664
CIPHERTEXT = 4cdcf654d60b9526bc7022b5ea744cace2b9583e8e4567ebd2389545259e14a07c80d5ea6bf2c95407cc6a214c790b90e5c0be8b9f3d3968410fb3b8a07ba52c48ebcd594f8fbaac6fae82679a79759dedf2b1cee969f0d261a405f2c47093af58681dcae3f18cb39c341ac9cfba6a0b91de7176fe7c5364f9e45fbb52a6d79a9d5eaea5032eef6a710372f34d2dce58e8109fff8a67aa87d59520118426a612
[DECRYPT]
COUNT = 0
KEY = 4d7a197a8edacc2965e7309b77c1b5104ddad89efc05edde05d01be57a14a875
IV = f0b5c3f110ac2153ba835ca8ed907f9c
CIPHERTEXT = dbe65312af7c957d1c6781ed6fca80b9
PLAINTEXT = 742cb54621cef2c34b411e5824baaaa4
COUNT = 1
KEY = 741d313a05e2bd43222179e5f7ab011b29e240f8081d3e300c4e38da7fe2f674
IV = dff09063463b71c16b52dda968746970
CIPHERTEXT = 5a20f4f5a6e3ef6d3f5a06f48630c82da5b5cd9b2228ee06b536b52057be1368
PLAINTEXT = 66283043ff774643225b90d59167ea523a0ea8036d7c6cc7c482fbddd5aae1ee
COUNT = 2
KEY = fade59610e2d0da273c04b48a9eca1f3dcf6d3ac01d689cb223a4617f6ce9930
IV = 6eb4929a8bcf2f3793520cac58de1aaf
CIPHERTEXT = c7fe8f6aa34d3ecf5caad156499ffdf065cc335752dac7a29eb1511746eb544078881d419de3ee6897e45c064778f67d
PLAINTEXT = ce7345b9adf9d130c78bf23469debcbd148184edf3c924ea9d133cbfde2f78211d8436de8cf8b52e0611d51197146856
COUNT = 3
KEY = b52edabdc93b171abf7550fda93cb0f9a3c6eb01a0cc21c469830639e2ce407a
IV = 57a1b5cfeff799b1ddaf281f803d564e
CIPHERTEXT = c6462d6f32023eb735ab6516d9b893ce2e88f95a8f996e4626fa1144b303307d88436925d8ba0f523248d00e496694aaf614a75680121bef1a536818adaf568c
PLAINTEXT = b8e59e55834014d456d8080b3d5f58067201aeb09942800903bd9db9c0c1bd0c49cc3640bbbfb89e9b250cb4ef06c4b968df75b86c7ee183160cc9574527759a
COUNT = 4
KEY = f442776913002bc1eb1d290e708a29783b4fa8d3de88dfc774adf52f7c1774c0
IV = a54b79bfec186442d34d4b400575dac0
CIPHERTEXT = 81e5e7813b2803bc29c6315919e450d16fe38eaa6d91ce49b1a04e08ff57868841875349ccc15477e5c69407843f6a0358ae9e220aa5cd9cc6360f3cf8aad6b753751a3c186ab34c952c06ccece5e359
PLAINTEXT = 3cf7542a0d241c270bde034067c260144233e09d2ed09fe8495ea02439f19696cb6157c1cf615ab59626cf5ce543e9427733158afa2a353242b674e6b12726b2f48476d5a24e08f5cb4c48b854ddc8bf
COUNT = 5
KEY = 30251491313bc8d295d5ebda67e27a4426f6914b6a552e85ca4e38cefecac081
IV = d6805ceeba058689d8135b491cffb13b
CIPHERTEXT = 5ec3b669da5628d5937c02988ff1a8db6bb1b222aaffe5704cac61b2a2961b5a626f8e4bf7c0aef51a2d1ec1a6faa2afa8ced73db6b7228c836fe6beb0defaa2e4df5a931e471c9d4a24a6e213421f3cf9f42324a310bbd3763c8ca666684ec7
PLAINTEXT = 233bbfde290b328e422fefb9a8e39ea5a5cf4347507b0749470113843e4716b94e16c3f029128a3c8ef230c26a8eacc7efee185db35409ca7fcaf37f7d85f83fbdb0ab18104f50a93387793659030f42c0c7e01712d928817fee035b85010eb9
COUNT = 6
KEY = 0b743ccc924da7ed4c07027df73527415468f1f736f6f13cd8fa62ad739c5f4d
IV = cabc99dabf867e9f5458900c5e8664b7
CIPHERTEXT = 6c335a5f102cfc136bfd2dda480d4400d6a4faa9b6ad1eb853bb8bf0724b58590a494ee655d59f542746d4557f6f08ee5b22541ed1f38ac05c3e26b2746c81376171489a50992d15a785dcf0967031edeeb8a8e4379915abfd3b95386aefc40a1ab530c52a030e1c92c12cf3b59827c5
PLAINTEXT = 1de95139a24a3781eee7a2212705b7ba09cf9cce7be64fd7139f9c99a783424bf2e1e68db165292e0b1f5fe538cbdc0bf5f941a1209c179e3c8f7395f41f123f6736633d5ccea3d1e56e023ccbae7e7c67fb095a5ff3211ed4a758a2e6779bc26311d592b2257d5fd8f5bcbd12e3a11c
COUNT = 7
KEY = 7e355943f346187845c677f82a2286a5d451ab5d764f451305cd90253c27c9e9
IV = 67f13821d7552e1b964edf6cb9ec3134
CIPHERTEXT = d20fded105aba1f87dc513a5acd2629d5a4ab3bef7ad162b30c8b9a9c0355c4989210448e351f4333467d94ec1624537c3655ec7beb9d8390e14208ec21cda2fae278ed5bc459ea683807ca11b62193b2fb8a14a53966523989b19ff5e763fa46aa9e341398d89999397646363d9c8f1c5cce211614ca731f8e40ac63c4c72ee
PLAINTEXT = 78a420a9a52b0037872ca4bd2a1fee2b333fc673aefb900b3ea6e6faef9c8251e87243620dca4fa0c299213a77b1eb1b7df3429457846219f8e727548cc370da254dc63a40274485f768cdebfb694b74780e65e72422399dc590a711a53331d2a5a1e8c1e1a54b48f391de3a015127412e9694fbbf3bb164dcf2e9f856d4f13e
COUNT = 8
KEY = 67ded781b2c11f1303010c89264476ed5004c49cba9daff88fa4495e087b3d58
IV = 871d3ceaad349c187a01d6cd76ff428e
CIPHERTEXT = acaf32f6f09d78305e48de0cdfc1bfc8cec869ca0a92d1844ac9859ab1d5e147a35a86fdd601084bac7ce704c0c4c19ebea5c5d8797d6b9f374162334fc0ca86f72ca4e557d687d9e2399450e53aacf860aee0ec161d2892e0c558c346e2512d502d74f69aa35da2a787cd3777aae79f5ceaa04d09f97124ec604e94bec3dc065866df7ac8f0f16ea46f7a029e9ddc5b
PLAINTEXT = d46105bfbb9c4d7d3569b85d92e9879bb7084a23ae82eaa2ed9cc289f5e32267c648713b4293cab6e20b314a1f231e6bbcd5d0598bc17d54532b01d3e1ac9ecc784462bb2fdb32a05c7b3db763f475dc0b3998352ab037c4f512311142ab4e9a4fcee31cc1e1abbafdd42c08e7ac5f44aa676336d478fb812b0bb46f59f0a6bdbb1336173e6bde9e2a999c4ac1527970
COUNT = 9
KEY = 41830c34660110ef1d6292b71d998d26eb225cc143da3573b913f33ba0e81821
IV = 0e98ba3f62912a1f748801a6fae84eba
CIPHERTEXT = 0e342db6b41e23f9b7ea7affc5a4e345b3d981ef65f1f0bcefbf863af957d836682080773b2a1eacb2c19da2b642b8ba752dbc9b4d7c8f24eb33f1a4b439024e636604e7f4dd63c2c29cf2eeec5178aefc6f6b29cb82fb639fc0536c97e01bd8492f416ea9e0f9252da3024c2e7a2b0892c81703a8ab3d63538c32f96bf52bbb60a2be7520dae8bb3b0054224565dab07d604790aba15c0a4fc219b3f71f3be1
PLAINTEXT = 22b8b6a5ca4672b73cd4ebb3b9c0ca46382dd67d18d19c96f2d70975006c0fca54135ac2a99759fadafe8d7dfe7ede09fb628cfee4289c7571f593c2e80bebb5d20825b6b6a4454f92e35341fe366ced6bdee4fafe8b01f1c4abe9d21088e48bb5a3746a0e0088238db73300aaec60a8071fbe07b612569016352b795392276b74ad9def0bc720ceddb48547848f9c6f27400d02534293a2f48a78bf57343afe

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,64 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS GFSbox test data for ECB
# State : Encrypt and Decrypt
# Key Length : 128
# Generated on Fri Jul 17 16:27:11 2015
[ENCRYPT]
COUNT = 0
KEY = 00000000000000000000000000000000
PLAINTEXT = f34481ec3cc627bacd5dc3fb08f273e6
CIPHERTEXT = 0336763e966d92595a567cc9ce537f5e
COUNT = 1
KEY = 00000000000000000000000000000000
PLAINTEXT = 9798c4640bad75c7c3227db910174e72
CIPHERTEXT = a9a1631bf4996954ebc093957b234589
COUNT = 2
KEY = 00000000000000000000000000000000
PLAINTEXT = 96ab5c2ff612d9dfaae8c31f30c42168
CIPHERTEXT = ff4f8391a6a40ca5b25d23bedd44a597
COUNT = 3
KEY = 00000000000000000000000000000000
PLAINTEXT = 6a118a874519e64e9963798a503f1d35
CIPHERTEXT = dc43be40be0e53712f7e2bf5ca707209
COUNT = 4
KEY = 00000000000000000000000000000000
PLAINTEXT = cb9fceec81286ca3e989bd979b0cb284
CIPHERTEXT = 92beedab1895a94faa69b632e5cc47ce
COUNT = 5
KEY = 00000000000000000000000000000000
PLAINTEXT = b26aeb1874e47ca8358ff22378f09144
CIPHERTEXT = 459264f4798f6a78bacb89c15ed3d601
COUNT = 6
KEY = 00000000000000000000000000000000
PLAINTEXT = 58c8e00b2631686d54eab84b91f0aca1
CIPHERTEXT = 08a4e2efec8a8e3312ca7460b9040bbf
[DECRYPT]
COUNT = 0
KEY = 00000000000000000000000000000000
CIPHERTEXT = 0336763e966d92595a567cc9ce537f5e
PLAINTEXT = f34481ec3cc627bacd5dc3fb08f273e6
COUNT = 1
KEY = 00000000000000000000000000000000
CIPHERTEXT = a9a1631bf4996954ebc093957b234589
PLAINTEXT = 9798c4640bad75c7c3227db910174e72
COUNT = 2
KEY = 00000000000000000000000000000000
CIPHERTEXT = ff4f8391a6a40ca5b25d23bedd44a597
PLAINTEXT = 96ab5c2ff612d9dfaae8c31f30c42168
COUNT = 3
KEY = 00000000000000000000000000000000
CIPHERTEXT = dc43be40be0e53712f7e2bf5ca707209
PLAINTEXT = 6a118a874519e64e9963798a503f1d35
COUNT = 4
KEY = 00000000000000000000000000000000
CIPHERTEXT = 92beedab1895a94faa69b632e5cc47ce
PLAINTEXT = cb9fceec81286ca3e989bd979b0cb284
COUNT = 5
KEY = 00000000000000000000000000000000
CIPHERTEXT = 459264f4798f6a78bacb89c15ed3d601
PLAINTEXT = b26aeb1874e47ca8358ff22378f09144
COUNT = 6
KEY = 00000000000000000000000000000000
CIPHERTEXT = 08a4e2efec8a8e3312ca7460b9040bbf
PLAINTEXT = 58c8e00b2631686d54eab84b91f0aca1

View File

@ -0,0 +1,56 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS GFSbox test data for ECB
# State : Encrypt and Decrypt
# Key Length : 192
# Generated on Fri Jul 17 16:27:13 2015
[ENCRYPT]
COUNT = 0
KEY = 000000000000000000000000000000000000000000000000
PLAINTEXT = 1b077a6af4b7f98229de786d7516b639
CIPHERTEXT = 275cfc0413d8ccb70513c3859b1d0f72
COUNT = 1
KEY = 000000000000000000000000000000000000000000000000
PLAINTEXT = 9c2d8842e5f48f57648205d39a239af1
CIPHERTEXT = c9b8135ff1b5adc413dfd053b21bd96d
COUNT = 2
KEY = 000000000000000000000000000000000000000000000000
PLAINTEXT = bff52510095f518ecca60af4205444bb
CIPHERTEXT = 4a3650c3371ce2eb35e389a171427440
COUNT = 3
KEY = 000000000000000000000000000000000000000000000000
PLAINTEXT = 51719783d3185a535bd75adc65071ce1
CIPHERTEXT = 4f354592ff7c8847d2d0870ca9481b7c
COUNT = 4
KEY = 000000000000000000000000000000000000000000000000
PLAINTEXT = 26aa49dcfe7629a8901a69a9914e6dfd
CIPHERTEXT = d5e08bf9a182e857cf40b3a36ee248cc
COUNT = 5
KEY = 000000000000000000000000000000000000000000000000
PLAINTEXT = 941a4773058224e1ef66d10e0a6ee782
CIPHERTEXT = 067cd9d3749207791841562507fa9626
[DECRYPT]
COUNT = 0
KEY = 000000000000000000000000000000000000000000000000
CIPHERTEXT = 275cfc0413d8ccb70513c3859b1d0f72
PLAINTEXT = 1b077a6af4b7f98229de786d7516b639
COUNT = 1
KEY = 000000000000000000000000000000000000000000000000
CIPHERTEXT = c9b8135ff1b5adc413dfd053b21bd96d
PLAINTEXT = 9c2d8842e5f48f57648205d39a239af1
COUNT = 2
KEY = 000000000000000000000000000000000000000000000000
CIPHERTEXT = 4a3650c3371ce2eb35e389a171427440
PLAINTEXT = bff52510095f518ecca60af4205444bb
COUNT = 3
KEY = 000000000000000000000000000000000000000000000000
CIPHERTEXT = 4f354592ff7c8847d2d0870ca9481b7c
PLAINTEXT = 51719783d3185a535bd75adc65071ce1
COUNT = 4
KEY = 000000000000000000000000000000000000000000000000
CIPHERTEXT = d5e08bf9a182e857cf40b3a36ee248cc
PLAINTEXT = 26aa49dcfe7629a8901a69a9914e6dfd
COUNT = 5
KEY = 000000000000000000000000000000000000000000000000
CIPHERTEXT = 067cd9d3749207791841562507fa9626
PLAINTEXT = 941a4773058224e1ef66d10e0a6ee782

View File

@ -0,0 +1,48 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS GFSbox test data for ECB
# State : Encrypt and Decrypt
# Key Length : 256
# Generated on Fri Jul 17 16:27:14 2015
[ENCRYPT]
COUNT = 0
KEY = 0000000000000000000000000000000000000000000000000000000000000000
PLAINTEXT = 014730f80ac625fe84f026c60bfd547d
CIPHERTEXT = 5c9d844ed46f9885085e5d6a4f94c7d7
COUNT = 1
KEY = 0000000000000000000000000000000000000000000000000000000000000000
PLAINTEXT = 0b24af36193ce4665f2825d7b4749c98
CIPHERTEXT = a9ff75bd7cf6613d3731c77c3b6d0c04
COUNT = 2
KEY = 0000000000000000000000000000000000000000000000000000000000000000
PLAINTEXT = 761c1fe41a18acf20d241650611d90f1
CIPHERTEXT = 623a52fcea5d443e48d9181ab32c7421
COUNT = 3
KEY = 0000000000000000000000000000000000000000000000000000000000000000
PLAINTEXT = 8a560769d605868ad80d819bdba03771
CIPHERTEXT = 38f2c7ae10612415d27ca190d27da8b4
COUNT = 4
KEY = 0000000000000000000000000000000000000000000000000000000000000000
PLAINTEXT = 91fbef2d15a97816060bee1feaa49afe
CIPHERTEXT = 1bc704f1bce135ceb810341b216d7abe
[DECRYPT]
COUNT = 0
KEY = 0000000000000000000000000000000000000000000000000000000000000000
CIPHERTEXT = 5c9d844ed46f9885085e5d6a4f94c7d7
PLAINTEXT = 014730f80ac625fe84f026c60bfd547d
COUNT = 1
KEY = 0000000000000000000000000000000000000000000000000000000000000000
CIPHERTEXT = a9ff75bd7cf6613d3731c77c3b6d0c04
PLAINTEXT = 0b24af36193ce4665f2825d7b4749c98
COUNT = 2
KEY = 0000000000000000000000000000000000000000000000000000000000000000
CIPHERTEXT = 623a52fcea5d443e48d9181ab32c7421
PLAINTEXT = 761c1fe41a18acf20d241650611d90f1
COUNT = 3
KEY = 0000000000000000000000000000000000000000000000000000000000000000
CIPHERTEXT = 38f2c7ae10612415d27ca190d27da8b4
PLAINTEXT = 8a560769d605868ad80d819bdba03771
COUNT = 4
KEY = 0000000000000000000000000000000000000000000000000000000000000000
CIPHERTEXT = 1bc704f1bce135ceb810341b216d7abe
PLAINTEXT = 91fbef2d15a97816060bee1feaa49afe

View File

@ -0,0 +1,176 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS KeySbox test data for ECB
# State : Encrypt and Decrypt
# Key Length : 128
# Generated on Fri Jul 17 16:27:11 2015
[ENCRYPT]
COUNT = 0
KEY = 10a58869d74be5a374cf867cfb473859
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 6d251e6944b051e04eaa6fb4dbf78465
COUNT = 1
KEY = caea65cdbb75e9169ecd22ebe6e54675
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 6e29201190152df4ee058139def610bb
COUNT = 2
KEY = a2e2fa9baf7d20822ca9f0542f764a41
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = c3b44b95d9d2f25670eee9a0de099fa3
COUNT = 3
KEY = b6364ac4e1de1e285eaf144a2415f7a0
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 5d9b05578fc944b3cf1ccf0e746cd581
COUNT = 4
KEY = 64cf9c7abc50b888af65f49d521944b2
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = f7efc89d5dba578104016ce5ad659c05
COUNT = 5
KEY = 47d6742eefcc0465dc96355e851b64d9
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 0306194f666d183624aa230a8b264ae7
COUNT = 6
KEY = 3eb39790678c56bee34bbcdeccf6cdb5
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 858075d536d79ccee571f7d7204b1f67
COUNT = 7
KEY = 64110a924f0743d500ccadae72c13427
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 35870c6a57e9e92314bcb8087cde72ce
COUNT = 8
KEY = 18d8126516f8a12ab1a36d9f04d68e51
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 6c68e9be5ec41e22c825b7c7affb4363
COUNT = 9
KEY = f530357968578480b398a3c251cd1093
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = f5df39990fc688f1b07224cc03e86cea
COUNT = 10
KEY = da84367f325d42d601b4326964802e8e
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = bba071bcb470f8f6586e5d3add18bc66
COUNT = 11
KEY = e37b1c6aa2846f6fdb413f238b089f23
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 43c9f7e62f5d288bb27aa40ef8fe1ea8
COUNT = 12
KEY = 6c002b682483e0cabcc731c253be5674
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 3580d19cff44f1014a7c966a69059de5
COUNT = 13
KEY = 143ae8ed6555aba96110ab58893a8ae1
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 806da864dd29d48deafbe764f8202aef
COUNT = 14
KEY = b69418a85332240dc82492353956ae0c
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = a303d940ded8f0baff6f75414cac5243
COUNT = 15
KEY = 71b5c08a1993e1362e4d0ce9b22b78d5
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = c2dabd117f8a3ecabfbb11d12194d9d0
COUNT = 16
KEY = e234cdca2606b81f29408d5f6da21206
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = fff60a4740086b3b9c56195b98d91a7b
COUNT = 17
KEY = 13237c49074a3da078dc1d828bb78c6f
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 8146a08e2357f0caa30ca8c94d1a0544
COUNT = 18
KEY = 3071a2a48fe6cbd04f1a129098e308f8
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 4b98e06d356deb07ebb824e5713f7be3
COUNT = 19
KEY = 90f42ec0f68385f2ffc5dfc03a654dce
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 7a20a53d460fc9ce0423a7a0764c6cf2
COUNT = 20
KEY = febd9a24d8b65c1c787d50a4ed3619a9
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = f4a70d8af877f9b02b4c40df57d45b17
[DECRYPT]
COUNT = 0
KEY = 10a58869d74be5a374cf867cfb473859
CIPHERTEXT = 6d251e6944b051e04eaa6fb4dbf78465
PLAINTEXT = 00000000000000000000000000000000
COUNT = 1
KEY = caea65cdbb75e9169ecd22ebe6e54675
CIPHERTEXT = 6e29201190152df4ee058139def610bb
PLAINTEXT = 00000000000000000000000000000000
COUNT = 2
KEY = a2e2fa9baf7d20822ca9f0542f764a41
CIPHERTEXT = c3b44b95d9d2f25670eee9a0de099fa3
PLAINTEXT = 00000000000000000000000000000000
COUNT = 3
KEY = b6364ac4e1de1e285eaf144a2415f7a0
CIPHERTEXT = 5d9b05578fc944b3cf1ccf0e746cd581
PLAINTEXT = 00000000000000000000000000000000
COUNT = 4
KEY = 64cf9c7abc50b888af65f49d521944b2
CIPHERTEXT = f7efc89d5dba578104016ce5ad659c05
PLAINTEXT = 00000000000000000000000000000000
COUNT = 5
KEY = 47d6742eefcc0465dc96355e851b64d9
CIPHERTEXT = 0306194f666d183624aa230a8b264ae7
PLAINTEXT = 00000000000000000000000000000000
COUNT = 6
KEY = 3eb39790678c56bee34bbcdeccf6cdb5
CIPHERTEXT = 858075d536d79ccee571f7d7204b1f67
PLAINTEXT = 00000000000000000000000000000000
COUNT = 7
KEY = 64110a924f0743d500ccadae72c13427
CIPHERTEXT = 35870c6a57e9e92314bcb8087cde72ce
PLAINTEXT = 00000000000000000000000000000000
COUNT = 8
KEY = 18d8126516f8a12ab1a36d9f04d68e51
CIPHERTEXT = 6c68e9be5ec41e22c825b7c7affb4363
PLAINTEXT = 00000000000000000000000000000000
COUNT = 9
KEY = f530357968578480b398a3c251cd1093
CIPHERTEXT = f5df39990fc688f1b07224cc03e86cea
PLAINTEXT = 00000000000000000000000000000000
COUNT = 10
KEY = da84367f325d42d601b4326964802e8e
CIPHERTEXT = bba071bcb470f8f6586e5d3add18bc66
PLAINTEXT = 00000000000000000000000000000000
COUNT = 11
KEY = e37b1c6aa2846f6fdb413f238b089f23
CIPHERTEXT = 43c9f7e62f5d288bb27aa40ef8fe1ea8
PLAINTEXT = 00000000000000000000000000000000
COUNT = 12
KEY = 6c002b682483e0cabcc731c253be5674
CIPHERTEXT = 3580d19cff44f1014a7c966a69059de5
PLAINTEXT = 00000000000000000000000000000000
COUNT = 13
KEY = 143ae8ed6555aba96110ab58893a8ae1
CIPHERTEXT = 806da864dd29d48deafbe764f8202aef
PLAINTEXT = 00000000000000000000000000000000
COUNT = 14
KEY = b69418a85332240dc82492353956ae0c
CIPHERTEXT = a303d940ded8f0baff6f75414cac5243
PLAINTEXT = 00000000000000000000000000000000
COUNT = 15
KEY = 71b5c08a1993e1362e4d0ce9b22b78d5
CIPHERTEXT = c2dabd117f8a3ecabfbb11d12194d9d0
PLAINTEXT = 00000000000000000000000000000000
COUNT = 16
KEY = e234cdca2606b81f29408d5f6da21206
CIPHERTEXT = fff60a4740086b3b9c56195b98d91a7b
PLAINTEXT = 00000000000000000000000000000000
COUNT = 17
KEY = 13237c49074a3da078dc1d828bb78c6f
CIPHERTEXT = 8146a08e2357f0caa30ca8c94d1a0544
PLAINTEXT = 00000000000000000000000000000000
COUNT = 18
KEY = 3071a2a48fe6cbd04f1a129098e308f8
CIPHERTEXT = 4b98e06d356deb07ebb824e5713f7be3
PLAINTEXT = 00000000000000000000000000000000
COUNT = 19
KEY = 90f42ec0f68385f2ffc5dfc03a654dce
CIPHERTEXT = 7a20a53d460fc9ce0423a7a0764c6cf2
PLAINTEXT = 00000000000000000000000000000000
COUNT = 20
KEY = febd9a24d8b65c1c787d50a4ed3619a9
CIPHERTEXT = f4a70d8af877f9b02b4c40df57d45b17
PLAINTEXT = 00000000000000000000000000000000

View File

@ -0,0 +1,200 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS KeySbox test data for ECB
# State : Encrypt and Decrypt
# Key Length : 192
# Generated on Fri Jul 17 16:27:13 2015
[ENCRYPT]
COUNT = 0
KEY = e9f065d7c13573587f7875357dfbb16c53489f6a4bd0f7cd
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 0956259c9cd5cfd0181cca53380cde06
COUNT = 1
KEY = 15d20f6ebc7e649fd95b76b107e6daba967c8a9484797f29
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 8e4e18424e591a3d5b6f0876f16f8594
COUNT = 2
KEY = a8a282ee31c03fae4f8e9b8930d5473c2ed695a347e88b7c
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 93f3270cfc877ef17e106ce938979cb0
COUNT = 3
KEY = cd62376d5ebb414917f0c78f05266433dc9192a1ec943300
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 7f6c25ff41858561bb62f36492e93c29
COUNT = 4
KEY = 502a6ab36984af268bf423c7f509205207fc1552af4a91e5
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 8e06556dcbb00b809a025047cff2a940
COUNT = 5
KEY = 25a39dbfd8034f71a81f9ceb55026e4037f8f6aa30ab44ce
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 3608c344868e94555d23a120f8a5502d
COUNT = 6
KEY = e08c15411774ec4a908b64eadc6ac4199c7cd453f3aaef53
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 77da2021935b840b7f5dcc39132da9e5
COUNT = 7
KEY = 3b375a1ff7e8d44409696e6326ec9dec86138e2ae010b980
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 3b7c24f825e3bf9873c9f14d39a0e6f4
COUNT = 8
KEY = 950bb9f22cc35be6fe79f52c320af93dec5bc9c0c2f9cd53
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 64ebf95686b353508c90ecd8b6134316
COUNT = 9
KEY = 7001c487cc3e572cfc92f4d0e697d982e8856fdcc957da40
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = ff558c5d27210b7929b73fc708eb4cf1
COUNT = 10
KEY = f029ce61d4e5a405b41ead0a883cc6a737da2cf50a6c92ae
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = a2c3b2a818075490a7b4c14380f02702
COUNT = 11
KEY = 61257134a518a0d57d9d244d45f6498cbc32f2bafc522d79
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = cfe4d74002696ccf7d87b14a2f9cafc9
COUNT = 12
KEY = b0ab0a6a818baef2d11fa33eac947284fb7d748cfb75e570
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = d2eafd86f63b109b91f5dbb3a3fb7e13
COUNT = 13
KEY = ee053aa011c8b428cdcc3636313c54d6a03cac01c71579d6
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 9b9fdd1c5975655f539998b306a324af
COUNT = 14
KEY = d2926527e0aa9f37b45e2ec2ade5853ef807576104c7ace3
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = dd619e1cf204446112e0af2b9afa8f8c
COUNT = 15
KEY = 982215f4e173dfa0fcffe5d3da41c4812c7bcc8ed3540f93
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = d4f0aae13c8fe9339fbf9e69ed0ad74d
COUNT = 16
KEY = 98c6b8e01e379fbd14e61af6af891596583565f2a27d59e9
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 19c80ec4a6deb7e5ed1033dda933498f
COUNT = 17
KEY = b3ad5cea1dddc214ca969ac35f37dae1a9a9d1528f89bb35
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 3cf5e1d21a17956d1dffad6a7c41c659
COUNT = 18
KEY = 45899367c3132849763073c435a9288a766c8b9ec2308516
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 69fd12e8505f8ded2fdcb197a121b362
COUNT = 19
KEY = ec250e04c3903f602647b85a401a1ae7ca2f02f67fa4253e
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 8aa584e2cc4d17417a97cb9a28ba29c8
COUNT = 20
KEY = d077a03bd8a38973928ccafe4a9d2f455130bd0af5ae46a9
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = abc786fb1edb504580c4d882ef29a0c7
COUNT = 21
KEY = d184c36cf0dddfec39e654195006022237871a47c33d3198
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 2e19fb60a3e1de0166f483c97824a978
COUNT = 22
KEY = 4c6994ffa9dcdc805b60c2c0095334c42d95a8fc0ca5b080
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 7656709538dd5fec41e0ce6a0f8e207d
COUNT = 23
KEY = c88f5b00a4ef9a6840e2acaf33f00a3bdc4e25895303fa72
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = a67cf333b314d411d3c0ae6e1cfcd8f5
[DECRYPT]
COUNT = 0
KEY = e9f065d7c13573587f7875357dfbb16c53489f6a4bd0f7cd
CIPHERTEXT = 0956259c9cd5cfd0181cca53380cde06
PLAINTEXT = 00000000000000000000000000000000
COUNT = 1
KEY = 15d20f6ebc7e649fd95b76b107e6daba967c8a9484797f29
CIPHERTEXT = 8e4e18424e591a3d5b6f0876f16f8594
PLAINTEXT = 00000000000000000000000000000000
COUNT = 2
KEY = a8a282ee31c03fae4f8e9b8930d5473c2ed695a347e88b7c
CIPHERTEXT = 93f3270cfc877ef17e106ce938979cb0
PLAINTEXT = 00000000000000000000000000000000
COUNT = 3
KEY = cd62376d5ebb414917f0c78f05266433dc9192a1ec943300
CIPHERTEXT = 7f6c25ff41858561bb62f36492e93c29
PLAINTEXT = 00000000000000000000000000000000
COUNT = 4
KEY = 502a6ab36984af268bf423c7f509205207fc1552af4a91e5
CIPHERTEXT = 8e06556dcbb00b809a025047cff2a940
PLAINTEXT = 00000000000000000000000000000000
COUNT = 5
KEY = 25a39dbfd8034f71a81f9ceb55026e4037f8f6aa30ab44ce
CIPHERTEXT = 3608c344868e94555d23a120f8a5502d
PLAINTEXT = 00000000000000000000000000000000
COUNT = 6
KEY = e08c15411774ec4a908b64eadc6ac4199c7cd453f3aaef53
CIPHERTEXT = 77da2021935b840b7f5dcc39132da9e5
PLAINTEXT = 00000000000000000000000000000000
COUNT = 7
KEY = 3b375a1ff7e8d44409696e6326ec9dec86138e2ae010b980
CIPHERTEXT = 3b7c24f825e3bf9873c9f14d39a0e6f4
PLAINTEXT = 00000000000000000000000000000000
COUNT = 8
KEY = 950bb9f22cc35be6fe79f52c320af93dec5bc9c0c2f9cd53
CIPHERTEXT = 64ebf95686b353508c90ecd8b6134316
PLAINTEXT = 00000000000000000000000000000000
COUNT = 9
KEY = 7001c487cc3e572cfc92f4d0e697d982e8856fdcc957da40
CIPHERTEXT = ff558c5d27210b7929b73fc708eb4cf1
PLAINTEXT = 00000000000000000000000000000000
COUNT = 10
KEY = f029ce61d4e5a405b41ead0a883cc6a737da2cf50a6c92ae
CIPHERTEXT = a2c3b2a818075490a7b4c14380f02702
PLAINTEXT = 00000000000000000000000000000000
COUNT = 11
KEY = 61257134a518a0d57d9d244d45f6498cbc32f2bafc522d79
CIPHERTEXT = cfe4d74002696ccf7d87b14a2f9cafc9
PLAINTEXT = 00000000000000000000000000000000
COUNT = 12
KEY = b0ab0a6a818baef2d11fa33eac947284fb7d748cfb75e570
CIPHERTEXT = d2eafd86f63b109b91f5dbb3a3fb7e13
PLAINTEXT = 00000000000000000000000000000000
COUNT = 13
KEY = ee053aa011c8b428cdcc3636313c54d6a03cac01c71579d6
CIPHERTEXT = 9b9fdd1c5975655f539998b306a324af
PLAINTEXT = 00000000000000000000000000000000
COUNT = 14
KEY = d2926527e0aa9f37b45e2ec2ade5853ef807576104c7ace3
CIPHERTEXT = dd619e1cf204446112e0af2b9afa8f8c
PLAINTEXT = 00000000000000000000000000000000
COUNT = 15
KEY = 982215f4e173dfa0fcffe5d3da41c4812c7bcc8ed3540f93
CIPHERTEXT = d4f0aae13c8fe9339fbf9e69ed0ad74d
PLAINTEXT = 00000000000000000000000000000000
COUNT = 16
KEY = 98c6b8e01e379fbd14e61af6af891596583565f2a27d59e9
CIPHERTEXT = 19c80ec4a6deb7e5ed1033dda933498f
PLAINTEXT = 00000000000000000000000000000000
COUNT = 17
KEY = b3ad5cea1dddc214ca969ac35f37dae1a9a9d1528f89bb35
CIPHERTEXT = 3cf5e1d21a17956d1dffad6a7c41c659
PLAINTEXT = 00000000000000000000000000000000
COUNT = 18
KEY = 45899367c3132849763073c435a9288a766c8b9ec2308516
CIPHERTEXT = 69fd12e8505f8ded2fdcb197a121b362
PLAINTEXT = 00000000000000000000000000000000
COUNT = 19
KEY = ec250e04c3903f602647b85a401a1ae7ca2f02f67fa4253e
CIPHERTEXT = 8aa584e2cc4d17417a97cb9a28ba29c8
PLAINTEXT = 00000000000000000000000000000000
COUNT = 20
KEY = d077a03bd8a38973928ccafe4a9d2f455130bd0af5ae46a9
CIPHERTEXT = abc786fb1edb504580c4d882ef29a0c7
PLAINTEXT = 00000000000000000000000000000000
COUNT = 21
KEY = d184c36cf0dddfec39e654195006022237871a47c33d3198
CIPHERTEXT = 2e19fb60a3e1de0166f483c97824a978
PLAINTEXT = 00000000000000000000000000000000
COUNT = 22
KEY = 4c6994ffa9dcdc805b60c2c0095334c42d95a8fc0ca5b080
CIPHERTEXT = 7656709538dd5fec41e0ce6a0f8e207d
PLAINTEXT = 00000000000000000000000000000000
COUNT = 23
KEY = c88f5b00a4ef9a6840e2acaf33f00a3bdc4e25895303fa72
CIPHERTEXT = a67cf333b314d411d3c0ae6e1cfcd8f5
PLAINTEXT = 00000000000000000000000000000000

View File

@ -0,0 +1,136 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS KeySbox test data for ECB
# State : Encrypt and Decrypt
# Key Length : 256
# Generated on Fri Jul 17 16:27:14 2015
[ENCRYPT]
COUNT = 0
KEY = c47b0294dbbbee0fec4757f22ffeee3587ca4730c3d33b691df38bab076bc558
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 46f2fb342d6f0ab477476fc501242c5f
COUNT = 1
KEY = 28d46cffa158533194214a91e712fc2b45b518076675affd910edeca5f41ac64
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 4bf3b0a69aeb6657794f2901b1440ad4
COUNT = 2
KEY = c1cc358b449909a19436cfbb3f852ef8bcb5ed12ac7058325f56e6099aab1a1c
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 352065272169abf9856843927d0674fd
COUNT = 3
KEY = 984ca75f4ee8d706f46c2d98c0bf4a45f5b00d791c2dfeb191b5ed8e420fd627
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 4307456a9e67813b452e15fa8fffe398
COUNT = 4
KEY = b43d08a447ac8609baadae4ff12918b9f68fc1653f1269222f123981ded7a92f
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 4663446607354989477a5c6f0f007ef4
COUNT = 5
KEY = 1d85a181b54cde51f0e098095b2962fdc93b51fe9b88602b3f54130bf76a5bd9
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 531c2c38344578b84d50b3c917bbb6e1
COUNT = 6
KEY = dc0eba1f2232a7879ded34ed8428eeb8769b056bbaf8ad77cb65c3541430b4cf
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = fc6aec906323480005c58e7e1ab004ad
COUNT = 7
KEY = f8be9ba615c5a952cabbca24f68f8593039624d524c816acda2c9183bd917cb9
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = a3944b95ca0b52043584ef02151926a8
COUNT = 8
KEY = 797f8b3d176dac5b7e34a2d539c4ef367a16f8635f6264737591c5c07bf57a3e
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = a74289fe73a4c123ca189ea1e1b49ad5
COUNT = 9
KEY = 6838d40caf927749c13f0329d331f448e202c73ef52c5f73a37ca635d4c47707
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = b91d4ea4488644b56cf0812fa7fcf5fc
COUNT = 10
KEY = ccd1bc3c659cd3c59bc437484e3c5c724441da8d6e90ce556cd57d0752663bbc
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 304f81ab61a80c2e743b94d5002a126b
COUNT = 11
KEY = 13428b5e4c005e0636dd338405d173ab135dec2a25c22c5df0722d69dcc43887
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 649a71545378c783e368c9ade7114f6c
COUNT = 12
KEY = 07eb03a08d291d1b07408bf3512ab40c91097ac77461aad4bb859647f74f00ee
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 47cb030da2ab051dfc6c4bf6910d12bb
COUNT = 13
KEY = 90143ae20cd78c5d8ebdd6cb9dc1762427a96c78c639bccc41a61424564eafe1
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 798c7c005dee432b2c8ea5dfa381ecc3
COUNT = 14
KEY = b7a5794d52737475d53d5a377200849be0260a67a2b22ced8bbef12882270d07
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 637c31dc2591a07636f646b72daabbe7
COUNT = 15
KEY = fca02f3d5011cfc5c1e23165d413a049d4526a991827424d896fe3435e0bf68e
PLAINTEXT = 00000000000000000000000000000000
CIPHERTEXT = 179a49c712154bbffbe6e7a84a18e220
[DECRYPT]
COUNT = 0
KEY = c47b0294dbbbee0fec4757f22ffeee3587ca4730c3d33b691df38bab076bc558
CIPHERTEXT = 46f2fb342d6f0ab477476fc501242c5f
PLAINTEXT = 00000000000000000000000000000000
COUNT = 1
KEY = 28d46cffa158533194214a91e712fc2b45b518076675affd910edeca5f41ac64
CIPHERTEXT = 4bf3b0a69aeb6657794f2901b1440ad4
PLAINTEXT = 00000000000000000000000000000000
COUNT = 2
KEY = c1cc358b449909a19436cfbb3f852ef8bcb5ed12ac7058325f56e6099aab1a1c
CIPHERTEXT = 352065272169abf9856843927d0674fd
PLAINTEXT = 00000000000000000000000000000000
COUNT = 3
KEY = 984ca75f4ee8d706f46c2d98c0bf4a45f5b00d791c2dfeb191b5ed8e420fd627
CIPHERTEXT = 4307456a9e67813b452e15fa8fffe398
PLAINTEXT = 00000000000000000000000000000000
COUNT = 4
KEY = b43d08a447ac8609baadae4ff12918b9f68fc1653f1269222f123981ded7a92f
CIPHERTEXT = 4663446607354989477a5c6f0f007ef4
PLAINTEXT = 00000000000000000000000000000000
COUNT = 5
KEY = 1d85a181b54cde51f0e098095b2962fdc93b51fe9b88602b3f54130bf76a5bd9
CIPHERTEXT = 531c2c38344578b84d50b3c917bbb6e1
PLAINTEXT = 00000000000000000000000000000000
COUNT = 6
KEY = dc0eba1f2232a7879ded34ed8428eeb8769b056bbaf8ad77cb65c3541430b4cf
CIPHERTEXT = fc6aec906323480005c58e7e1ab004ad
PLAINTEXT = 00000000000000000000000000000000
COUNT = 7
KEY = f8be9ba615c5a952cabbca24f68f8593039624d524c816acda2c9183bd917cb9
CIPHERTEXT = a3944b95ca0b52043584ef02151926a8
PLAINTEXT = 00000000000000000000000000000000
COUNT = 8
KEY = 797f8b3d176dac5b7e34a2d539c4ef367a16f8635f6264737591c5c07bf57a3e
CIPHERTEXT = a74289fe73a4c123ca189ea1e1b49ad5
PLAINTEXT = 00000000000000000000000000000000
COUNT = 9
KEY = 6838d40caf927749c13f0329d331f448e202c73ef52c5f73a37ca635d4c47707
CIPHERTEXT = b91d4ea4488644b56cf0812fa7fcf5fc
PLAINTEXT = 00000000000000000000000000000000
COUNT = 10
KEY = ccd1bc3c659cd3c59bc437484e3c5c724441da8d6e90ce556cd57d0752663bbc
CIPHERTEXT = 304f81ab61a80c2e743b94d5002a126b
PLAINTEXT = 00000000000000000000000000000000
COUNT = 11
KEY = 13428b5e4c005e0636dd338405d173ab135dec2a25c22c5df0722d69dcc43887
CIPHERTEXT = 649a71545378c783e368c9ade7114f6c
PLAINTEXT = 00000000000000000000000000000000
COUNT = 12
KEY = 07eb03a08d291d1b07408bf3512ab40c91097ac77461aad4bb859647f74f00ee
CIPHERTEXT = 47cb030da2ab051dfc6c4bf6910d12bb
PLAINTEXT = 00000000000000000000000000000000
COUNT = 13
KEY = 90143ae20cd78c5d8ebdd6cb9dc1762427a96c78c639bccc41a61424564eafe1
CIPHERTEXT = 798c7c005dee432b2c8ea5dfa381ecc3
PLAINTEXT = 00000000000000000000000000000000
COUNT = 14
KEY = b7a5794d52737475d53d5a377200849be0260a67a2b22ced8bbef12882270d07
CIPHERTEXT = 637c31dc2591a07636f646b72daabbe7
PLAINTEXT = 00000000000000000000000000000000
COUNT = 15
KEY = fca02f3d5011cfc5c1e23165d413a049d4526a991827424d896fe3435e0bf68e
CIPHERTEXT = 179a49c712154bbffbe6e7a84a18e220
PLAINTEXT = 00000000000000000000000000000000

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,88 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS MMT test data for ECB
# State : Encrypt and Decrypt
# Key Length : 128
# Generated on Fri Jul 17 16:27:11 2015
[ENCRYPT]
COUNT = 0
KEY = ca6a6df035a685822a08dc48bbeab388
PLAINTEXT = ccd39c15e0c76ce6ee6096c09413d24c
CIPHERTEXT = 258968e08fe2a311aa88b8affa1717ae
COUNT = 1
KEY = 3558c8638147c3505a20529dc71bd4fb
PLAINTEXT = 0d59fbb60e2282bd6706494f3a2f200f6d80b209ab83ae45aca3259bb79c34c8
CIPHERTEXT = 4ace02ace524e4c9077e4131f61af121b9604071a367417db60c0b5acbc57fcc
COUNT = 2
KEY = dc903ada4d71410a2eb8ead6b98d4e41
PLAINTEXT = bb59ae0e04547bb23e76e7379113863448200ddbe0f207d95f48ca7ee88caa1e8b566cb76132fed3d9a365b04d68f69f
CIPHERTEXT = 4de89b2ba1a953c106a708972cf81f8cfe1c19c2549efc86d22183b63f8be664f66459be2f1a028de11f58a4d3002dd3
COUNT = 3
KEY = 0655e4b9e0e5199fd64a59d881872432
PLAINTEXT = da78389f2b3053c394b0e4238300dfabba274333474da9bdb71d1df7876d2c08db213e88724c27d0da99f875e0ea1b0f4b3e9f3fcad8d0f02a9e0bdcccbfd052
CIPHERTEXT = d9c0022f738656fc63cf91c47d8edc114aa00e78f9f7b05e8a95ee0e7b5c1da19ff1d6b581eb0312094ce73b9c1632cf54c91982c2c224f30ba777093903e3d6
COUNT = 4
KEY = e63566e3ee3940e18fc590583ad377af
PLAINTEXT = ab7653efb02068b4960ff63f9769149aa52379f34580ec42a0d4fb2cd78ef027987501e0ef32c7da5e0ff2572ffe3a7b09dd99afc2f8b74474d0a658d31bcffebd0b2c9913d3b889c868240a3784cc58
CIPHERTEXT = 8f8afab0b49bc265490ca24bb04d75139b5a321f52b636d452be59fc5a6b0ce710e9e5c9edd52b7a5039b49f20473426055f4aa15bb1e4c5178ba742b076ac282aa3acf9e62a10e9cbff9405d82a3847
COUNT = 5
KEY = 15ea0bf7b9948f2a2775adca986f14dd
PLAINTEXT = 79b3729bdd0f01451ed55d6e322be190fd7b1f8b2dc8de9963435f859319e518ad9073d57d52d8e6d008e955d82b0e7fd11700c6e562d0874d6b2c4cba36de42f37795edbfece81a05f09815324e151ddb534415a427807c605ddf9f79c8b60d
CIPHERTEXT = d7f7c88c02c4108598732c7e227cb96b4f93953caffd44068f61c35d5ecc271b71e76df138f7a05594ed8dc3bc54c91904674865f0fdf0b681a82447dd9d8a238fda3ef75247150bef4c6e0dd366bc3abaf2c14aa48c7ed47c50c060c3a10217
COUNT = 6
KEY = 1859d5d1fec6729332fd902dc65d6808
PLAINTEXT = ca5071a62b5dfb324320cab72181fb6b73815782ee13d7a1f02d6795641eeb45e72280e52834046d9523d84a34e8e453ce37dcfe5354c2d47a28ad22a894c8f213059d392749945229a1b6ab1a17b7bfde1134449d2739a56a3206b222a513979721510aee43b3c946c1ed449bb57c96
CIPHERTEXT = be78e888a7b22722da58a98b9a1e31763466a2b71055e4d9912bdc1a843e166027001bf43096e41ea686bbc7faa04ebaf4f4ad223e56d61dc8dad8ad8d77c3fcb02e30ed93d724a3abec82c1284089b64bc6ca44c6cc540f47a3a0a315a47fbcf5e4560fd295a90b56c89006f78a35a4
COUNT = 7
KEY = f5bb1ada30db84780499def720b865ef
PLAINTEXT = 51449d2733c5e24366d9dde5fed1ef03ed6c2a72824afbfc2fa30cb28f396883a78be10e6d4cafb5861359f35454d9ef308ffb51f4c70654bd369e1cef3fe94b79a4f1cf5af949fd6459f4e43f5782dbb2377c5d1e5f02174b08b33e6739cd264cf6951102b5fa4585117561c8c233f0f9cd763f07f8396c628113c0020f5d3e
CIPHERTEXT = b2a3cc0e6ca6628f8bed274b5d7a413ab042399b15cb5d89d10c6ba6ddebf0fbf36b1bc418bcf0cafe0b561471d9251e2ebaef456bcb3988ca254995377f48a1a47f7f68085971e60be330a2e630bfe953b9169e3ad82ef54f9c8d2f24d6278a2317c203fb844bb30ec87dfd7abaea5e4431be05f3f111ad46e8e6f856899149
COUNT = 8
KEY = 68f6dab7f954ccfa233e1d1db6cfca3a
PLAINTEXT = 3f510daf3a7798589c737a734ca366733c40886791ebc62d058946e28951309c2e23b55c451c503ec5674bf3ee5686712cb174e93e4e66fa97e10c240516387f90dde6ada5057a0d740d483196375993f3dd6c83e3083c64933f0118ab9d39b92d27a88aa05c9e2d6f0d78168c6e693f586e7b1dc744d0d4bf4a2ea7c20fbbb2cda704db804644067e0ee48817243ede
CIPHERTEXT = 4b3eaad985b8e6af79c862b20c2b10eb8909bf4c77c20f255a2437764fec6b40db80e54f7891d5cb2402cbc7bf03f355f157af18fd1695a1988d364783747e95ea878679288ada94005e14ab65f3ac70965263a1ebfe90c55bbdec0e733d4ffd60ca7e66043a83a38bbc6734a8817c4e7ee05d572884bc2eb25a32777f16f0419654f3f7a00e029efd838201ee5a0ac4
COUNT = 9
KEY = 972df5f23045486f9c9dac389ebb278d
PLAINTEXT = cf70c3d955d5e8a7741e5e97ee129adc7b9caeca6bd8128e8c6ea51d4e1fef6a259da9dc2fa07fff1736147a395a474107c9b50bab117e07eeeb4dca58ca928c98b412952751a2f229422f6c94b302bb933442f62dc4bb4e222fddfc159b0878f05d07ec8511dae871e9b857464554b2e9846073381a4fcdf0e3609aceb8d895f53f8ec99007ad49b8d4b6229837c48ecf62146a153bc4ea22afdb8ccc498a4a
CIPHERTEXT = 5e21b6c957e24301d328a3d8350779284da4c14f9652b705abd6822e5290b8a85ede849efbcdebd3a46a459990073c304fa96d586969ec4e7a0b0b20f5259e69ab189fe687b974ca2683738c1f32f14cde5ee943bfa9e758663129db7c9688f4a4ebf12f0418288e38f4cb40be6e967ee32b469770722ca82afea329afccff9672b3b90e64c61e66dad9ec3d93354f6e7cdf4a6de7644cbdc12365065e0eb17a
[DECRYPT]
COUNT = 0
KEY = a72e456978cb80c578ccbb9d99aa9bcc
CIPHERTEXT = f393a939ff7d0516d4f8e7b66146588d
PLAINTEXT = ed8c510a602343a1af2f10d0f9f44513
COUNT = 1
KEY = bae9a647cc2f9d42799471fbeaa64893
CIPHERTEXT = 2aeeb8425d934d3d850f3d82bba7099f1e8c72621b0adfa6eb01006d5c99b12f
PLAINTEXT = 6997dfa5b1e7060c0f1db01101b3acaa9ae395ab8e33e49ecd9b66191d8e32b6
COUNT = 2
KEY = 636772fd87d9c063a2dfea77f09525eb
CIPHERTEXT = e5e92061dbe8c2e26a49b5015eb8cae498a08c71b5400d06ea01e66b32077905ac06794c3e57ad7f7f4bf096d4bf7d78
PLAINTEXT = 584fa1b1bf928c7b67361b1a0df6f605c3d333a12cab37cd87d43ca525ada6d5f49478a064cb7d3d347579ba03dc7025
COUNT = 3
KEY = e6167e4b0bc55b3be47f9b758bc93d48
CIPHERTEXT = 182c78e8cfead93ab8c8abba994cf4a4c446cd02349e1488d84f60bc2fb43a5a15038af6dd174fe39f729354d3829fc11f236b8c6e6658e5429021eb4b660f13
PLAINTEXT = 57ef483cb0219a11750f8f71525bd435f14dcf98184bc8446739717482fdc06e6c49fe03bae17f759584ff84491b4402388772740e5330dcf978bf30e7997736
COUNT = 4
KEY = 9aefe5d09dbb42bc13eb397b1f25acff
CIPHERTEXT = 77502adfa97e95005f517c642083c52f13f2e3d36e47eed632d5f9d616c4a0cac06ee08a3b092c92a687bc0229ba29ea2ebc37c5cd8ef14387fffc4c38cf254147153c8520de253ce4172c525ead99bf
PLAINTEXT = 446e200f80f1bdc797d0ff9f2cd9ea4f6143d5c6668b32f0ecd88ddab07cec451c3b3e35f68f17045447a5cc8f9aa420df53db82f6d1ea0e8505d80ce350e38ea9968c1250efc12db3047121998c4f7f
COUNT = 5
KEY = 4f8f298175537de17d0549174a8d2274
CIPHERTEXT = 4f5ddf496c4b89323f70815108db2dc680312efd6ef2921a75fd4b9b3057e0388128630e2506a3fd8c76a24fe8b04a9a85a35be75839a813dadc8376173976c30144342f0b7cced6f3702a5adf82b2cdaceb49d183ff83fdadb21583a85c8a10
PLAINTEXT = 80fb6895b519da4ecd1c4df0e68330c8838cc468264189077c548ebb12679a543c92f6c6906da6aa4cf22bc899cda21678672942eeee1d920ea55a1554b0fced6afe153367a25cfd1fd1231c7694b7527b93ec521176815b0e1aa40bd9b3ba13
COUNT = 6
KEY = 2f4bdcab29a3455e8665b1468e4e3827
CIPHERTEXT = cfe0d28015e966f07ec0e8983e9d3c1c76e9b7c94e00d77c443631bfc418aa36f8f4ea3ae19b0ec3a7659d8b2d76be70e940a81af34959df5b2e8be3c0e9e4841e4f6df5e8dc452857b397f201e1c96aade2f69266669f39ce559d1fb5105a5beafa41fa513773e936b3bc15e166c5d0
PLAINTEXT = c22b18e410fc9228965b6c2548c660a3675c6b1fd80614f5da392a4922bbd4d109c178d178e18cd6ce4b84d774ad685d863484090bb59e9f5b1c988257a0d4eb0d39b4b2741c8464ced979f7b06a7ee603686868a8421b1b1a22293da23de75970219a0d7c85bb28f92ad182715aa780
COUNT = 7
KEY = e9e6e961263fea73e945222dd95b7a9e
CIPHERTEXT = 612405124c31b7b28b56e1a696bb5f6cc6e7e6f5157be7fb2620b69585beeb092fef09e155b35d415d6529772aed02d49d3877ba5be5f3f7d141e55176761d6250ff79a7ba5fc2d36413d1699bc5f689cbc29a0a42ae22ca367717420a87845ecd3ea08b049fad11a94920a373a90234586f960d513e3c1d5da89590c859e8a3
PLAINTEXT = 402aa9c8118e45a9ce2f98e41cd8305bc5215aacd42a1097de4bb58b4ddd9aada50de2eb9224b8865161aede9b0a6fee549c2f1a68f52d34f01e2cce71f860fb0ed6d1d228112cec5c2ee3cd79f4ad0dad3bb56aeb4eba42416e2e1ef22f9b73849748acb431da2554292f8022f9cd8d681091e73fa6f956d023f96511aaf64f
COUNT = 8
KEY = 6cb5d1867dc2293e4cac9e83d25d0525
CIPHERTEXT = bcc1e4191111424ec05aaa93b85c24dfe3ea8eaaab563e00bd2ae8d40d18c1961a34e4087361f54d7a0905426812b612910da005eab0f399c8865dd4eae52ed8ba21bab8d0fffe8ab86c87bef56f90ae455d6b75274c22059bc95d7429ce869724ee2cd230d3a52e02eaf8ac675dfada8842b6a36c12126bbe5cb05cd1ba13fae10503fe9cc53261e0eb1fb7c7c33bbe
PLAINTEXT = 224cc92fccb5ee65f5a644c9f4539b934f711fe65c0e9d0169a754f1f1fc1df783f0961302e71ffa56e31dadb478b344459d920f24f8e8174b76336f7fc40101ca7634c393c1505acafdd30cd92ffd9b03d24c18ccc469e714d8ad4ff9d7037fd00896d6ef1a03ddbb9161dff1d57e71df5020aa467e3e74e5a1416606d5948e583908a98ccef95141a4f9b0d4581276
COUNT = 9
KEY = 30dcc1435ab28662f343febbed88ceaa
CIPHERTEXT = 01034d2f3553d955ab7811f81a61f4b2078dda082ed8f9e523952e4839dcfb39a325cc01d9167e9a3e9a2165ff33fd1b3e91d40670636771036d3b5d44db9d7581d5e4446a53f6a6bd330e7c2389bca455362d2982bcacb6f5506951f3317945e2391f60b1b14a5f736a5ea74d09373693a36cd82e8ad09e41663f8c0c879792107904be73d981afa7689b4d475e78b74101197d3a75dc102ed645765784fd42
PLAINTEXT = b6c8b2e565cc07fa7f09c77c9023386b3cb9e8176bfa97880e38866ed1f83351182b75ec7dcad2834a56006e603250c7b6264fe57c685382169325e1f403989340beb0e7b24ae4ceb734f134bc54ba45f9b12234d68be5114cf44d7365c434dedfcc548478701961e67cfa75572fd004470447b96b04165b321ee198e426baedba5a154346288f09a7a6446f56e45c87420c98cead539129a20ecc56b27f67be

View File

@ -0,0 +1,88 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS MMT test data for ECB
# State : Encrypt and Decrypt
# Key Length : 192
# Generated on Fri Jul 17 16:27:13 2015
[ENCRYPT]
COUNT = 0
KEY = 15aa4d733fd2282893bdea927fb8017b7aea407a8ad1820c
PLAINTEXT = 52d8301c705e423863f286b5522b0112
CIPHERTEXT = 5beab6edbdc9491834a990c263aadc27
COUNT = 1
KEY = 68fcba3fe8f5a53fe352e2c5d43368fe0546773b55827b44
PLAINTEXT = 1b2940e7194001cb38c417e613eea55f863ff4e7cb16baeee3829d173855f3ea
CIPHERTEXT = 057b516b9bd79122bd7bd70e11622377df12bcb5b4c6d8bd9bf3375d9a3fb571
COUNT = 2
KEY = c0a65e2a5eaa007fe9a9608a8cb59808dd9f89695f697ce0
PLAINTEXT = b095a628b547968842d77f3e0bfccf5303ac330a73df52c34997ba1fb31d1a65ed8db3245894091acb79de552d5a6098
CIPHERTEXT = 02edb2afa5bc08e3c29359a429c4da24cf0a20a189d3c3ed0bb7a7ec01db78ec6739065476f9a90297b120cd6ac90ac2
COUNT = 3
KEY = 4d9ce8859d38adac0998ea293851296cb35dcf54a3cc008d
PLAINTEXT = 8e89c9e3b5ce0738c1c511977672e2d5e2fe17f48f14b8a5fd8a560b4f4456c245558c206a680cbb8f5f3c2b77392e11d4392d58724496bab38cea863b6b20a1
CIPHERTEXT = c734c746e268cdac7e02baea62f8ff98c8f06f0868524ad1ae8fe04b89d47e096b1bfb9ff8b82f613efefacdc197c53dc93145577b69967295cb724f3c35d5e7
COUNT = 4
KEY = e0aaf257ddd8317a178555ca3159b849f58316d798f5ee01
PLAINTEXT = 6b7225a97579e52702ff0ebb580139e803ad69fb266cf5361020c92e0faacf7289b0a76d489d9e8e16e9dea68a9ae291210b2d1890ec3c16598ab9da9d50f1cd318e8854f47a6bf85f7507c55d8fb9ef
CIPHERTEXT = 93cf23da004faf3fced135bf23e208550c8309d01c4dd18f4d9247a21a10d4c62461d047623a834d90006b2f809a7d1b2a78f1710e359e50beaf5f5a646f2e60087fc981830a48589ef86d52faba9805
COUNT = 5
KEY = 30bddf8bfe2c41958dbc1d9de69cf7e1e19a734a508c22f2
PLAINTEXT = c43311a261fe0aed1a422ef00faf42e4df7a75d0c8f5a1b81062ce11a309f879fd8812a54a6b4a9bccfc8f217e5c5075f7d3873e9065f7c3c9a6b15be9cfdd24e510b7f88328d89dbf34b73c6ec46f152134c3704c3a5fd7a8bb6082d5e31713
CIPHERTEXT = 441ae8f4c8e612cb8b715cebceebef35af92fe38f21b3c37d338b4434689bcddd2500ebb845f6df57628d35fe8e8125767bc1a466922caffe96d5dc7faa46ac9ee015ab8299eb32c312f3c1f858ee7b7d771d27be15924a4f24fcce88434eb90
COUNT = 6
KEY = d46f393a87647187fe1f1b3e04d6e16a3e224990f9b294f7
PLAINTEXT = fe8315efe00364d109573d08648e02ba88b225e58c4d97011d2c84e1cf633ddbb19276282466b18ded62fa3b88dfd5f5bf5175707ccd2effdcc82d70842267303863cfb6aa44cc1f8f71ea16f88dd0f7e076723401cb87f7edac3e0959c12cf2bc7e896219a59dcf180c75605ca0da0a
CIPHERTEXT = 33122eddd244c22d2a1992cc191f698ffe0ddcf723e130e71ab4fdd1f85a1d5c2d76f6075a46b3728f6756349961da0e5fd1571a2970d8fa5e60523ea70c985ca14c5218bb001c915f13b72075c73d203646635a26c162cd8afd1c7c0a1f1f106c25079d64786c13e77d40386ec17c7f
COUNT = 7
KEY = 830772bbf5f808ff55924e2b12d55ad00c7221dc03788d63
PLAINTEXT = e694082a79dd6f6f7c9a1eeba77b976ba352f1fa611bce01b03a8db30f03c1a8bf7fe1c81d6d416b2f8840bf7d08c369226be36f2275e355fe76658686cbddf6efa74506251413a8623468c300cd8ad98c0494e71b696c8ce134f66effce87da9d949daa39d7cd6c3e27fcc0d9d1d20208a66c29f4fe51ef80fda8332215a89b
CIPHERTEXT = 2f2558ec261b5662efeedb70ec1c35339be6b6cfa2e90f6485632b7b4019dfe66c5e604f41454b58fe1b1352aadbc5a84608c678692acd5d2802f61acda08c6f69d31a203a5af00b5249c5babcf2a5301d7b0afb51ffaa6e206f7a90d81f11e17c5dedaa9b7b6180e1d36d3206a44f7d9702b9a2b693b2b6708cebc307300f81
COUNT = 8
KEY = 5b278ea56647ac130dbf3ac134f2e14c56848593256c106b
PLAINTEXT = 0bd4d727e0a6b2e30086910c6fbbaccd3d64b9cefe1705fd7ac8c38ea5eca440d1dfa8e322833317422b635657b7a135320076e6c976a002e80766852343281b0fbe3a9ab2b6f3cf37f6007de6fafea3545449fed74f0ecf3dd1a8debe8629bf2e3a36547887199347b1118906ceec9f0b2ad81d0fe977ece2ee31a05cfcceb6971b44195b3ecdebda223d839e7993b2
CIPHERTEXT = 6f381d0d840e81d61fbf97fe490c8b7d423b4022f1ae5c60e8cb0e3ef02a208ac858247792d4ffc9da1cf149a99ca08c8532c2914d885d54ef51ae8563df01feb7551c1a73e2d125e5b15aeb1eaeb951ddca2aab93da759cd38fc78228ac1fc31e8186fcf4590642d4ea3f88278277a40ec0f3a2519a9e9f076c5b0f49063dbab659cbabc364d7a607f1325711469108
COUNT = 9
KEY = 465525ac67b300762d2f69ea054c62512243d241cf037dc3
PLAINTEXT = 7b85d7c5bc406ee6ea46e5238b9a84b6c2612b0e1696381f75ffabfd796088a9eaee7d2a8306c5e0f91f4c1639fe14d6f129d701539dee9f16c37173bda1a0d21b4d81b617a8cb0fad48035935b6e573e8da05afa0b3b626df4c2b4e13ebdcce188b2b90ff8c48180eaa5215072cbf36ae5dfd3f8540595cda8021b503a60542e98ec3e1c31c04a6242b807238c669c74a9b07da8aaca0ea0e489ad1163ae3d9
CIPHERTEXT = 260e1f09dc3624676a95b52f8c0a3b6b1fa44ea7b65b868c86c1ee352a29ca5a38549afddd6a501416f352467d121db6f836caeaeb56cc1f3417a3ee42881626529d7c35333d90cc06cc72cd1fde66751328ee3c63ecbb8a9b4399cf80b19302124eaa5f3623847f6d211192bfa64b2dcf32918c962300f44b00f82b3d008fb94066535c73929c00100aedcf5b853ba9f51a10dad8a81ef74372bcdea5e5d848
[DECRYPT]
COUNT = 0
KEY = 9103219c1b7ea377a4d120df0fe1360990a74dcc6ce07afb
CIPHERTEXT = ee9239be308a5d6f088134f49aa290e6
PLAINTEXT = 27a1a3612cf5e8d8072c79c389ee893e
COUNT = 1
KEY = 91d7b7ec0117880d26511dc2eb93df1f253163ba230b990d
CIPHERTEXT = e52fc553a6e7e4627ca147c6e3f3faf2d209498f9ef8c7721b5095cc04f0e0a1
PLAINTEXT = 99de1efbd67486eb7507bd26f128eac6106a55310c66a46d4b842bb65e1b97d3
COUNT = 2
KEY = 08a8be0a2babb46b846a53366447877d2484963e5cabf5e6
CIPHERTEXT = ff919021b45ab95d1d06415e8ab39f55b444f95ba3b43062cfab1c6b864f19fa8d5dc2c70a78fcb7a1c1370adea7f0d6
PLAINTEXT = 9afc548b605dcaa46a82ce87d1b1b561d8affcd8613429cb5d0126a181b3bec138db8db53c77c07ff4eda4a536e39011
COUNT = 3
KEY = c888a03bf598e74192f482addcb1bcec984eab0daaf46226
CIPHERTEXT = 3df659bc62ad0680ecc9c4519a9fe44ae947705bd94e109bf4ab2edf8df4598b46d2e7a8d5b3df3707be16c5040c9740d61548092568cb4a44a0a38a7293987f
PLAINTEXT = 37f25ab4c8e8ca83839ff3eb07fa84163546291e3feb00f3a7eb3a5f32e9871c65f880cf03422caf3dacce94a37ca6593fcaae89fb7b2c4c79c2533f4fa87df6
COUNT = 4
KEY = 420b1d116ca83b1f47422d4cfcae83b3cb809914fc29251e
CIPHERTEXT = a1d22100acbb88a5777647d9c6036c4436e18df42c2e5ca30b0f7c38aa5293910552a180321b901397cf0c195b4994e11affd145dd2d27e749308bbb162f94c6c301d425884b68508de9cea05990f70f
PLAINTEXT = 7391acd132740dc187a408b038ccf204321582dd31d03b5f2de20cf2ff74766d32bae717df7e4e0364a8a2cf32e359051a56811a40949bc20a1671f8c19876b02d9818727b37412e45117d726c353a71
COUNT = 5
KEY = 6c4f50c3b8d9a42a9359358694567d362fc7a394e47b4f7a
CIPHERTEXT = 373d8747226f5ec1fb53a4506413b18109bc2fe584911e0a7ea51aab17a9e12488021028071f2db6ec09ea49113ba8507eb53bdd464ceda1ac44c5188a200901f4b90111188efee8685b9b44fced43753134f311979a41e80a939e3a1e75d828
PLAINTEXT = 449d68d6df797c909d70c7c182bcba7763879ddb65cf23c147a6327a32142ecbc14395ede74e701fee0b1a336836ccfe22c07d3aa9bbfab763a7909c4ac36cce76ee94502937f8eac3989d43d7392c2f32bb5eeb966480fe4d536e0e7f832705
COUNT = 6
KEY = 33ebf1c2518a5ed54a4d518fa3f09d49df3a038df5984ad5
CIPHERTEXT = a6303e83152f9f8db941b1b94a8a1ce5c273b55dc94d99a171377969234134e7dad1ab4c8e46d18df4dc016764cf95a11ac4b491a2646be18e4aff936a1f8243f203a5ac822fcd6ecdd9690fd258823f0c899360e9719c457e24723a79e55945578ed4acd733bcb7ae0290b77c6d0c47
PLAINTEXT = eb1089d0be56e93104d03481ee59e87aef7d5f42e03352e7aa16c08ddbd08f992884332f04b96d419f50cae1c4c50091f996c58cfb4814b62e72092823921de0684f7c0f2b78459a362b7ba86677339b8d0448a633f0c44027e7f82f0f78bc5be87857e2af244cf262b1ae18d6d6d0d9
COUNT = 7
KEY = 76304d07d5e6f00c3e8ab00cc1b4520577f0c481cfc10bbe
CIPHERTEXT = 42b069236f8beaa711626c4af0ac1cd2cdf5e4d6f52599201605765650ffc9da8f26ecee1976771c635cb4d529795358bda35fd5a02c71d24f6724cf5f69c825cc0d5b348f3bb5bd6e69028d1861755c71453bf42bd1ae9696e1cc99b933e754a16d9d3ef9620b54db913ebbe6eeeaa791e65f7bbe9db832937a56fd85e58d2d
PLAINTEXT = faff9b037a460724433ada2f769c803b78f2d3981b65acf62346df78c9db011ffbb6a27c17e4efa5b615a7391bc5a05d0ca3efea376cbbed740c673683956498fc60660a19d6a7360754d0d69892590f2202b31e80ce1219b557dc9a3e5d0b243292a31fe601b52ddb2d6eadda0a324469f16ee886de5330bb021cabe500eb6a
COUNT = 8
KEY = 228fec53588d524745a997e950fb8b98e590107b2555737e
CIPHERTEXT = 3f409f492a59073e05da89e6c3bec8a7452ddb8d7243ff348a1388e9b7ec1e0ce6db25b8d4707da76cc56c4f50bdd851b68aba147572cfad5fd29103d26365308abc162ab91882a25a5a932cc24e71a17832f6c14675631d90be5135e530eaddd4ed58e501d87ef878a0e6c540fafb5d342d79dc0ed4214cc5dfb1c619dc13da6b75d532d339d9716d9f4e61f347de4e
PLAINTEXT = 3c16c3b5720806cb7664db2b04c7ea802ba2bd28548c223137f353ddd78f7bc938a2b4721e509537c906ad38ccaababdb01a112773b6145cf967916a0f736c8d38abb4bbe9dc2833fe8b820c4370761c6bca3cb156e2388c8246e089bcca511dfd396d3f3d312b79883c7f40e5fb35ca5178292a21b32663500659edb957981a8afbc42fee7019fe0cc2d8e40cf269a5
COUNT = 9
KEY = 4c4dbc905ffd33d0ebb24b2749b041acc175b358fa54b3c4
CIPHERTEXT = 5170fb173d4fbcfb5ad9b878d2e47eafcf3fb18634965fa88c958fce3f50193c0ce3bb8eb35568b4f2c3e33cb3ba8dcf84e47cff47e7cc402b8a3a33db1aee2bf50c99eabde3c0ab13545866a2a8924f5b63f89f2223b998c6ca41c337df0d7df332beb1c2bf6ce7a3d53c7e067835353b034ff12b12cdba469ecd06bc6a1e3af09e516e2ab213708b8eba0c47f01d8b0e0da97acb7bb1ad914e0683d282c86a
PLAINTEXT = 71b48ad7044783b05583b3e0cb9f57b6d45da4274349c13346a63507431bcdd1426ad3bb80780eba99642139143a230899ef00102e97a2a5511e02e92af605e63e8c4c00d78b62e774190de41acfa0842d7ad6f85057e8a97e28c745c0d3d8673415c072d2fb8ced930898c76e373a18262438774af2660de5505eabebdde47681b55aa7c8e9e90c78bf9a73d667d88984c12d8dba5d550037a596aaaecc8d7f

View File

@ -0,0 +1,88 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS MMT test data for ECB
# State : Encrypt and Decrypt
# Key Length : 256
# Generated on Fri Jul 17 16:27:14 2015
[ENCRYPT]
COUNT = 0
KEY = 651ce7a3454b25c58bb37f45a5d9f17a9c70f941ecd7059f92e227a866dd109f
PLAINTEXT = ae96ebf42f28316840f126db2d991d67
CIPHERTEXT = 1bc2f52c4dbb1a908a526ecdc1ecb645
COUNT = 1
KEY = 40d82b522aa9459bca9d33b222f63f86fbae8a87925e5cac8f5fb9bb362f35c5
PLAINTEXT = 275d197c8114e77991168cca240cdd796c6f42e3a59b746af926846ba16f2070
CIPHERTEXT = ec8540303ebb91fde710cdaf6173a3f153710aacaf0e2386ad3c5ec6ff77611e
COUNT = 2
KEY = f80cfb17b7eb41dbeb0fd759f89a636bdce1f9a863cdede69e81e6fd913c34ce
PLAINTEXT = e0b76d8f8cdcc664a6ff4e3ffe7f702d78834d1b60f7b1f6fed145106a9906c6a228f560dab0103813fc821feff917fc
CIPHERTEXT = 9ccf3b32b09a9e9431d72848195e0e489875f4446fecfdd48c52787811addac74fd263cff67be9583736033a39b062ff
COUNT = 3
KEY = 7a9d1ecd5762f60d82689273e3c441607066c2e6fe9db87257de58ae8cc165a5
PLAINTEXT = 9a6c758f93c1f5c9f0c6d1b7e4f46ac182220e912255797f06d99c4d3d919d15c88b1e7ffcd7c237279aed9f765eccc116ac96879add112e9d2d57f8a811da21
CIPHERTEXT = 2ac747679e63a71fb3185f9c142ba60bd907af9350784959ceae4fe75257bbc6596b721a106c65973a345864a4d436b6920491df19622d8230061760f92c22bd
COUNT = 4
KEY = 9dacee4693a2c2eb8564ed51db0e2e0f5d95b760eaab80276ce2e1300b1360b9
PLAINTEXT = 47a16553cdc320fb87b6259be04bc7c664eaaa266c998328fe5a1ff6efbaa7a64aa722b0f6823ba69275441fa4077cf5f3ed8db031235941dd3cf6f468f7f7a09712ee2028632f07b824d690e48f0bd4
CIPHERTEXT = cea4fba2ee4d44931f8b3d61ebccb799ad65c040da8e5061372b2f3b6779b3205b4f9c968a9f64d8953eb1920601893a08e7d84020885ffe51a69baef39417e3f41143376fbd6f67e1c1b2b7d10ca815
COUNT = 5
KEY = dbc571602ea4911030ab96ee0fe0c539e18f87cbe883c7ee157c9c70ccde28fa
PLAINTEXT = 239b6e71692dc96b92ad9a426b41c26382cfdb0ce8b51ea636bb8355ce4529cd63cef967bc918774b48938d1869caabc471450e5b44e5dc82eb6e43b03f33d43ef5eaa2ce3b93ad9041eee58f7351bb95caa0f2198def71ad8dd012d5391bdb3
CIPHERTEXT = 25a370b3826ee711869954413f550fa869c846bc2ed563fcfef7a5936e5bc1c33b9dd3b06ff976dc95d7e55c8a605f69c08868fcbfe8162dc7b724dbe6efef68958ea1ae2f9c64c19182081fbc17a085f77bab9746a038c635015ece26c118c6
COUNT = 6
KEY = 54ef3937198ed15841baa02e31d5d34613eb972821e57f2d200026912a7e15c9
PLAINTEXT = 4a8cc5cc90eb574bb5d9b4ff7a263d52f3a155af302e20371d198ab6a7aa8cd520faab91e504c1eb3effffe185ec339e8b6b47ee37d20af47080341f3d6fa45a2b09eb83f03d0e1f4dd1884c39fa8ff63b2a984e18291d78ae679e842091e6a033628f8cf8bcc84eacf75626dc79d9c4
CIPHERTEXT = 374c40b01dd153a2f0c879c82cbaa994743b959d6618505fe2f9f18015eaecae722dd22271833ed03bd84e1d4c313d60ea6bab7a4a330478d4b2ef560f3f9e3fdd8922f5a5268f585e6b077c3bfc981d643616061b607b11653c1ba26156b82a6a62bd4ca51257c8cab5653628f90a07
COUNT = 7
KEY = 232485281d1554158682547e4c720046d090e7103c2fa15e178b07fa1751a496
PLAINTEXT = 8b1418a1f90daab2b06854c683038c47c4335ee1fdaebf8ae0a91fc0813d3d12c30f3fe2103002694e42affc0edd8f8d06312074c1ec6870955e89e8d6da96774960a5a8db7a25fe93647238c66fa7d28aa7b4cf6cb4b0b666fe70db0b1558df054f717ac1b3bc786915c60213837d1f38e0427b67cf3f663ad3fb1f8ab42b53
CIPHERTEXT = f615bc3b03ba31944098045cb57d509c90b585f0c0978dc713eba8fa18ee8e55e688207024c04994b637327767179ffca0efe03b1461548b8f97434973be995de8b587a740d6850068548e43b24e6e5cddcc46cc755e011b5eb6f0e2cf2fc33e8faf2ae7ec0dcf61905c4c4854e0de46a8f1dbabb22256958bd88c992c044ab7
COUNT = 8
KEY = adde831a35ef8f77d432a5d615944fa67b1cc943c51f64c86fb32c257c65c971
PLAINTEXT = 92b9897cee6585c8895b9604cde81f12e12b1b172b81bb8b1441508c0baa6c78cc1944bae27f59e46a1358ff1b443e1e83f2bf3a93dde9395e5e05501e55be8b786285aa0158332f00eef0b576b854835b56cd612bec41aba1d2f4a3c28cab0b1efc12f453d65bd1d25528cfe62cab69f2c00b36fa940a066404e62e00377c20474fb33fe0e218f169aec6f5738889f7
CIPHERTEXT = ce011bb140ea6fbd16e1ed29b61a1e6082f8e6639779cc9285fb4d938987dc38f489d13c1886458fe1f4b6f9d3e72f5e35773542d60e0a24c83a5dfd0be68f0492a1670c915033da50d8e958863b36bac14b9e8cc81a5e6da3cb2ad3d0ce6fcf56c1afb777b05f96991f32d0ee0b352889f7582ed153e56f1accdf47fe836c6ec9d9a210463ffb9384b762d980d26a23
COUNT = 9
KEY = 955b9d8862f21c8159ac4c0e96864da3502b29ef0b5cac600e9576e518ee4ef7
PLAINTEXT = c357e0a896afaa114429f25f2b3d9af7ef8f0ab8bf218ad4dac7eede52dc79241034fc3e19513ee710daa00cfb4801234ae3e0be15edc060a51dd18f364fcc2afb791ffd63e14a939b8d894b54fbb3aec6136200f45a541532681167e59cce658b0e920dfbc597bced2bf345bcbd77416b07d8a7e7d00c9d8b92f78de92d477ac8db9d956967ed0b0f9a2722bdf7178442a88ada73b7b29db881cb29ca68ff14
CIPHERTEXT = 60f7793fe899a2f24a4e96ebbe43d8a183935e2cd595c59bdbf1ab388ca891974185dd52539a42111143d29c7ac7d07cef2c4b6fb6eaa02274babb93672deac8fecb66802170ed8f948842895dd995871b442c601b9fec4dec504302e59ceab523c6b729379068a52a824f4998322904804b6a4ff97cad9e045b873a47a1dd7d655d23c7ec1327a9acbcb8a158a495f306ff31273e9157164e63f94a0452321c
[DECRYPT]
COUNT = 0
KEY = 4bd80573f5fb77d00f606faf5425a2c735482d94cdc4269c17fd77f75f5eec0e
CIPHERTEXT = cf822a59025798894c2b463f29d8b8c1
PLAINTEXT = 2d35e3cede43f441a0628402f7709149
COUNT = 1
KEY = 905640bfbad41982cad7b6fabb4103b1f7a2de606cffccc7e3d3eadd8d542729
CIPHERTEXT = 156e7b38c38edb1d4a9a158ed4a0551b86c5783ebd7e6e339703e309b6011efa
PLAINTEXT = 378c6af239a581a856e0e2d5cb61f75e976d8c73532d4d3e8176f2812e0e56f0
COUNT = 2
KEY = bad931fb5b752aef2371778a12a12adf0051f4332e87516020890077af9fb6a9
CIPHERTEXT = e24df99d66da4521e48ced2a03b9035584735fe330ad39010f9ef74ddb6b4397b40061e4153ebfb9075cce96958711c0
PLAINTEXT = 10f0d434b1e3ebfdb051a667d684834da8e868cc0cbc7d90de08fd16e5b9e431492804210243a2282bfe773928f3792a
COUNT = 3
KEY = 4a2d1eab5806ca43fd0f06c60b63d5402b95c70c21ea65a151c5cfaf8262a46b
CIPHERTEXT = ddfa631996f5463533859a694296ee1d5af1338aa2b365cc92fe6e38feee47ef50cf60b3158d42fabb6b734198f899a32f40e3aaaf3fa565bd9b42bb73924ffe
PLAINTEXT = 05114d637165134b4e8df093c36cd84b9d006caad1f05eea55891b7cc9003c990437b37d9fa6e9c0d2c58fa2c1ea89dc04cdfb6a8fa5ae3e7346323ea0b41aba
COUNT = 4
KEY = 31a497893db7face6f65656c3474558089043e40191fcd32a591709da9fa183e
CIPHERTEXT = 1b661217e02acc188e5202ac72021a2ece88f78637357aa13c6b481e48f8ce4acaa2834f92036da87e98e7d85714a15cf6fae8deab6a28abdf3baf67f74bb3007c1397e0797f6a6725fcb198c2d26612
PLAINTEXT = 176223a1852aea0127830e9e42012f68f7d40554272802f2f5d05cf30b79b8706ea97ef8a54dfab21da67b6e3bf308197e06e3079f16f7148ec73162841695282280567a025e812e885ea62c7077d74d
COUNT = 5
KEY = f9b3f58ca10751b2c03567d187b9935fe0e3b84a532b3dea2ac45534d3748430
CIPHERTEXT = c5c9a391c4ea2a839d90e1a0bd0738aab03bb817e46fe764b0326cac948f7379c38553dadeb76eb60363595f06983e6afea47ebf04cc9aec374153bf044f1013a4d681eae5fe82bc2e27420fbd1fa4483498e5c154d9801b08b34ed6a5b7f21e
PLAINTEXT = ebe53d7d66339ae834f4f141a2a750b6aa6dcf0499e687d915b2b58cfdc5ee0ad150d252046778518069c266dc1b460f5079d43d194f352183d66c0c5d4ca42e7f0fbaa3e30d2fa0c5fffcaea16f999fff212fefc45d477eedb47fa72dda2a25
COUNT = 6
KEY = e1ef5276544877bab2f84bd2eef47ffa66f96e7170cd54d836c9badbc5943514
CIPHERTEXT = fb5be9200434c1af509be2836dbb60b51f15456df7c4ce4d2705d80d95f695622e9e83257d2e9fb17c86d68daafbbc4b5d5880af5a222014a321d90c901be24721e359b693937eef31151fd46de8536f2f206b216daf26fcfce4246da6319d1e7c31531a6de9c533184fa6a1df088deb
PLAINTEXT = 77eb31aa81b4cb42d9186213145d39abca4e01c7712e6f381da56d1c665591a1bc1fb76ddf6228987f24b9cdb96234cda6eff017ee0b7eac4d246d6488cd17875c8f40836ebf976df7e71a286e2a76a083e9e3406be1e18eecca99054896870078d4780284cfb20842231f0819218506
COUNT = 7
KEY = b3d420e48fd5a409514091f7a818aee9348e3ea7eccf83febd21816d732e0421
CIPHERTEXT = bba6eeaf8fb759d71e32adc8c611d061345882f1cdeee3ab4cab3554adb2e43f4b01c37b4546994b25f4dcd6c497bc206865643930157cb5b2f4f25be235fa223688535907efcc253bcd083021407ea09cb1c34684aa0c1849e7efe2d9af6938c46525af9e5afb4da6e5b83da4b61dc718672a8090549cbe5aadb44f5bc93a6b
PLAINTEXT = 5f497f9f9f183e32c0cc8e817bee86e4b3e17b926da3a3a3f792f3db07540b8cd7ddf679002520a4ae5ca94b35714a9acb89d7e9f526eddc491cf7ef1a1cfacf65cbb7f247837b17d0a3bc468370e272106c1a656a4c94142f92e86fb6bf579f628cf3d7622bf67c122ea2c076d49ceaa256fe803122ea86ff1650f45a47723f
COUNT = 8
KEY = 0d9cad6dc3ab264f7da8f9beb6a734a386fa34f4dc600e8507792e227c7d3edc
CIPHERTEXT = 7e384c772f0d5507c7b0632f8de287d69fd283c27e9074abcdc4b59456a0ff5b4e13d58eda401f80d22e159cc4c15efa3ce9793042195d6b25fb5cbe77624db95980ea3ef95977905877a5ad51dfb5ded745e08c7e7cf7553c30475f71d7bfec26e5552f923fa55fe3f3db093b26d4aaf84e807d38a18b929ccc3c204de99d1c3dabdc0ab0dcf114fa0a81598a7d0287
PLAINTEXT = 34ebb60dd0465ebd35d698d436605ac11537a6277a8b95a9902429b1df3676740d37d1bd6a01b1c0de7b3d8281b5db6576be9c8b73614e54df320cc83445054660bd432252070913ee7cdef9238452e3fc422ff87ef1209d6fe9decfe472293f9f1ffa6433ab745c8612a32e030702c9891ca80995b3c28b329c1299a75fe08de5002da0e25b1731a999b9594d489dae
COUNT = 9
KEY = df3055cc2399bafbbd94aac5d04afbb97de67c7baa49d91702febe943d703fcd
CIPHERTEXT = bcaf827312d1f2e6b341e29180b24e50757944ce2337f24960b903953d1c2c64383501c4b3300ee9a576232d90d5ef55b3dbd0168082ead8501377b956445dd5d1a306c586386c656e6673daac137cd4c1093711039bb8234c8bce72ef2b9084f0c3387c743335e176d97ba1bcb51e5609cb1fc795c986b2baeab0c9f01aebfafb5b40f3636790e62597e389a803fc62f2eb31411c56790e03f8c7c4415996be
PLAINTEXT = a2024877ac4531cbc1f69028b21db5f253179775c5487007a797b73d3bc0e3ed4941c6517d101b752e57a7f4ef547b4559b85e28d46751f9bcb8d6cd9ea1a69e99f41910e5706bee9085061bcaf38529a32f884212aaade92cb2744c58d24a2ea00b511284b135b062dc09481e5386876dc6e15e07a1e8050dba54162fc2a85511dfd8e76a4663dfcafac15e9c282de6a5d142522289f73760c336dc1dbddffc

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,81 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS GFSbox test data for CBC
# State : Encrypt and Decrypt
# Key Length : 128
# Generated on Fri Jul 17 16:27:15 2015
[ENCRYPT]
COUNT = 0
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = f34481ec3cc627bacd5dc3fb08f273e6
COUNT = 1
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 9798c4640bad75c7c3227db910174e72
COUNT = 2
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 96ab5c2ff612d9dfaae8c31f30c42168
COUNT = 3
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 6a118a874519e64e9963798a503f1d35
COUNT = 4
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = cb9fceec81286ca3e989bd979b0cb284
COUNT = 5
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = b26aeb1874e47ca8358ff22378f09144
COUNT = 6
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 58c8e00b2631686d54eab84b91f0aca1
[DECRYPT]
COUNT = 0
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = 0336763e966d92595a567cc9ce537f5e
COUNT = 1
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = a9a1631bf4996954ebc093957b234589
COUNT = 2
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = ff4f8391a6a40ca5b25d23bedd44a597
COUNT = 3
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = dc43be40be0e53712f7e2bf5ca707209
COUNT = 4
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = 92beedab1895a94faa69b632e5cc47ce
COUNT = 5
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = 459264f4798f6a78bacb89c15ed3d601
COUNT = 6
KEY = 00000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = 08a4e2efec8a8e3312ca7460b9040bbf

View File

@ -0,0 +1,71 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS GFSbox test data for CBC
# State : Encrypt and Decrypt
# Key Length : 192
# Generated on Fri Jul 17 16:27:17 2015
[ENCRYPT]
COUNT = 0
KEY = 000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 1b077a6af4b7f98229de786d7516b639
COUNT = 1
KEY = 000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 9c2d8842e5f48f57648205d39a239af1
COUNT = 2
KEY = 000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = bff52510095f518ecca60af4205444bb
COUNT = 3
KEY = 000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 51719783d3185a535bd75adc65071ce1
COUNT = 4
KEY = 000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 26aa49dcfe7629a8901a69a9914e6dfd
COUNT = 5
KEY = 000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 941a4773058224e1ef66d10e0a6ee782
[DECRYPT]
COUNT = 0
KEY = 000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = 275cfc0413d8ccb70513c3859b1d0f72
COUNT = 1
KEY = 000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = c9b8135ff1b5adc413dfd053b21bd96d
COUNT = 2
KEY = 000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = 4a3650c3371ce2eb35e389a171427440
COUNT = 3
KEY = 000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = 4f354592ff7c8847d2d0870ca9481b7c
COUNT = 4
KEY = 000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = d5e08bf9a182e857cf40b3a36ee248cc
COUNT = 5
KEY = 000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = 067cd9d3749207791841562507fa9626

View File

@ -0,0 +1,61 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS GFSbox test data for CBC
# State : Encrypt and Decrypt
# Key Length : 256
# Generated on Fri Jul 17 16:27:18 2015
[ENCRYPT]
COUNT = 0
KEY = 0000000000000000000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 014730f80ac625fe84f026c60bfd547d
COUNT = 1
KEY = 0000000000000000000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 0b24af36193ce4665f2825d7b4749c98
COUNT = 2
KEY = 0000000000000000000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 761c1fe41a18acf20d241650611d90f1
COUNT = 3
KEY = 0000000000000000000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 8a560769d605868ad80d819bdba03771
COUNT = 4
KEY = 0000000000000000000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
PLAINTEXT = 91fbef2d15a97816060bee1feaa49afe
[DECRYPT]
COUNT = 0
KEY = 0000000000000000000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = 5c9d844ed46f9885085e5d6a4f94c7d7
COUNT = 1
KEY = 0000000000000000000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = a9ff75bd7cf6613d3731c77c3b6d0c04
COUNT = 2
KEY = 0000000000000000000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = 623a52fcea5d443e48d9181ab32c7421
COUNT = 3
KEY = 0000000000000000000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = 38f2c7ae10612415d27ca190d27da8b4
COUNT = 4
KEY = 0000000000000000000000000000000000000000000000000000000000000000
IV = 00000000000000000000000000000000
CIPHERTEXT = 1bc704f1bce135ceb810341b216d7abe

View File

@ -0,0 +1,221 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS KeySbox test data for CBC
# State : Encrypt and Decrypt
# Key Length : 128
# Generated on Fri Jul 17 16:27:15 2015
[ENCRYPT]
COUNT = 0
KEY = 10a58869d74be5a374cf867cfb473859
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 1
KEY = caea65cdbb75e9169ecd22ebe6e54675
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 2
KEY = a2e2fa9baf7d20822ca9f0542f764a41
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 3
KEY = b6364ac4e1de1e285eaf144a2415f7a0
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 4
KEY = 64cf9c7abc50b888af65f49d521944b2
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 5
KEY = 47d6742eefcc0465dc96355e851b64d9
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 6
KEY = 3eb39790678c56bee34bbcdeccf6cdb5
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 7
KEY = 64110a924f0743d500ccadae72c13427
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 8
KEY = 18d8126516f8a12ab1a36d9f04d68e51
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 9
KEY = f530357968578480b398a3c251cd1093
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 10
KEY = da84367f325d42d601b4326964802e8e
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 11
KEY = e37b1c6aa2846f6fdb413f238b089f23
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 12
KEY = 6c002b682483e0cabcc731c253be5674
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 13
KEY = 143ae8ed6555aba96110ab58893a8ae1
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 14
KEY = b69418a85332240dc82492353956ae0c
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 15
KEY = 71b5c08a1993e1362e4d0ce9b22b78d5
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 16
KEY = e234cdca2606b81f29408d5f6da21206
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 17
KEY = 13237c49074a3da078dc1d828bb78c6f
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 18
KEY = 3071a2a48fe6cbd04f1a129098e308f8
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 19
KEY = 90f42ec0f68385f2ffc5dfc03a654dce
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 20
KEY = febd9a24d8b65c1c787d50a4ed3619a9
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
[DECRYPT]
COUNT = 0
KEY = 10a58869d74be5a374cf867cfb473859
IV = 00000000000000000000000000000000
CIPHERTEXT = 6d251e6944b051e04eaa6fb4dbf78465
COUNT = 1
KEY = caea65cdbb75e9169ecd22ebe6e54675
IV = 00000000000000000000000000000000
CIPHERTEXT = 6e29201190152df4ee058139def610bb
COUNT = 2
KEY = a2e2fa9baf7d20822ca9f0542f764a41
IV = 00000000000000000000000000000000
CIPHERTEXT = c3b44b95d9d2f25670eee9a0de099fa3
COUNT = 3
KEY = b6364ac4e1de1e285eaf144a2415f7a0
IV = 00000000000000000000000000000000
CIPHERTEXT = 5d9b05578fc944b3cf1ccf0e746cd581
COUNT = 4
KEY = 64cf9c7abc50b888af65f49d521944b2
IV = 00000000000000000000000000000000
CIPHERTEXT = f7efc89d5dba578104016ce5ad659c05
COUNT = 5
KEY = 47d6742eefcc0465dc96355e851b64d9
IV = 00000000000000000000000000000000
CIPHERTEXT = 0306194f666d183624aa230a8b264ae7
COUNT = 6
KEY = 3eb39790678c56bee34bbcdeccf6cdb5
IV = 00000000000000000000000000000000
CIPHERTEXT = 858075d536d79ccee571f7d7204b1f67
COUNT = 7
KEY = 64110a924f0743d500ccadae72c13427
IV = 00000000000000000000000000000000
CIPHERTEXT = 35870c6a57e9e92314bcb8087cde72ce
COUNT = 8
KEY = 18d8126516f8a12ab1a36d9f04d68e51
IV = 00000000000000000000000000000000
CIPHERTEXT = 6c68e9be5ec41e22c825b7c7affb4363
COUNT = 9
KEY = f530357968578480b398a3c251cd1093
IV = 00000000000000000000000000000000
CIPHERTEXT = f5df39990fc688f1b07224cc03e86cea
COUNT = 10
KEY = da84367f325d42d601b4326964802e8e
IV = 00000000000000000000000000000000
CIPHERTEXT = bba071bcb470f8f6586e5d3add18bc66
COUNT = 11
KEY = e37b1c6aa2846f6fdb413f238b089f23
IV = 00000000000000000000000000000000
CIPHERTEXT = 43c9f7e62f5d288bb27aa40ef8fe1ea8
COUNT = 12
KEY = 6c002b682483e0cabcc731c253be5674
IV = 00000000000000000000000000000000
CIPHERTEXT = 3580d19cff44f1014a7c966a69059de5
COUNT = 13
KEY = 143ae8ed6555aba96110ab58893a8ae1
IV = 00000000000000000000000000000000
CIPHERTEXT = 806da864dd29d48deafbe764f8202aef
COUNT = 14
KEY = b69418a85332240dc82492353956ae0c
IV = 00000000000000000000000000000000
CIPHERTEXT = a303d940ded8f0baff6f75414cac5243
COUNT = 15
KEY = 71b5c08a1993e1362e4d0ce9b22b78d5
IV = 00000000000000000000000000000000
CIPHERTEXT = c2dabd117f8a3ecabfbb11d12194d9d0
COUNT = 16
KEY = e234cdca2606b81f29408d5f6da21206
IV = 00000000000000000000000000000000
CIPHERTEXT = fff60a4740086b3b9c56195b98d91a7b
COUNT = 17
KEY = 13237c49074a3da078dc1d828bb78c6f
IV = 00000000000000000000000000000000
CIPHERTEXT = 8146a08e2357f0caa30ca8c94d1a0544
COUNT = 18
KEY = 3071a2a48fe6cbd04f1a129098e308f8
IV = 00000000000000000000000000000000
CIPHERTEXT = 4b98e06d356deb07ebb824e5713f7be3
COUNT = 19
KEY = 90f42ec0f68385f2ffc5dfc03a654dce
IV = 00000000000000000000000000000000
CIPHERTEXT = 7a20a53d460fc9ce0423a7a0764c6cf2
COUNT = 20
KEY = febd9a24d8b65c1c787d50a4ed3619a9
IV = 00000000000000000000000000000000
CIPHERTEXT = f4a70d8af877f9b02b4c40df57d45b17

View File

@ -0,0 +1,251 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS KeySbox test data for CBC
# State : Encrypt and Decrypt
# Key Length : 192
# Generated on Fri Jul 17 16:27:17 2015
[ENCRYPT]
COUNT = 0
KEY = e9f065d7c13573587f7875357dfbb16c53489f6a4bd0f7cd
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 1
KEY = 15d20f6ebc7e649fd95b76b107e6daba967c8a9484797f29
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 2
KEY = a8a282ee31c03fae4f8e9b8930d5473c2ed695a347e88b7c
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 3
KEY = cd62376d5ebb414917f0c78f05266433dc9192a1ec943300
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 4
KEY = 502a6ab36984af268bf423c7f509205207fc1552af4a91e5
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 5
KEY = 25a39dbfd8034f71a81f9ceb55026e4037f8f6aa30ab44ce
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 6
KEY = e08c15411774ec4a908b64eadc6ac4199c7cd453f3aaef53
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 7
KEY = 3b375a1ff7e8d44409696e6326ec9dec86138e2ae010b980
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 8
KEY = 950bb9f22cc35be6fe79f52c320af93dec5bc9c0c2f9cd53
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 9
KEY = 7001c487cc3e572cfc92f4d0e697d982e8856fdcc957da40
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 10
KEY = f029ce61d4e5a405b41ead0a883cc6a737da2cf50a6c92ae
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 11
KEY = 61257134a518a0d57d9d244d45f6498cbc32f2bafc522d79
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 12
KEY = b0ab0a6a818baef2d11fa33eac947284fb7d748cfb75e570
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 13
KEY = ee053aa011c8b428cdcc3636313c54d6a03cac01c71579d6
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 14
KEY = d2926527e0aa9f37b45e2ec2ade5853ef807576104c7ace3
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 15
KEY = 982215f4e173dfa0fcffe5d3da41c4812c7bcc8ed3540f93
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 16
KEY = 98c6b8e01e379fbd14e61af6af891596583565f2a27d59e9
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 17
KEY = b3ad5cea1dddc214ca969ac35f37dae1a9a9d1528f89bb35
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 18
KEY = 45899367c3132849763073c435a9288a766c8b9ec2308516
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 19
KEY = ec250e04c3903f602647b85a401a1ae7ca2f02f67fa4253e
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 20
KEY = d077a03bd8a38973928ccafe4a9d2f455130bd0af5ae46a9
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 21
KEY = d184c36cf0dddfec39e654195006022237871a47c33d3198
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 22
KEY = 4c6994ffa9dcdc805b60c2c0095334c42d95a8fc0ca5b080
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 23
KEY = c88f5b00a4ef9a6840e2acaf33f00a3bdc4e25895303fa72
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
[DECRYPT]
COUNT = 0
KEY = e9f065d7c13573587f7875357dfbb16c53489f6a4bd0f7cd
IV = 00000000000000000000000000000000
CIPHERTEXT = 0956259c9cd5cfd0181cca53380cde06
COUNT = 1
KEY = 15d20f6ebc7e649fd95b76b107e6daba967c8a9484797f29
IV = 00000000000000000000000000000000
CIPHERTEXT = 8e4e18424e591a3d5b6f0876f16f8594
COUNT = 2
KEY = a8a282ee31c03fae4f8e9b8930d5473c2ed695a347e88b7c
IV = 00000000000000000000000000000000
CIPHERTEXT = 93f3270cfc877ef17e106ce938979cb0
COUNT = 3
KEY = cd62376d5ebb414917f0c78f05266433dc9192a1ec943300
IV = 00000000000000000000000000000000
CIPHERTEXT = 7f6c25ff41858561bb62f36492e93c29
COUNT = 4
KEY = 502a6ab36984af268bf423c7f509205207fc1552af4a91e5
IV = 00000000000000000000000000000000
CIPHERTEXT = 8e06556dcbb00b809a025047cff2a940
COUNT = 5
KEY = 25a39dbfd8034f71a81f9ceb55026e4037f8f6aa30ab44ce
IV = 00000000000000000000000000000000
CIPHERTEXT = 3608c344868e94555d23a120f8a5502d
COUNT = 6
KEY = e08c15411774ec4a908b64eadc6ac4199c7cd453f3aaef53
IV = 00000000000000000000000000000000
CIPHERTEXT = 77da2021935b840b7f5dcc39132da9e5
COUNT = 7
KEY = 3b375a1ff7e8d44409696e6326ec9dec86138e2ae010b980
IV = 00000000000000000000000000000000
CIPHERTEXT = 3b7c24f825e3bf9873c9f14d39a0e6f4
COUNT = 8
KEY = 950bb9f22cc35be6fe79f52c320af93dec5bc9c0c2f9cd53
IV = 00000000000000000000000000000000
CIPHERTEXT = 64ebf95686b353508c90ecd8b6134316
COUNT = 9
KEY = 7001c487cc3e572cfc92f4d0e697d982e8856fdcc957da40
IV = 00000000000000000000000000000000
CIPHERTEXT = ff558c5d27210b7929b73fc708eb4cf1
COUNT = 10
KEY = f029ce61d4e5a405b41ead0a883cc6a737da2cf50a6c92ae
IV = 00000000000000000000000000000000
CIPHERTEXT = a2c3b2a818075490a7b4c14380f02702
COUNT = 11
KEY = 61257134a518a0d57d9d244d45f6498cbc32f2bafc522d79
IV = 00000000000000000000000000000000
CIPHERTEXT = cfe4d74002696ccf7d87b14a2f9cafc9
COUNT = 12
KEY = b0ab0a6a818baef2d11fa33eac947284fb7d748cfb75e570
IV = 00000000000000000000000000000000
CIPHERTEXT = d2eafd86f63b109b91f5dbb3a3fb7e13
COUNT = 13
KEY = ee053aa011c8b428cdcc3636313c54d6a03cac01c71579d6
IV = 00000000000000000000000000000000
CIPHERTEXT = 9b9fdd1c5975655f539998b306a324af
COUNT = 14
KEY = d2926527e0aa9f37b45e2ec2ade5853ef807576104c7ace3
IV = 00000000000000000000000000000000
CIPHERTEXT = dd619e1cf204446112e0af2b9afa8f8c
COUNT = 15
KEY = 982215f4e173dfa0fcffe5d3da41c4812c7bcc8ed3540f93
IV = 00000000000000000000000000000000
CIPHERTEXT = d4f0aae13c8fe9339fbf9e69ed0ad74d
COUNT = 16
KEY = 98c6b8e01e379fbd14e61af6af891596583565f2a27d59e9
IV = 00000000000000000000000000000000
CIPHERTEXT = 19c80ec4a6deb7e5ed1033dda933498f
COUNT = 17
KEY = b3ad5cea1dddc214ca969ac35f37dae1a9a9d1528f89bb35
IV = 00000000000000000000000000000000
CIPHERTEXT = 3cf5e1d21a17956d1dffad6a7c41c659
COUNT = 18
KEY = 45899367c3132849763073c435a9288a766c8b9ec2308516
IV = 00000000000000000000000000000000
CIPHERTEXT = 69fd12e8505f8ded2fdcb197a121b362
COUNT = 19
KEY = ec250e04c3903f602647b85a401a1ae7ca2f02f67fa4253e
IV = 00000000000000000000000000000000
CIPHERTEXT = 8aa584e2cc4d17417a97cb9a28ba29c8
COUNT = 20
KEY = d077a03bd8a38973928ccafe4a9d2f455130bd0af5ae46a9
IV = 00000000000000000000000000000000
CIPHERTEXT = abc786fb1edb504580c4d882ef29a0c7
COUNT = 21
KEY = d184c36cf0dddfec39e654195006022237871a47c33d3198
IV = 00000000000000000000000000000000
CIPHERTEXT = 2e19fb60a3e1de0166f483c97824a978
COUNT = 22
KEY = 4c6994ffa9dcdc805b60c2c0095334c42d95a8fc0ca5b080
IV = 00000000000000000000000000000000
CIPHERTEXT = 7656709538dd5fec41e0ce6a0f8e207d
COUNT = 23
KEY = c88f5b00a4ef9a6840e2acaf33f00a3bdc4e25895303fa72
IV = 00000000000000000000000000000000
CIPHERTEXT = a67cf333b314d411d3c0ae6e1cfcd8f5

View File

@ -0,0 +1,171 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS KeySbox test data for CBC
# State : Encrypt and Decrypt
# Key Length : 256
# Generated on Fri Jul 17 16:27:18 2015
[ENCRYPT]
COUNT = 0
KEY = c47b0294dbbbee0fec4757f22ffeee3587ca4730c3d33b691df38bab076bc558
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 1
KEY = 28d46cffa158533194214a91e712fc2b45b518076675affd910edeca5f41ac64
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 2
KEY = c1cc358b449909a19436cfbb3f852ef8bcb5ed12ac7058325f56e6099aab1a1c
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 3
KEY = 984ca75f4ee8d706f46c2d98c0bf4a45f5b00d791c2dfeb191b5ed8e420fd627
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 4
KEY = b43d08a447ac8609baadae4ff12918b9f68fc1653f1269222f123981ded7a92f
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 5
KEY = 1d85a181b54cde51f0e098095b2962fdc93b51fe9b88602b3f54130bf76a5bd9
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 6
KEY = dc0eba1f2232a7879ded34ed8428eeb8769b056bbaf8ad77cb65c3541430b4cf
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 7
KEY = f8be9ba615c5a952cabbca24f68f8593039624d524c816acda2c9183bd917cb9
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 8
KEY = 797f8b3d176dac5b7e34a2d539c4ef367a16f8635f6264737591c5c07bf57a3e
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 9
KEY = 6838d40caf927749c13f0329d331f448e202c73ef52c5f73a37ca635d4c47707
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 10
KEY = ccd1bc3c659cd3c59bc437484e3c5c724441da8d6e90ce556cd57d0752663bbc
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 11
KEY = 13428b5e4c005e0636dd338405d173ab135dec2a25c22c5df0722d69dcc43887
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 12
KEY = 07eb03a08d291d1b07408bf3512ab40c91097ac77461aad4bb859647f74f00ee
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 13
KEY = 90143ae20cd78c5d8ebdd6cb9dc1762427a96c78c639bccc41a61424564eafe1
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 14
KEY = b7a5794d52737475d53d5a377200849be0260a67a2b22ced8bbef12882270d07
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
COUNT = 15
KEY = fca02f3d5011cfc5c1e23165d413a049d4526a991827424d896fe3435e0bf68e
IV = 00000000000000000000000000000000
PLAINTEXT = 00000000000000000000000000000000
[DECRYPT]
COUNT = 0
KEY = c47b0294dbbbee0fec4757f22ffeee3587ca4730c3d33b691df38bab076bc558
IV = 00000000000000000000000000000000
CIPHERTEXT = 46f2fb342d6f0ab477476fc501242c5f
COUNT = 1
KEY = 28d46cffa158533194214a91e712fc2b45b518076675affd910edeca5f41ac64
IV = 00000000000000000000000000000000
CIPHERTEXT = 4bf3b0a69aeb6657794f2901b1440ad4
COUNT = 2
KEY = c1cc358b449909a19436cfbb3f852ef8bcb5ed12ac7058325f56e6099aab1a1c
IV = 00000000000000000000000000000000
CIPHERTEXT = 352065272169abf9856843927d0674fd
COUNT = 3
KEY = 984ca75f4ee8d706f46c2d98c0bf4a45f5b00d791c2dfeb191b5ed8e420fd627
IV = 00000000000000000000000000000000
CIPHERTEXT = 4307456a9e67813b452e15fa8fffe398
COUNT = 4
KEY = b43d08a447ac8609baadae4ff12918b9f68fc1653f1269222f123981ded7a92f
IV = 00000000000000000000000000000000
CIPHERTEXT = 4663446607354989477a5c6f0f007ef4
COUNT = 5
KEY = 1d85a181b54cde51f0e098095b2962fdc93b51fe9b88602b3f54130bf76a5bd9
IV = 00000000000000000000000000000000
CIPHERTEXT = 531c2c38344578b84d50b3c917bbb6e1
COUNT = 6
KEY = dc0eba1f2232a7879ded34ed8428eeb8769b056bbaf8ad77cb65c3541430b4cf
IV = 00000000000000000000000000000000
CIPHERTEXT = fc6aec906323480005c58e7e1ab004ad
COUNT = 7
KEY = f8be9ba615c5a952cabbca24f68f8593039624d524c816acda2c9183bd917cb9
IV = 00000000000000000000000000000000
CIPHERTEXT = a3944b95ca0b52043584ef02151926a8
COUNT = 8
KEY = 797f8b3d176dac5b7e34a2d539c4ef367a16f8635f6264737591c5c07bf57a3e
IV = 00000000000000000000000000000000
CIPHERTEXT = a74289fe73a4c123ca189ea1e1b49ad5
COUNT = 9
KEY = 6838d40caf927749c13f0329d331f448e202c73ef52c5f73a37ca635d4c47707
IV = 00000000000000000000000000000000
CIPHERTEXT = b91d4ea4488644b56cf0812fa7fcf5fc
COUNT = 10
KEY = ccd1bc3c659cd3c59bc437484e3c5c724441da8d6e90ce556cd57d0752663bbc
IV = 00000000000000000000000000000000
CIPHERTEXT = 304f81ab61a80c2e743b94d5002a126b
COUNT = 11
KEY = 13428b5e4c005e0636dd338405d173ab135dec2a25c22c5df0722d69dcc43887
IV = 00000000000000000000000000000000
CIPHERTEXT = 649a71545378c783e368c9ade7114f6c
COUNT = 12
KEY = 07eb03a08d291d1b07408bf3512ab40c91097ac77461aad4bb859647f74f00ee
IV = 00000000000000000000000000000000
CIPHERTEXT = 47cb030da2ab051dfc6c4bf6910d12bb
COUNT = 13
KEY = 90143ae20cd78c5d8ebdd6cb9dc1762427a96c78c639bccc41a61424564eafe1
IV = 00000000000000000000000000000000
CIPHERTEXT = 798c7c005dee432b2c8ea5dfa381ecc3
COUNT = 14
KEY = b7a5794d52737475d53d5a377200849be0260a67a2b22ced8bbef12882270d07
IV = 00000000000000000000000000000000
CIPHERTEXT = 637c31dc2591a07636f646b72daabbe7
COUNT = 15
KEY = fca02f3d5011cfc5c1e23165d413a049d4526a991827424d896fe3435e0bf68e
IV = 00000000000000000000000000000000
CIPHERTEXT = 179a49c712154bbffbe6e7a84a18e220

View File

@ -0,0 +1,20 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS MCT test data for CBC
# State : Encrypt and Decrypt
# Key Length : 128
# Generated on Fri Jul 17 16:27:15 2015
[ENCRYPT]
COUNT = 0
KEY = 254cf6c94e74d377b7224bbe0be40da8
IV = 3a6a9f64d76a5c39776fe2266f88d6d0
PLAINTEXT = f7611455f4a4d6ae538a638e55dab12c
[DECRYPT]
COUNT = 0
KEY = f7b2414458320f2af7a50d729e787da3
IV = fade59610e2d0da273c04b48a9eca1f3
CIPHERTEXT = ccbc4e27e208018697b4df8bedca96bb

View File

@ -0,0 +1,20 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS MCT test data for CBC
# State : Encrypt and Decrypt
# Key Length : 192
# Generated on Fri Jul 17 16:27:17 2015
[ENCRYPT]
COUNT = 0
KEY = 2f10048f2570587af882c77d3a1928280c67355d9c70325f
IV = 44a0b005a9419c14445ad51c500895c2
PLAINTEXT = 53058e0b7ae81df057f26048263e8fbe
[DECRYPT]
COUNT = 0
KEY = f1e60e2ff361576172e2198dd5448f93cc898799332a66ff
IV = fce108c3f5656ef27ec59bc3430e39c7
CIPHERTEXT = 52ed85f5ab67d02ff2f43beeee96d8d3

View File

@ -0,0 +1,20 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS MCT test data for CBC
# State : Encrypt and Decrypt
# Key Length : 256
# Generated on Fri Jul 17 16:27:18 2015
[ENCRYPT]
COUNT = 0
KEY = 3069c548e7c56c63ab779b48e35a8ed73f7013369b318ec626234155c3abca95
IV = 1f9fa6711ed6a1da12b12e16f09f12a9
PLAINTEXT = 7acc75d125a3ae2d3e126d02c2b535dd
[DECRYPT]
COUNT = 0
KEY = 344c464570a74c2c0d1c4f43acd59c30a9d30411fb3ee06d5cf9526aab7acd41
IV = f5471ee5979cabd8379770a4bc8c4165
CIPHERTEXT = 9a0bda344568ead33b4842276c6ee535

View File

@ -0,0 +1,111 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS MMT test data for CBC
# State : Encrypt and Decrypt
# Key Length : 128
# Generated on Fri Jul 17 16:27:15 2015
[ENCRYPT]
COUNT = 0
KEY = 6849f9e073578364c30ea8560830b22b
IV = 3cd1d56fe52724d5f952a68296d0747b
PLAINTEXT = 2615c629cfdd65a974b9a98b04b01597
COUNT = 1
KEY = 14cf158d3639a5b4844eaffea623bf5e
IV = d0daec189e5aedd279eb0f2a781b39b8
PLAINTEXT = 68c783b906c25539e15f37ad7edff106195dcac63c0cb36490c1c3f2f4b1e3fd
COUNT = 2
KEY = 5be6d022eb8545117907778a1b3bceea
IV = ca08d87b4ae95cc43414569d9284aee4
PLAINTEXT = eb483803bd6d38f167540b1c3a2216e66061835b079a8c64c226f63e2b41db2bce60ad6842c5785e9950671cfb988a05
COUNT = 3
KEY = 07ce80449a24911e303b04dde395e1c2
IV = 4d0df727829fea96996f7f0be2dab063
PLAINTEXT = 7412a93c6c54a646915d62c6344766b2c7d143e8f9f8d56723c7c5bfe36f51c6069a508dacfd7092a62cc33723b37a738c62f0c8ace8ea7514a41decbeb7f086
COUNT = 4
KEY = da280bafc7a21a47f0943b3f3a621434
IV = ed595bb7f00d4df341484c27524ae6b7
PLAINTEXT = 7bd8f6e95b95e4f1114c7b3d37f9515f295cbca117b58aec58cdf2e80135cb65b7d2fcfac19a34eb6198db5065364874f9bb347cbf136e4922cfd19fe76c748604d820f0b632079dced1b23c4b893cd3
COUNT = 5
KEY = ce18fc3a32e4f385029e81e7f7b1b446
IV = 6d59d8c72c16fd869fe842c4febc34e8
PLAINTEXT = c6b156a9a0d90183c0ae208abdc017623e65efc0b1a4a9714051d29e007a584e6c029c2c138cc88b8d9a63a7b3f6232d105202fe922b933085f39756c26ecc02245d05883c5a7f044603739e5b5ae80ce86ccb595e3141e52bb43caeea734dcd
COUNT = 6
KEY = aa6cc50bb5f56f7f46c0d53b85e6fa49
IV = abc9731829231f1e37df8178e8cbfd8b
PLAINTEXT = 1a9d42b75fc13ae5d0bba4df7a35123fa03110ae554b594c4a3e4b53e4aa99f7911540905d2fbcfac05a7b3cba69926922a8afc43c1d4e27890e30a6e3c4096fc98e7af4f7083e4d399ca8d7824a4d2238a5fe0ad31ef923a6855f5bfccde9da6710d72d55d22aa4e48a13f8f85fab31
COUNT = 7
KEY = 971f7ac05ceef3e388efa8e278968bf2
IV = e09c714581933c15be173cae6316b810
PLAINTEXT = 325df97ed454b9871b99dd8cfe59a4596ada15702bc6fbfb10c72f044a5315e816ca69099cbe3cc4169139a334462dd3bf91c7d87e309c7f567e6d14b446add630d53ea86a537c0938537c4604a895ee6f7a20873a9a7d7f671357669b02285ac7a7ffc207bb813fcb042ddf3428e594c1bfaae52aaba8e48cac7260c72f8e5b
COUNT = 8
KEY = 4db8dee945e656c331f4f2d6859a62a2
IV = e898afa5fd79ee86c8146581f37daf59
PLAINTEXT = 328c4aa119a6d1cd9283a456342d3437172e75e9e6538f3f35b0d78f15e4fd12e69f868d6d617d31278466c0dc7c74f2765efc17149f28fd5b1ef0140c6546d0dc2c914f801f5d3c07e251f36c5161e66c0c453f953329c7a06ea6060031f1acbb3e522f796bd8b6daa54c360d3563da9f4237a99097f863aca7dfab18ce646b2cdab17580ca56664ad63ed0e7afe298
COUNT = 9
KEY = 66f718a3eb47c601dc98aff5304eb4b0
IV = 12ad8574f47bff9714c17e66041551c1
PLAINTEXT = 01c582e0f659afe29baa3bf8646be381841508e80d7ff8d459ae6f9eaaee5e080d21ea2c8458b8b263a06846fb1f5f49765fcac702e9dfaa3216662da0227993d88288187177a0287de4eccf245d7c718b8045bbfb8869d93f1fb9e94d7478b0298e628c07e0edaab01dcf79264dc05f8b2181aa3f831dc949726fbcf80de4c9c9ed83718cb82aa2c3f31a2e4b18b57c3ee9877e170384e217b6908de8144545
[DECRYPT]
COUNT = 0
KEY = 5c1134f758ab00012c925b013d6edc7e
IV = 2b77ca1f643a786eafefd8179abdff2c
CIPHERTEXT = 2ce0f9440f5b5ed27347928f72e61ef0
COUNT = 1
KEY = 96642592afdcb63cdf064e6ba6ee1f9e
IV = 6b6991e5f25f4b196cf0d8f29e60bbf8
CIPHERTEXT = bea4afc39dc45ed065d81af04c91e5eb85a4b2bab76d774aafd8837c52811270
COUNT = 2
KEY = a59ab2743b311fd07bb312cd455089bd
IV = 99e750063ff4674e04110f93bf8212c7
CIPHERTEXT = 84ae6c2fdf1418d629b9dea4a1f48bc40f75e07ef3d6dd67db733fd5157c47968648bde2daec358dde0d918129f2c76c
COUNT = 3
KEY = 235ab6cd7759034243b5ecd1faa714a0
IV = 05a903d7a58d4e4b8284fad387e4d692
CIPHERTEXT = d0e673105c3bc36f91e5312a957db9d9ec89a1419c09b7828f4cda913808bbe97aaae57ec5ebfbf382a4410cb1e35e66d03e6166ff67016f63012958c8b2b41d
COUNT = 4
KEY = f2fb2311861c679354f552b0aa2c454d
IV = dd76f9b813ea9a1c5521476aaf83107e
CIPHERTEXT = ce6442bc44357184271a5b3dd3cc6211de5ce339a778686632ea1e5f336189eb687476f12ce431de4a21f9470f10b1d0a30cd84c992bbb25c4c2e9fe4c2be89802c526f2f13d32b5350c2cce11417b5d
COUNT = 5
KEY = 59857b99f2bb155a3d6d84b76c55b3bb
IV = dd98cfa4aa381c783d9214be1930e879
CIPHERTEXT = 792e0f21bea13764fefb1253ee3783d81faa56196adbc9f192944ba0253983c1a359947de283a0ffb15b8b27bcec0183b040ba7b9f2efccba5746237cc06dd792da5f87f58b260d3f645a35bad7a3842440bc03608248bd46e725e60f97e73ba
COUNT = 6
KEY = 87c1821c2829abc600610105c2e0770f
IV = 9ef4419945d945baa2c1d090fb6bf6f1
CIPHERTEXT = a9d246cf79def493ff133f38c3ed8238a7d16137129e0e354e86c5072f1c9908f6ad730c74d458957349ea4a51fa32a4ee5d9cebc904436165726fbdf22d5cda29143eb178f381855f55555d1a996ab78048f87b2ba6032ed987dd681264ec880baeada6cb62f9c98cde885a64f3b3d9
COUNT = 7
KEY = 3160ecb20f1cf6169e83c9c3611aa68b
IV = 0a50b29f8dd8236914d0cfe94b4954d3
CIPHERTEXT = 66228259df5c22cbd4e3a831fa9e26e2a4ad15089fb551985b7765884ca8093c90fce941d285a83d6e3b2526d6dcfdb334f651105141c9d6b533d83a10cf4285d8bedcc434a093c019a4b030b2565b2e06b95de8d5962a98c2131eb6b887076b868de44acc58ec3b1b46d2b758b7483b611fc2f6f35a7cc5cc40be620c7a5fd9
COUNT = 8
KEY = a078662773551494084187d2c6df6a34
IV = 1a2c33157a5afdfb40e40ffed0ac8b48
CIPHERTEXT = af7da3f26db3e9a0229a6fa97b727b061f9bffb69cb92605a1102d0e6f30747f8ad7d59cb41334871ba757bed2b0f8e57e8819c652eb98963d58037961baad49c848029352aa17e3f25d86421a5878fc74f003a7d3f9b760692e73583ad37d90d098d2e031c1bb3e0e84a13d3db222d46a9a6561092baaed8e5825b2e1c10cda0c8fef8a379f481fd7e453b822061ff4
COUNT = 9
KEY = 825b91d8baa03dab01cdef2617320c30
IV = 54100f298b899413a4f663a24184c789
CIPHERTEXT = 04731704a0d87b5e3d35ff3da14d2d9539e77f830020693da1059a4ae06180ee36d40ae9bb25b1614ad9b91cdf05b4f243604982ec9c33251ef78c20570d4c1eeaf00dddea7a112749e28504418e072ef32867c54ff4aa44336155b4d7dee81f68eea848f37fa1998578ec5d91912e2f916761b2f0d0d783286b7b6c287c5bdbf8f763929fdb6b9f45c1758f95b52fdf6544c0b399d6c0ca443f88b21190ad38

View File

@ -0,0 +1,111 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS MMT test data for CBC
# State : Encrypt and Decrypt
# Key Length : 192
# Generated on Fri Jul 17 16:27:17 2015
[ENCRYPT]
COUNT = 0
KEY = 1feede276def5c68b917f6a42f7ac1a63b613323903e404a
IV = 684800c0fb46233e08cebd1cb04d16ca
PLAINTEXT = f55e6cd3955b15378d4427d963d57df6
COUNT = 1
KEY = b4c3b27e80b612eebaa7a06a1f33101c3d7b91cdcd27bb05
IV = 681d9610e1df08d38a4ebafe8cffc0e0
PLAINTEXT = 744c883dd2237563decc5474d69cf5989a07d1f00e6f8f15c03acdc2cb271ccd
COUNT = 2
KEY = ee60f567af7109990fad80f4010dffd67b7d532acce1638d
IV = 2f50c3187ae000db05047fd3fad256d3
PLAINTEXT = 8d1cad703082c67e3a0d73cd8aa841c7b131e65bb42d234f0ebaefd8f5c4d168de7c8ec743060465a47256efccee4920
COUNT = 3
KEY = c4805143ec60e813fafef48144ad8c11cbb2eae7b5f07d8a
IV = fbb4aad9c589d5990390b64f16fdc563
PLAINTEXT = fba729c18f969fd53057a814a1b9a9e10b4dba84e4c0aa1f146743e35b1ccf83ed49dbe960423a29c8d84db3212b82ccedbf1b3f1dd2314f35edf8f1acba4438
COUNT = 4
KEY = 16d4b72933e784f18b08e2cf490873ad3bce8d5b84418d8e
IV = 6ec40006749a01b1a4b6f25888c5d3c5
PLAINTEXT = 6e03c56f51f94aecf6f8bf73ef9c650eb6ca997a9bdb617201fc4531cad460321068b63a163cc8987ebb66abbcd9c5a6caf7d1901d07c48fd9f0f8654134f93b71d0df9e4f64dbc7bf930f1f16ada302
COUNT = 5
KEY = 48d55decbc0475fad04f3edbbc1f5449a21e8764718ddfa7
IV = 4859cd2dc6fdc1edf374a6a0f7509587
PLAINTEXT = 6c2e74f1bfef4196ec5d5e4ddc892654ea33e711f59095f6b44bc0a74ac9c45f1bb14090ddacc9c9f269dfddf5e51f4293e9bbb79cd42829599a16d8210da5b6275bd60f96d83f6fe0fe04c152b202b4edc94d6371cbdd34baf784004f872375
COUNT = 6
KEY = e190aa551c63e9b2f92e9d987f3116e89dede1cd61899942
IV = 157903365c1df219db5e2cad9703f184
PLAINTEXT = b898be2abd3140054d5e64d46aa7e6793f1de0b1619133ed5605285d5460574d4a66c8b425e6590a4c355f5b6cdc909a7b8e2137f75d2bf36f2d53f44568aa14b2f3d27f0a61637d42678c8caf90feb210320511cfa1f8bc84a2d4c9bb2324a8f72924b3f709250537db3390ba2cf66a
COUNT = 7
KEY = 9a9fb8e1392d08406fd09098d787e088a389e3a1338912c8
IV = fc4f1d501615ce7346f22fa8e1b85aee
PLAINTEXT = 850c1456f2a5e73d5c4d81fcb6b90e1f2eefd0f0b3b5c290b4497b472b525419db17cd9ad5ef2d0341f869845b0c47dcbcf1c328dbd0b2f8d3e9a5a8678410ee432bacaf841619177be7c8e8ae98181220b1bf85d3be6c438a00abb9d363084f45b0773e0704f3a1928166d0b743c9e9e3958cafa265389862f653217ad58465
COUNT = 8
KEY = 61c564d19c3bca83174d4832d0155bf9c2ac89d151fbea06
IV = c8386e6b091c0deca918c404ebf58cd6
PLAINTEXT = c54a1abe0b2d990df90b4868ee591518deca3d719b7bb5aa536dc9eb5a3903a62aff4e2ba9a05b77aa2d444db59f6f890bc8b6b0e589c4cbfd46c2764f97343421401d0541646a3b8ef58d89b96f695d4dc66e6fed9c059addb82eecc5b467f9b1f5d1745be18e00ad4b6d438232c93cadacaed73c1d3ebffeac537442f8669de206b09f807f8e6e10182aa4965158d0
COUNT = 9
KEY = 7f5ed0bfd2e5f653405c8ddfebafdb5d7545bd0ab7e3f66a
IV = 090e00db22f3fd190a99353c82cd09ae
PLAINTEXT = 8c7e47c0c9814fb6faf6191eb52a90c2ee50e9951b18e3e995844de242f8c92b7190d1e705b5f7ebd6f3712a5405d4706e322054b2ddfd68b55744b2b5f7c1607d6d38b78953a54d6b05c8786db3e10678b4b92e341de1c771933eb8c65dc6b077bd84179c81e24480d527f0485b3fead57ebb0deb03187092e044dcbc525e83292abdee88673538df0a957a2c2674864d372ed81db429c9e0e85d06e1fd1341
[DECRYPT]
COUNT = 0
KEY = b78d372c24a22809bb9a4db5a7434a0fdd0de3a1536cca23
IV = d89472d5286cd81a35f1898b97e8833e
CIPHERTEXT = 47fd1940cae07074bd95e59deb4e2ea6
COUNT = 1
KEY = e33998031cf47777cb090f6617136357c2dfdaa309c34271
IV = af8d11587dd27abbb8326036045719d2
CIPHERTEXT = c0c740dcdf8204edd5654c88ed9f5389e604766c9919f404dc6af270a524c24c
COUNT = 2
KEY = a3a772786317509b0746b2e0341490b5ab09dc8f21defd8c
IV = 1d47e4aca8260b326b26700cfa597569
CIPHERTEXT = bbf914b3b6fb6fbc89f857a7198e01a85f25440418d2f318be7b699db63c652acb0a19fadb967df0d074e9d8d27de3f0
COUNT = 3
KEY = 7acd6febc206ccf47f87641e7496b5f5c74cbf9108902123
IV = 79e6b6ed847b14bc9ddf1b4f26bd5757
CIPHERTEXT = 386ae4362cf93878ef537ee23727402deb8fb6f936dd82b7db979ec6c8c092dced59eaa84e28e7b657b8759270a15d30d209bc8b996bb48d1a98612f76fb0ee1
COUNT = 4
KEY = a77c7e24a0917db299fd774a7f886611adab2a73b6487473
IV = d0e9606410145f25cf0f099c5020576c
CIPHERTEXT = 45d98f0ceabeac900b93bde9985f40f01b532f008e507aa070a9b46218290c0b485880f305fa4dafa6d9aaee2cc4b5a1d1d8ae5fe4fe6307d3b5eba78a12979cfb0426fbfedd38305c0e06e526324f26
COUNT = 5
KEY = 9140ecf134260e4a2e6aebff6cda62826a8d81bb3dd4a5a0
IV = b8e6f7e5e6f73cf26e8f20815084b0be
CIPHERTEXT = 04542f6cbc6396b893ee0a5af243f22d1542fe33ca110ae4751145c65810923e11c02ea66467939f3bd99da9eba4ecf1b98a89699d34cc1e46247dc75dec39990e9d1763c5838cd6350f8c249f15f2ce513822b66da2ed7cebf8b507e18cd162
COUNT = 6
KEY = 72ddb7830502f1218d835d4b00913ecd4d6e972940c83789
IV = 023b3216fdbf89aab7710e8b0bd6037f
CIPHERTEXT = 19824c4ddd66506e2e93a61487eabdc0f1a004f576e3fef7d9c099d38444bc9fc2e11f032e145ff96c4552d016ef9877f90072f88283d743737cc52dda13d6b844f513952ef80ce7bcfe294aae1b3b148ffa56db2f7ce33754a3f1c8adafcc7b0786d10ac35980c28885d38935b7ce1f
COUNT = 7
KEY = 58fa7688b04cad9b90a4fceb297ebcfd3ea5620384000054
IV = 954f1690a41046e341b32a0e7924cd83
CIPHERTEXT = bbc5d747722b3e7dc979a2ab751b0ac858fd034103fd430479a08bd73503d2ef6f159fbe9c04b70c34f5f849b7f88522f23b23527f7ee3bb8bc602b5db560da611db48d32ce751754fa00110c3ba93003ea2085466fcc9e091508f8ecf0080f52a7e9b2d2cbb55e1a2e384a5a0477d8ac59b79f0c0613e9c13a5fb0b17eb7305
COUNT = 8
KEY = d9414cd10128c136c92bdeab446c51f7b1728e903b171ea6
IV = 9dcad7e351c4e8f0aa76d853301b84bf
CIPHERTEXT = 5d0d47a97f80a5ab693378af29cd5a33555cb3579f9ae540aa6fc7ba1cb65521f544a6811f261efc452be46ce9a3964ab1653ccf02177b58d0a90c0fb5236cc840a1d4298f9b6b0e206abb2be40861f4951809b94a269a16492fae8a1c644566e72bbae9f867f6a9a0f9e334418723f8a97b03609e4faa40ba0997737a014ac391ea4008821025946ddf46cf29a5451f
COUNT = 9
KEY = 2c1fbeadecb9a60cc58a5eaadabdaf39e7adda09c8573621
IV = 705992f4d78721472703a508361dca8b
CIPHERTEXT = 433781e0fe20b6b080021ba578df76fe712452a7fa39476c04577b678b9a69ba7957e184c7af500de56442445cec256cb2c450128d0744421c3f31fab37bbcdfb5a2ff2fb706d1f7e23c4886992c7d215c648ff8edb2eb59b1f1ca245823fb7fc1c0e2ca174ec1d64132365179c605853aab18436061c4198b144ecbc4b9ae01635a923e2faea611c8ed138f42e245001342f2d92f3c58eb7151c6d93d665dcf

View File

@ -0,0 +1,111 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS MMT test data for CBC
# State : Encrypt and Decrypt
# Key Length : 256
# Generated on Fri Jul 17 16:27:18 2015
[ENCRYPT]
COUNT = 0
KEY = d4a27d8c2dd084fe7d29da1ff768573160891ea00be72d3f07a132d59741a0d8
IV = e7efbc1775f9bfe7b279dfedb37dfe4c
PLAINTEXT = 8848a0bf195b58082d8cba4498325022
COUNT = 1
KEY = 2ef9f593f4522981d4f9993eb451f25548453c3c7e2560cd19b0e8f59b7207b0
IV = 08d51bf45a884dc4fe9f38aa9258fbe1
PLAINTEXT = db66d01f7eaea4e1bca2fd7a483ac1c6dd542aa62404caf8d82bcdc7284b7fbe
COUNT = 2
KEY = 7be37ee7f424fbeda310925cfa5decc88b6db8b126dbf3b5415466039da87013
IV = 2f13f1e3d949f42f35aca0eef5bcc6bb
PLAINTEXT = 390750c71be94f1a732bee57b4c255d17342e43e1bb680bee2cf2b19fb42d8480d6b7d38e53669ca683fd81ecb38c511
COUNT = 3
KEY = d80c5b1e74844e70401ccf4fb6b7445b8e7e459f3281ab5b73a1e9077aada094
IV = 0f33339c16ba0432767584e314c3622c
PLAINTEXT = d59e8a5eccb689ce7509e2073aaa7148ec77a909b440283b4c2b8ed16e56907f8dbf48c2c461cf200ca00eb1b1e7d1de07901d695904c4ae222336287fe69a36
COUNT = 4
KEY = e3f5ed2cee5974bffa2774be43b9b3626d368a3824aba0d1005ef8bbab5f2eb1
IV = e7e33aff3f078923df40d1b33e39e2c9
PLAINTEXT = 744d81577087932a1f414b90887d76b07fc83da31210a7e124b65ff958e4b8863121ee5e7722af0cdce3d981dff78606f11d4675d613aba94faf0b33f62b814e69c13516aa77ddf4c63d845db5358abc
COUNT = 5
KEY = 2b5adb9b447c7030cc52e430f691299469973749f2505d307556d4692a5c9ad1
IV = d44d644ef017f02b16ae4de99a290970
PLAINTEXT = fd483dcd0223368e00a95f1f6a56d772794dc95cc39b9bf40fbc683c6860b103706f4f09f74aac65cc543324d3b10533584dee7fa320975acdb1fd21d2d9211be6ca02a50d4fc88ce65642bbc7ab92160f0627a5b848ecf52c02bfbb5a3725bb
COUNT = 6
KEY = 89c4317e0f610c160a67527f5d010fe49b3fa6696516c757f3a99b79f0c641c6
IV = 687a43187b5f771401a3711c49e2a7d9
PLAINTEXT = 22fb158cc7641613d0ac535d33020f2df46d06e2475faea9f58ebdf100ffeb1f8a63f983f3a7f28b42c7b137c6e3a3cdfd94ceceb4801228702cafad0d1208c4a5f4a75fb36f802d78d37a109e322bd11cb7e3135939ed859410115c83285d013a5426064fe4495f3c79b6cf041830a0
COUNT = 7
KEY = aec63b129acc07503c10f885bd6b92fccd18316bdd18e5758ed47f736905ec74
IV = f9a28e061ad761706e5d8a09a6f25931
PLAINTEXT = f50d40e431cddcbbe9297ef61a37b27f4f66fb5ec41217e7ca5685326d2245cc558ddfacea6ca669bc233eaa21bb5cdd2035cd2c8d1ebaac76642ad8be68c83f0854e779d6afc35ff22f097c0ece9abea71f8c712fe3726e6ad8de9019d12468d60b60323fbfba0756f4e8542897f58aadcd4117f088ca966f59a942c585e0b1
COUNT = 8
KEY = 225028e97c2e0a0df266cbcde824f94f7c57d2a9005a5aa1add4aab695dd8b65
IV = b2b196b1afb2df259f3e6944552abf33
PLAINTEXT = 9fdbfa978464fdf2846a185e4943549040f6b2559358c0d65874691a083011cc322ee23f70f160af9b4144ca3bd0876e411dbdb5f999a42f3a09fd6ee02b9ac87b9cb95849f9904662442948338a70692dc38b0abefa692681ae9edab2776e24e4ed27ebf6c5b53f433d70e319bb38086db0c45cccc33743952cf464665db468d4e8d6fe5f9df623a4f2c0a0d5a906d4
COUNT = 9
KEY = 37dfe026ea8ad0b9428af716f550496f41b0a142754d6375b2515fa4f361f9ba
IV = 43585db2f70a194527fef2dd30accddf
PLAINTEXT = d80774b0234893f2c17d00c34a3426afa20d320671642299d4301ebe532b0c9a12345f9f4bf12f53fbb88f53dcb01b989433d0fa2c7721f2c36e46a484ead81dd5059bd9d1c09b88f9ea7a11264408d8c3e2143d38d48265a9069e3ce165b0ba8943d1669efdfc1922db6805113715f596e2a5d67fc36e77efc1cd8d52e4bdfa96b6a84f99f07d8fdd52023683d36c7977fa2dd0e88c0db2fb677c9fc0ae2664
[DECRYPT]
COUNT = 0
KEY = 4d7a197a8edacc2965e7309b77c1b5104ddad89efc05edde05d01be57a14a875
IV = f0b5c3f110ac2153ba835ca8ed907f9c
CIPHERTEXT = dbe65312af7c957d1c6781ed6fca80b9
COUNT = 1
KEY = 741d313a05e2bd43222179e5f7ab011b29e240f8081d3e300c4e38da7fe2f674
IV = dff09063463b71c16b52dda968746970
CIPHERTEXT = 5a20f4f5a6e3ef6d3f5a06f48630c82da5b5cd9b2228ee06b536b52057be1368
COUNT = 2
KEY = fade59610e2d0da273c04b48a9eca1f3dcf6d3ac01d689cb223a4617f6ce9930
IV = 6eb4929a8bcf2f3793520cac58de1aaf
CIPHERTEXT = c7fe8f6aa34d3ecf5caad156499ffdf065cc335752dac7a29eb1511746eb544078881d419de3ee6897e45c064778f67d
COUNT = 3
KEY = b52edabdc93b171abf7550fda93cb0f9a3c6eb01a0cc21c469830639e2ce407a
IV = 57a1b5cfeff799b1ddaf281f803d564e
CIPHERTEXT = c6462d6f32023eb735ab6516d9b893ce2e88f95a8f996e4626fa1144b303307d88436925d8ba0f523248d00e496694aaf614a75680121bef1a536818adaf568c
COUNT = 4
KEY = f442776913002bc1eb1d290e708a29783b4fa8d3de88dfc774adf52f7c1774c0
IV = a54b79bfec186442d34d4b400575dac0
CIPHERTEXT = 81e5e7813b2803bc29c6315919e450d16fe38eaa6d91ce49b1a04e08ff57868841875349ccc15477e5c69407843f6a0358ae9e220aa5cd9cc6360f3cf8aad6b753751a3c186ab34c952c06ccece5e359
COUNT = 5
KEY = 30251491313bc8d295d5ebda67e27a4426f6914b6a552e85ca4e38cefecac081
IV = d6805ceeba058689d8135b491cffb13b
CIPHERTEXT = 5ec3b669da5628d5937c02988ff1a8db6bb1b222aaffe5704cac61b2a2961b5a626f8e4bf7c0aef51a2d1ec1a6faa2afa8ced73db6b7228c836fe6beb0defaa2e4df5a931e471c9d4a24a6e213421f3cf9f42324a310bbd3763c8ca666684ec7
COUNT = 6
KEY = 0b743ccc924da7ed4c07027df73527415468f1f736f6f13cd8fa62ad739c5f4d
IV = cabc99dabf867e9f5458900c5e8664b7
CIPHERTEXT = 6c335a5f102cfc136bfd2dda480d4400d6a4faa9b6ad1eb853bb8bf0724b58590a494ee655d59f542746d4557f6f08ee5b22541ed1f38ac05c3e26b2746c81376171489a50992d15a785dcf0967031edeeb8a8e4379915abfd3b95386aefc40a1ab530c52a030e1c92c12cf3b59827c5
COUNT = 7
KEY = 7e355943f346187845c677f82a2286a5d451ab5d764f451305cd90253c27c9e9
IV = 67f13821d7552e1b964edf6cb9ec3134
CIPHERTEXT = d20fded105aba1f87dc513a5acd2629d5a4ab3bef7ad162b30c8b9a9c0355c4989210448e351f4333467d94ec1624537c3655ec7beb9d8390e14208ec21cda2fae278ed5bc459ea683807ca11b62193b2fb8a14a53966523989b19ff5e763fa46aa9e341398d89999397646363d9c8f1c5cce211614ca731f8e40ac63c4c72ee
COUNT = 8
KEY = 67ded781b2c11f1303010c89264476ed5004c49cba9daff88fa4495e087b3d58
IV = 871d3ceaad349c187a01d6cd76ff428e
CIPHERTEXT = acaf32f6f09d78305e48de0cdfc1bfc8cec869ca0a92d1844ac9859ab1d5e147a35a86fdd601084bac7ce704c0c4c19ebea5c5d8797d6b9f374162334fc0ca86f72ca4e557d687d9e2399450e53aacf860aee0ec161d2892e0c558c346e2512d502d74f69aa35da2a787cd3777aae79f5ceaa04d09f97124ec604e94bec3dc065866df7ac8f0f16ea46f7a029e9ddc5b
COUNT = 9
KEY = 41830c34660110ef1d6292b71d998d26eb225cc143da3573b913f33ba0e81821
IV = 0e98ba3f62912a1f748801a6fae84eba
CIPHERTEXT = 0e342db6b41e23f9b7ea7affc5a4e345b3d981ef65f1f0bcefbf863af957d836682080773b2a1eacb2c19da2b642b8ba752dbc9b4d7c8f24eb33f1a4b439024e636604e7f4dd63c2c29cf2eeec5178aefc6f6b29cb82fb639fc0536c97e01bd8492f416ea9e0f9252da3024c2e7a2b0892c81703a8ab3d63538c32f96bf52bbb60a2be7520dae8bb3b0054224565dab07d604790aba15c0a4fc219b3f71f3be1

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,67 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS GFSbox test data for ECB
# State : Encrypt and Decrypt
# Key Length : 128
# Generated on Fri Jul 17 16:27:11 2015
[ENCRYPT]
COUNT = 0
KEY = 00000000000000000000000000000000
PLAINTEXT = f34481ec3cc627bacd5dc3fb08f273e6
COUNT = 1
KEY = 00000000000000000000000000000000
PLAINTEXT = 9798c4640bad75c7c3227db910174e72
COUNT = 2
KEY = 00000000000000000000000000000000
PLAINTEXT = 96ab5c2ff612d9dfaae8c31f30c42168
COUNT = 3
KEY = 00000000000000000000000000000000
PLAINTEXT = 6a118a874519e64e9963798a503f1d35
COUNT = 4
KEY = 00000000000000000000000000000000
PLAINTEXT = cb9fceec81286ca3e989bd979b0cb284
COUNT = 5
KEY = 00000000000000000000000000000000
PLAINTEXT = b26aeb1874e47ca8358ff22378f09144
COUNT = 6
KEY = 00000000000000000000000000000000
PLAINTEXT = 58c8e00b2631686d54eab84b91f0aca1
[DECRYPT]
COUNT = 0
KEY = 00000000000000000000000000000000
CIPHERTEXT = 0336763e966d92595a567cc9ce537f5e
COUNT = 1
KEY = 00000000000000000000000000000000
CIPHERTEXT = a9a1631bf4996954ebc093957b234589
COUNT = 2
KEY = 00000000000000000000000000000000
CIPHERTEXT = ff4f8391a6a40ca5b25d23bedd44a597
COUNT = 3
KEY = 00000000000000000000000000000000
CIPHERTEXT = dc43be40be0e53712f7e2bf5ca707209
COUNT = 4
KEY = 00000000000000000000000000000000
CIPHERTEXT = 92beedab1895a94faa69b632e5cc47ce
COUNT = 5
KEY = 00000000000000000000000000000000
CIPHERTEXT = 459264f4798f6a78bacb89c15ed3d601
COUNT = 6
KEY = 00000000000000000000000000000000
CIPHERTEXT = 08a4e2efec8a8e3312ca7460b9040bbf

View File

@ -0,0 +1,59 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS GFSbox test data for ECB
# State : Encrypt and Decrypt
# Key Length : 192
# Generated on Fri Jul 17 16:27:13 2015
[ENCRYPT]
COUNT = 0
KEY = 000000000000000000000000000000000000000000000000
PLAINTEXT = 1b077a6af4b7f98229de786d7516b639
COUNT = 1
KEY = 000000000000000000000000000000000000000000000000
PLAINTEXT = 9c2d8842e5f48f57648205d39a239af1
COUNT = 2
KEY = 000000000000000000000000000000000000000000000000
PLAINTEXT = bff52510095f518ecca60af4205444bb
COUNT = 3
KEY = 000000000000000000000000000000000000000000000000
PLAINTEXT = 51719783d3185a535bd75adc65071ce1
COUNT = 4
KEY = 000000000000000000000000000000000000000000000000
PLAINTEXT = 26aa49dcfe7629a8901a69a9914e6dfd
COUNT = 5
KEY = 000000000000000000000000000000000000000000000000
PLAINTEXT = 941a4773058224e1ef66d10e0a6ee782
[DECRYPT]
COUNT = 0
KEY = 000000000000000000000000000000000000000000000000
CIPHERTEXT = 275cfc0413d8ccb70513c3859b1d0f72
COUNT = 1
KEY = 000000000000000000000000000000000000000000000000
CIPHERTEXT = c9b8135ff1b5adc413dfd053b21bd96d
COUNT = 2
KEY = 000000000000000000000000000000000000000000000000
CIPHERTEXT = 4a3650c3371ce2eb35e389a171427440
COUNT = 3
KEY = 000000000000000000000000000000000000000000000000
CIPHERTEXT = 4f354592ff7c8847d2d0870ca9481b7c
COUNT = 4
KEY = 000000000000000000000000000000000000000000000000
CIPHERTEXT = d5e08bf9a182e857cf40b3a36ee248cc
COUNT = 5
KEY = 000000000000000000000000000000000000000000000000
CIPHERTEXT = 067cd9d3749207791841562507fa9626

View File

@ -0,0 +1,51 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS GFSbox test data for ECB
# State : Encrypt and Decrypt
# Key Length : 256
# Generated on Fri Jul 17 16:27:14 2015
[ENCRYPT]
COUNT = 0
KEY = 0000000000000000000000000000000000000000000000000000000000000000
PLAINTEXT = 014730f80ac625fe84f026c60bfd547d
COUNT = 1
KEY = 0000000000000000000000000000000000000000000000000000000000000000
PLAINTEXT = 0b24af36193ce4665f2825d7b4749c98
COUNT = 2
KEY = 0000000000000000000000000000000000000000000000000000000000000000
PLAINTEXT = 761c1fe41a18acf20d241650611d90f1
COUNT = 3
KEY = 0000000000000000000000000000000000000000000000000000000000000000
PLAINTEXT = 8a560769d605868ad80d819bdba03771
COUNT = 4
KEY = 0000000000000000000000000000000000000000000000000000000000000000
PLAINTEXT = 91fbef2d15a97816060bee1feaa49afe
[DECRYPT]
COUNT = 0
KEY = 0000000000000000000000000000000000000000000000000000000000000000
CIPHERTEXT = 5c9d844ed46f9885085e5d6a4f94c7d7
COUNT = 1
KEY = 0000000000000000000000000000000000000000000000000000000000000000
CIPHERTEXT = a9ff75bd7cf6613d3731c77c3b6d0c04
COUNT = 2
KEY = 0000000000000000000000000000000000000000000000000000000000000000
CIPHERTEXT = 623a52fcea5d443e48d9181ab32c7421
COUNT = 3
KEY = 0000000000000000000000000000000000000000000000000000000000000000
CIPHERTEXT = 38f2c7ae10612415d27ca190d27da8b4
COUNT = 4
KEY = 0000000000000000000000000000000000000000000000000000000000000000
CIPHERTEXT = 1bc704f1bce135ceb810341b216d7abe

View File

@ -0,0 +1,179 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS KeySbox test data for ECB
# State : Encrypt and Decrypt
# Key Length : 128
# Generated on Fri Jul 17 16:27:11 2015
[ENCRYPT]
COUNT = 0
KEY = 10a58869d74be5a374cf867cfb473859
PLAINTEXT = 00000000000000000000000000000000
COUNT = 1
KEY = caea65cdbb75e9169ecd22ebe6e54675
PLAINTEXT = 00000000000000000000000000000000
COUNT = 2
KEY = a2e2fa9baf7d20822ca9f0542f764a41
PLAINTEXT = 00000000000000000000000000000000
COUNT = 3
KEY = b6364ac4e1de1e285eaf144a2415f7a0
PLAINTEXT = 00000000000000000000000000000000
COUNT = 4
KEY = 64cf9c7abc50b888af65f49d521944b2
PLAINTEXT = 00000000000000000000000000000000
COUNT = 5
KEY = 47d6742eefcc0465dc96355e851b64d9
PLAINTEXT = 00000000000000000000000000000000
COUNT = 6
KEY = 3eb39790678c56bee34bbcdeccf6cdb5
PLAINTEXT = 00000000000000000000000000000000
COUNT = 7
KEY = 64110a924f0743d500ccadae72c13427
PLAINTEXT = 00000000000000000000000000000000
COUNT = 8
KEY = 18d8126516f8a12ab1a36d9f04d68e51
PLAINTEXT = 00000000000000000000000000000000
COUNT = 9
KEY = f530357968578480b398a3c251cd1093
PLAINTEXT = 00000000000000000000000000000000
COUNT = 10
KEY = da84367f325d42d601b4326964802e8e
PLAINTEXT = 00000000000000000000000000000000
COUNT = 11
KEY = e37b1c6aa2846f6fdb413f238b089f23
PLAINTEXT = 00000000000000000000000000000000
COUNT = 12
KEY = 6c002b682483e0cabcc731c253be5674
PLAINTEXT = 00000000000000000000000000000000
COUNT = 13
KEY = 143ae8ed6555aba96110ab58893a8ae1
PLAINTEXT = 00000000000000000000000000000000
COUNT = 14
KEY = b69418a85332240dc82492353956ae0c
PLAINTEXT = 00000000000000000000000000000000
COUNT = 15
KEY = 71b5c08a1993e1362e4d0ce9b22b78d5
PLAINTEXT = 00000000000000000000000000000000
COUNT = 16
KEY = e234cdca2606b81f29408d5f6da21206
PLAINTEXT = 00000000000000000000000000000000
COUNT = 17
KEY = 13237c49074a3da078dc1d828bb78c6f
PLAINTEXT = 00000000000000000000000000000000
COUNT = 18
KEY = 3071a2a48fe6cbd04f1a129098e308f8
PLAINTEXT = 00000000000000000000000000000000
COUNT = 19
KEY = 90f42ec0f68385f2ffc5dfc03a654dce
PLAINTEXT = 00000000000000000000000000000000
COUNT = 20
KEY = febd9a24d8b65c1c787d50a4ed3619a9
PLAINTEXT = 00000000000000000000000000000000
[DECRYPT]
COUNT = 0
KEY = 10a58869d74be5a374cf867cfb473859
CIPHERTEXT = 6d251e6944b051e04eaa6fb4dbf78465
COUNT = 1
KEY = caea65cdbb75e9169ecd22ebe6e54675
CIPHERTEXT = 6e29201190152df4ee058139def610bb
COUNT = 2
KEY = a2e2fa9baf7d20822ca9f0542f764a41
CIPHERTEXT = c3b44b95d9d2f25670eee9a0de099fa3
COUNT = 3
KEY = b6364ac4e1de1e285eaf144a2415f7a0
CIPHERTEXT = 5d9b05578fc944b3cf1ccf0e746cd581
COUNT = 4
KEY = 64cf9c7abc50b888af65f49d521944b2
CIPHERTEXT = f7efc89d5dba578104016ce5ad659c05
COUNT = 5
KEY = 47d6742eefcc0465dc96355e851b64d9
CIPHERTEXT = 0306194f666d183624aa230a8b264ae7
COUNT = 6
KEY = 3eb39790678c56bee34bbcdeccf6cdb5
CIPHERTEXT = 858075d536d79ccee571f7d7204b1f67
COUNT = 7
KEY = 64110a924f0743d500ccadae72c13427
CIPHERTEXT = 35870c6a57e9e92314bcb8087cde72ce
COUNT = 8
KEY = 18d8126516f8a12ab1a36d9f04d68e51
CIPHERTEXT = 6c68e9be5ec41e22c825b7c7affb4363
COUNT = 9
KEY = f530357968578480b398a3c251cd1093
CIPHERTEXT = f5df39990fc688f1b07224cc03e86cea
COUNT = 10
KEY = da84367f325d42d601b4326964802e8e
CIPHERTEXT = bba071bcb470f8f6586e5d3add18bc66
COUNT = 11
KEY = e37b1c6aa2846f6fdb413f238b089f23
CIPHERTEXT = 43c9f7e62f5d288bb27aa40ef8fe1ea8
COUNT = 12
KEY = 6c002b682483e0cabcc731c253be5674
CIPHERTEXT = 3580d19cff44f1014a7c966a69059de5
COUNT = 13
KEY = 143ae8ed6555aba96110ab58893a8ae1
CIPHERTEXT = 806da864dd29d48deafbe764f8202aef
COUNT = 14
KEY = b69418a85332240dc82492353956ae0c
CIPHERTEXT = a303d940ded8f0baff6f75414cac5243
COUNT = 15
KEY = 71b5c08a1993e1362e4d0ce9b22b78d5
CIPHERTEXT = c2dabd117f8a3ecabfbb11d12194d9d0
COUNT = 16
KEY = e234cdca2606b81f29408d5f6da21206
CIPHERTEXT = fff60a4740086b3b9c56195b98d91a7b
COUNT = 17
KEY = 13237c49074a3da078dc1d828bb78c6f
CIPHERTEXT = 8146a08e2357f0caa30ca8c94d1a0544
COUNT = 18
KEY = 3071a2a48fe6cbd04f1a129098e308f8
CIPHERTEXT = 4b98e06d356deb07ebb824e5713f7be3
COUNT = 19
KEY = 90f42ec0f68385f2ffc5dfc03a654dce
CIPHERTEXT = 7a20a53d460fc9ce0423a7a0764c6cf2
COUNT = 20
KEY = febd9a24d8b65c1c787d50a4ed3619a9
CIPHERTEXT = f4a70d8af877f9b02b4c40df57d45b17

View File

@ -0,0 +1,203 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS KeySbox test data for ECB
# State : Encrypt and Decrypt
# Key Length : 192
# Generated on Fri Jul 17 16:27:13 2015
[ENCRYPT]
COUNT = 0
KEY = e9f065d7c13573587f7875357dfbb16c53489f6a4bd0f7cd
PLAINTEXT = 00000000000000000000000000000000
COUNT = 1
KEY = 15d20f6ebc7e649fd95b76b107e6daba967c8a9484797f29
PLAINTEXT = 00000000000000000000000000000000
COUNT = 2
KEY = a8a282ee31c03fae4f8e9b8930d5473c2ed695a347e88b7c
PLAINTEXT = 00000000000000000000000000000000
COUNT = 3
KEY = cd62376d5ebb414917f0c78f05266433dc9192a1ec943300
PLAINTEXT = 00000000000000000000000000000000
COUNT = 4
KEY = 502a6ab36984af268bf423c7f509205207fc1552af4a91e5
PLAINTEXT = 00000000000000000000000000000000
COUNT = 5
KEY = 25a39dbfd8034f71a81f9ceb55026e4037f8f6aa30ab44ce
PLAINTEXT = 00000000000000000000000000000000
COUNT = 6
KEY = e08c15411774ec4a908b64eadc6ac4199c7cd453f3aaef53
PLAINTEXT = 00000000000000000000000000000000
COUNT = 7
KEY = 3b375a1ff7e8d44409696e6326ec9dec86138e2ae010b980
PLAINTEXT = 00000000000000000000000000000000
COUNT = 8
KEY = 950bb9f22cc35be6fe79f52c320af93dec5bc9c0c2f9cd53
PLAINTEXT = 00000000000000000000000000000000
COUNT = 9
KEY = 7001c487cc3e572cfc92f4d0e697d982e8856fdcc957da40
PLAINTEXT = 00000000000000000000000000000000
COUNT = 10
KEY = f029ce61d4e5a405b41ead0a883cc6a737da2cf50a6c92ae
PLAINTEXT = 00000000000000000000000000000000
COUNT = 11
KEY = 61257134a518a0d57d9d244d45f6498cbc32f2bafc522d79
PLAINTEXT = 00000000000000000000000000000000
COUNT = 12
KEY = b0ab0a6a818baef2d11fa33eac947284fb7d748cfb75e570
PLAINTEXT = 00000000000000000000000000000000
COUNT = 13
KEY = ee053aa011c8b428cdcc3636313c54d6a03cac01c71579d6
PLAINTEXT = 00000000000000000000000000000000
COUNT = 14
KEY = d2926527e0aa9f37b45e2ec2ade5853ef807576104c7ace3
PLAINTEXT = 00000000000000000000000000000000
COUNT = 15
KEY = 982215f4e173dfa0fcffe5d3da41c4812c7bcc8ed3540f93
PLAINTEXT = 00000000000000000000000000000000
COUNT = 16
KEY = 98c6b8e01e379fbd14e61af6af891596583565f2a27d59e9
PLAINTEXT = 00000000000000000000000000000000
COUNT = 17
KEY = b3ad5cea1dddc214ca969ac35f37dae1a9a9d1528f89bb35
PLAINTEXT = 00000000000000000000000000000000
COUNT = 18
KEY = 45899367c3132849763073c435a9288a766c8b9ec2308516
PLAINTEXT = 00000000000000000000000000000000
COUNT = 19
KEY = ec250e04c3903f602647b85a401a1ae7ca2f02f67fa4253e
PLAINTEXT = 00000000000000000000000000000000
COUNT = 20
KEY = d077a03bd8a38973928ccafe4a9d2f455130bd0af5ae46a9
PLAINTEXT = 00000000000000000000000000000000
COUNT = 21
KEY = d184c36cf0dddfec39e654195006022237871a47c33d3198
PLAINTEXT = 00000000000000000000000000000000
COUNT = 22
KEY = 4c6994ffa9dcdc805b60c2c0095334c42d95a8fc0ca5b080
PLAINTEXT = 00000000000000000000000000000000
COUNT = 23
KEY = c88f5b00a4ef9a6840e2acaf33f00a3bdc4e25895303fa72
PLAINTEXT = 00000000000000000000000000000000
[DECRYPT]
COUNT = 0
KEY = e9f065d7c13573587f7875357dfbb16c53489f6a4bd0f7cd
CIPHERTEXT = 0956259c9cd5cfd0181cca53380cde06
COUNT = 1
KEY = 15d20f6ebc7e649fd95b76b107e6daba967c8a9484797f29
CIPHERTEXT = 8e4e18424e591a3d5b6f0876f16f8594
COUNT = 2
KEY = a8a282ee31c03fae4f8e9b8930d5473c2ed695a347e88b7c
CIPHERTEXT = 93f3270cfc877ef17e106ce938979cb0
COUNT = 3
KEY = cd62376d5ebb414917f0c78f05266433dc9192a1ec943300
CIPHERTEXT = 7f6c25ff41858561bb62f36492e93c29
COUNT = 4
KEY = 502a6ab36984af268bf423c7f509205207fc1552af4a91e5
CIPHERTEXT = 8e06556dcbb00b809a025047cff2a940
COUNT = 5
KEY = 25a39dbfd8034f71a81f9ceb55026e4037f8f6aa30ab44ce
CIPHERTEXT = 3608c344868e94555d23a120f8a5502d
COUNT = 6
KEY = e08c15411774ec4a908b64eadc6ac4199c7cd453f3aaef53
CIPHERTEXT = 77da2021935b840b7f5dcc39132da9e5
COUNT = 7
KEY = 3b375a1ff7e8d44409696e6326ec9dec86138e2ae010b980
CIPHERTEXT = 3b7c24f825e3bf9873c9f14d39a0e6f4
COUNT = 8
KEY = 950bb9f22cc35be6fe79f52c320af93dec5bc9c0c2f9cd53
CIPHERTEXT = 64ebf95686b353508c90ecd8b6134316
COUNT = 9
KEY = 7001c487cc3e572cfc92f4d0e697d982e8856fdcc957da40
CIPHERTEXT = ff558c5d27210b7929b73fc708eb4cf1
COUNT = 10
KEY = f029ce61d4e5a405b41ead0a883cc6a737da2cf50a6c92ae
CIPHERTEXT = a2c3b2a818075490a7b4c14380f02702
COUNT = 11
KEY = 61257134a518a0d57d9d244d45f6498cbc32f2bafc522d79
CIPHERTEXT = cfe4d74002696ccf7d87b14a2f9cafc9
COUNT = 12
KEY = b0ab0a6a818baef2d11fa33eac947284fb7d748cfb75e570
CIPHERTEXT = d2eafd86f63b109b91f5dbb3a3fb7e13
COUNT = 13
KEY = ee053aa011c8b428cdcc3636313c54d6a03cac01c71579d6
CIPHERTEXT = 9b9fdd1c5975655f539998b306a324af
COUNT = 14
KEY = d2926527e0aa9f37b45e2ec2ade5853ef807576104c7ace3
CIPHERTEXT = dd619e1cf204446112e0af2b9afa8f8c
COUNT = 15
KEY = 982215f4e173dfa0fcffe5d3da41c4812c7bcc8ed3540f93
CIPHERTEXT = d4f0aae13c8fe9339fbf9e69ed0ad74d
COUNT = 16
KEY = 98c6b8e01e379fbd14e61af6af891596583565f2a27d59e9
CIPHERTEXT = 19c80ec4a6deb7e5ed1033dda933498f
COUNT = 17
KEY = b3ad5cea1dddc214ca969ac35f37dae1a9a9d1528f89bb35
CIPHERTEXT = 3cf5e1d21a17956d1dffad6a7c41c659
COUNT = 18
KEY = 45899367c3132849763073c435a9288a766c8b9ec2308516
CIPHERTEXT = 69fd12e8505f8ded2fdcb197a121b362
COUNT = 19
KEY = ec250e04c3903f602647b85a401a1ae7ca2f02f67fa4253e
CIPHERTEXT = 8aa584e2cc4d17417a97cb9a28ba29c8
COUNT = 20
KEY = d077a03bd8a38973928ccafe4a9d2f455130bd0af5ae46a9
CIPHERTEXT = abc786fb1edb504580c4d882ef29a0c7
COUNT = 21
KEY = d184c36cf0dddfec39e654195006022237871a47c33d3198
CIPHERTEXT = 2e19fb60a3e1de0166f483c97824a978
COUNT = 22
KEY = 4c6994ffa9dcdc805b60c2c0095334c42d95a8fc0ca5b080
CIPHERTEXT = 7656709538dd5fec41e0ce6a0f8e207d
COUNT = 23
KEY = c88f5b00a4ef9a6840e2acaf33f00a3bdc4e25895303fa72
CIPHERTEXT = a67cf333b314d411d3c0ae6e1cfcd8f5

View File

@ -0,0 +1,139 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS KeySbox test data for ECB
# State : Encrypt and Decrypt
# Key Length : 256
# Generated on Fri Jul 17 16:27:14 2015
[ENCRYPT]
COUNT = 0
KEY = c47b0294dbbbee0fec4757f22ffeee3587ca4730c3d33b691df38bab076bc558
PLAINTEXT = 00000000000000000000000000000000
COUNT = 1
KEY = 28d46cffa158533194214a91e712fc2b45b518076675affd910edeca5f41ac64
PLAINTEXT = 00000000000000000000000000000000
COUNT = 2
KEY = c1cc358b449909a19436cfbb3f852ef8bcb5ed12ac7058325f56e6099aab1a1c
PLAINTEXT = 00000000000000000000000000000000
COUNT = 3
KEY = 984ca75f4ee8d706f46c2d98c0bf4a45f5b00d791c2dfeb191b5ed8e420fd627
PLAINTEXT = 00000000000000000000000000000000
COUNT = 4
KEY = b43d08a447ac8609baadae4ff12918b9f68fc1653f1269222f123981ded7a92f
PLAINTEXT = 00000000000000000000000000000000
COUNT = 5
KEY = 1d85a181b54cde51f0e098095b2962fdc93b51fe9b88602b3f54130bf76a5bd9
PLAINTEXT = 00000000000000000000000000000000
COUNT = 6
KEY = dc0eba1f2232a7879ded34ed8428eeb8769b056bbaf8ad77cb65c3541430b4cf
PLAINTEXT = 00000000000000000000000000000000
COUNT = 7
KEY = f8be9ba615c5a952cabbca24f68f8593039624d524c816acda2c9183bd917cb9
PLAINTEXT = 00000000000000000000000000000000
COUNT = 8
KEY = 797f8b3d176dac5b7e34a2d539c4ef367a16f8635f6264737591c5c07bf57a3e
PLAINTEXT = 00000000000000000000000000000000
COUNT = 9
KEY = 6838d40caf927749c13f0329d331f448e202c73ef52c5f73a37ca635d4c47707
PLAINTEXT = 00000000000000000000000000000000
COUNT = 10
KEY = ccd1bc3c659cd3c59bc437484e3c5c724441da8d6e90ce556cd57d0752663bbc
PLAINTEXT = 00000000000000000000000000000000
COUNT = 11
KEY = 13428b5e4c005e0636dd338405d173ab135dec2a25c22c5df0722d69dcc43887
PLAINTEXT = 00000000000000000000000000000000
COUNT = 12
KEY = 07eb03a08d291d1b07408bf3512ab40c91097ac77461aad4bb859647f74f00ee
PLAINTEXT = 00000000000000000000000000000000
COUNT = 13
KEY = 90143ae20cd78c5d8ebdd6cb9dc1762427a96c78c639bccc41a61424564eafe1
PLAINTEXT = 00000000000000000000000000000000
COUNT = 14
KEY = b7a5794d52737475d53d5a377200849be0260a67a2b22ced8bbef12882270d07
PLAINTEXT = 00000000000000000000000000000000
COUNT = 15
KEY = fca02f3d5011cfc5c1e23165d413a049d4526a991827424d896fe3435e0bf68e
PLAINTEXT = 00000000000000000000000000000000
[DECRYPT]
COUNT = 0
KEY = c47b0294dbbbee0fec4757f22ffeee3587ca4730c3d33b691df38bab076bc558
CIPHERTEXT = 46f2fb342d6f0ab477476fc501242c5f
COUNT = 1
KEY = 28d46cffa158533194214a91e712fc2b45b518076675affd910edeca5f41ac64
CIPHERTEXT = 4bf3b0a69aeb6657794f2901b1440ad4
COUNT = 2
KEY = c1cc358b449909a19436cfbb3f852ef8bcb5ed12ac7058325f56e6099aab1a1c
CIPHERTEXT = 352065272169abf9856843927d0674fd
COUNT = 3
KEY = 984ca75f4ee8d706f46c2d98c0bf4a45f5b00d791c2dfeb191b5ed8e420fd627
CIPHERTEXT = 4307456a9e67813b452e15fa8fffe398
COUNT = 4
KEY = b43d08a447ac8609baadae4ff12918b9f68fc1653f1269222f123981ded7a92f
CIPHERTEXT = 4663446607354989477a5c6f0f007ef4
COUNT = 5
KEY = 1d85a181b54cde51f0e098095b2962fdc93b51fe9b88602b3f54130bf76a5bd9
CIPHERTEXT = 531c2c38344578b84d50b3c917bbb6e1
COUNT = 6
KEY = dc0eba1f2232a7879ded34ed8428eeb8769b056bbaf8ad77cb65c3541430b4cf
CIPHERTEXT = fc6aec906323480005c58e7e1ab004ad
COUNT = 7
KEY = f8be9ba615c5a952cabbca24f68f8593039624d524c816acda2c9183bd917cb9
CIPHERTEXT = a3944b95ca0b52043584ef02151926a8
COUNT = 8
KEY = 797f8b3d176dac5b7e34a2d539c4ef367a16f8635f6264737591c5c07bf57a3e
CIPHERTEXT = a74289fe73a4c123ca189ea1e1b49ad5
COUNT = 9
KEY = 6838d40caf927749c13f0329d331f448e202c73ef52c5f73a37ca635d4c47707
CIPHERTEXT = b91d4ea4488644b56cf0812fa7fcf5fc
COUNT = 10
KEY = ccd1bc3c659cd3c59bc437484e3c5c724441da8d6e90ce556cd57d0752663bbc
CIPHERTEXT = 304f81ab61a80c2e743b94d5002a126b
COUNT = 11
KEY = 13428b5e4c005e0636dd338405d173ab135dec2a25c22c5df0722d69dcc43887
CIPHERTEXT = 649a71545378c783e368c9ade7114f6c
COUNT = 12
KEY = 07eb03a08d291d1b07408bf3512ab40c91097ac77461aad4bb859647f74f00ee
CIPHERTEXT = 47cb030da2ab051dfc6c4bf6910d12bb
COUNT = 13
KEY = 90143ae20cd78c5d8ebdd6cb9dc1762427a96c78c639bccc41a61424564eafe1
CIPHERTEXT = 798c7c005dee432b2c8ea5dfa381ecc3
COUNT = 14
KEY = b7a5794d52737475d53d5a377200849be0260a67a2b22ced8bbef12882270d07
CIPHERTEXT = 637c31dc2591a07636f646b72daabbe7
COUNT = 15
KEY = fca02f3d5011cfc5c1e23165d413a049d4526a991827424d896fe3435e0bf68e
CIPHERTEXT = 179a49c712154bbffbe6e7a84a18e220

View File

@ -0,0 +1,18 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS MCT test data for ECB
# State : Encrypt and Decrypt
# Key Length : 128
# Generated on Fri Jul 17 16:27:11 2015
[ENCRYPT]
COUNT = 0
KEY = c656a2bba3bcb00a8bcf5f88b1bdb081
PLAINTEXT = fd1be0e4d3469d3586747aab3d45640f
[DECRYPT]
COUNT = 0
KEY = 24121ea87093a433ae746dd611ace261
CIPHERTEXT = a4742f2d98597e840208e91ee7843636

View File

@ -0,0 +1,18 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS MCT test data for ECB
# State : Encrypt and Decrypt
# Key Length : 192
# Generated on Fri Jul 17 16:27:13 2015
[ENCRYPT]
COUNT = 0
KEY = 64e01568ca07d8ba4290aa41fac1461aa84a31051f83f1c6
PLAINTEXT = 05dd4043e95d80894303b0d02b57cc71
[DECRYPT]
COUNT = 0
KEY = 9771a6aae6cfeb00b23f5ca61a323b20a5e9545f8e7deae5
CIPHERTEXT = 35b8689e57906f1f535ef6f1e7bfbd25

View File

@ -0,0 +1,18 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS MCT test data for ECB
# State : Encrypt and Decrypt
# Key Length : 256
# Generated on Fri Jul 17 16:27:14 2015
[ENCRYPT]
COUNT = 0
KEY = 9a5efa5dbf6ba13ddc18cd61bed0ce2655903a1c0beee11f545b03c386a5c1f6
PLAINTEXT = 0f9d62bbe72ea936c003483c46ea66a7
[DECRYPT]
COUNT = 0
KEY = e9520ab4327acc06b6bdd3bd6e427f4b4f37156f726507647307765817dcf51f
CIPHERTEXT = c0b4d95c3200550bfe5764e0b3da35a3

View File

@ -0,0 +1,91 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS MMT test data for ECB
# State : Encrypt and Decrypt
# Key Length : 128
# Generated on Fri Jul 17 16:27:11 2015
[ENCRYPT]
COUNT = 0
KEY = ca6a6df035a685822a08dc48bbeab388
PLAINTEXT = ccd39c15e0c76ce6ee6096c09413d24c
COUNT = 1
KEY = 3558c8638147c3505a20529dc71bd4fb
PLAINTEXT = 0d59fbb60e2282bd6706494f3a2f200f6d80b209ab83ae45aca3259bb79c34c8
COUNT = 2
KEY = dc903ada4d71410a2eb8ead6b98d4e41
PLAINTEXT = bb59ae0e04547bb23e76e7379113863448200ddbe0f207d95f48ca7ee88caa1e8b566cb76132fed3d9a365b04d68f69f
COUNT = 3
KEY = 0655e4b9e0e5199fd64a59d881872432
PLAINTEXT = da78389f2b3053c394b0e4238300dfabba274333474da9bdb71d1df7876d2c08db213e88724c27d0da99f875e0ea1b0f4b3e9f3fcad8d0f02a9e0bdcccbfd052
COUNT = 4
KEY = e63566e3ee3940e18fc590583ad377af
PLAINTEXT = ab7653efb02068b4960ff63f9769149aa52379f34580ec42a0d4fb2cd78ef027987501e0ef32c7da5e0ff2572ffe3a7b09dd99afc2f8b74474d0a658d31bcffebd0b2c9913d3b889c868240a3784cc58
COUNT = 5
KEY = 15ea0bf7b9948f2a2775adca986f14dd
PLAINTEXT = 79b3729bdd0f01451ed55d6e322be190fd7b1f8b2dc8de9963435f859319e518ad9073d57d52d8e6d008e955d82b0e7fd11700c6e562d0874d6b2c4cba36de42f37795edbfece81a05f09815324e151ddb534415a427807c605ddf9f79c8b60d
COUNT = 6
KEY = 1859d5d1fec6729332fd902dc65d6808
PLAINTEXT = ca5071a62b5dfb324320cab72181fb6b73815782ee13d7a1f02d6795641eeb45e72280e52834046d9523d84a34e8e453ce37dcfe5354c2d47a28ad22a894c8f213059d392749945229a1b6ab1a17b7bfde1134449d2739a56a3206b222a513979721510aee43b3c946c1ed449bb57c96
COUNT = 7
KEY = f5bb1ada30db84780499def720b865ef
PLAINTEXT = 51449d2733c5e24366d9dde5fed1ef03ed6c2a72824afbfc2fa30cb28f396883a78be10e6d4cafb5861359f35454d9ef308ffb51f4c70654bd369e1cef3fe94b79a4f1cf5af949fd6459f4e43f5782dbb2377c5d1e5f02174b08b33e6739cd264cf6951102b5fa4585117561c8c233f0f9cd763f07f8396c628113c0020f5d3e
COUNT = 8
KEY = 68f6dab7f954ccfa233e1d1db6cfca3a
PLAINTEXT = 3f510daf3a7798589c737a734ca366733c40886791ebc62d058946e28951309c2e23b55c451c503ec5674bf3ee5686712cb174e93e4e66fa97e10c240516387f90dde6ada5057a0d740d483196375993f3dd6c83e3083c64933f0118ab9d39b92d27a88aa05c9e2d6f0d78168c6e693f586e7b1dc744d0d4bf4a2ea7c20fbbb2cda704db804644067e0ee48817243ede
COUNT = 9
KEY = 972df5f23045486f9c9dac389ebb278d
PLAINTEXT = cf70c3d955d5e8a7741e5e97ee129adc7b9caeca6bd8128e8c6ea51d4e1fef6a259da9dc2fa07fff1736147a395a474107c9b50bab117e07eeeb4dca58ca928c98b412952751a2f229422f6c94b302bb933442f62dc4bb4e222fddfc159b0878f05d07ec8511dae871e9b857464554b2e9846073381a4fcdf0e3609aceb8d895f53f8ec99007ad49b8d4b6229837c48ecf62146a153bc4ea22afdb8ccc498a4a
[DECRYPT]
COUNT = 0
KEY = a72e456978cb80c578ccbb9d99aa9bcc
CIPHERTEXT = f393a939ff7d0516d4f8e7b66146588d
COUNT = 1
KEY = bae9a647cc2f9d42799471fbeaa64893
CIPHERTEXT = 2aeeb8425d934d3d850f3d82bba7099f1e8c72621b0adfa6eb01006d5c99b12f
COUNT = 2
KEY = 636772fd87d9c063a2dfea77f09525eb
CIPHERTEXT = e5e92061dbe8c2e26a49b5015eb8cae498a08c71b5400d06ea01e66b32077905ac06794c3e57ad7f7f4bf096d4bf7d78
COUNT = 3
KEY = e6167e4b0bc55b3be47f9b758bc93d48
CIPHERTEXT = 182c78e8cfead93ab8c8abba994cf4a4c446cd02349e1488d84f60bc2fb43a5a15038af6dd174fe39f729354d3829fc11f236b8c6e6658e5429021eb4b660f13
COUNT = 4
KEY = 9aefe5d09dbb42bc13eb397b1f25acff
CIPHERTEXT = 77502adfa97e95005f517c642083c52f13f2e3d36e47eed632d5f9d616c4a0cac06ee08a3b092c92a687bc0229ba29ea2ebc37c5cd8ef14387fffc4c38cf254147153c8520de253ce4172c525ead99bf
COUNT = 5
KEY = 4f8f298175537de17d0549174a8d2274
CIPHERTEXT = 4f5ddf496c4b89323f70815108db2dc680312efd6ef2921a75fd4b9b3057e0388128630e2506a3fd8c76a24fe8b04a9a85a35be75839a813dadc8376173976c30144342f0b7cced6f3702a5adf82b2cdaceb49d183ff83fdadb21583a85c8a10
COUNT = 6
KEY = 2f4bdcab29a3455e8665b1468e4e3827
CIPHERTEXT = cfe0d28015e966f07ec0e8983e9d3c1c76e9b7c94e00d77c443631bfc418aa36f8f4ea3ae19b0ec3a7659d8b2d76be70e940a81af34959df5b2e8be3c0e9e4841e4f6df5e8dc452857b397f201e1c96aade2f69266669f39ce559d1fb5105a5beafa41fa513773e936b3bc15e166c5d0
COUNT = 7
KEY = e9e6e961263fea73e945222dd95b7a9e
CIPHERTEXT = 612405124c31b7b28b56e1a696bb5f6cc6e7e6f5157be7fb2620b69585beeb092fef09e155b35d415d6529772aed02d49d3877ba5be5f3f7d141e55176761d6250ff79a7ba5fc2d36413d1699bc5f689cbc29a0a42ae22ca367717420a87845ecd3ea08b049fad11a94920a373a90234586f960d513e3c1d5da89590c859e8a3
COUNT = 8
KEY = 6cb5d1867dc2293e4cac9e83d25d0525
CIPHERTEXT = bcc1e4191111424ec05aaa93b85c24dfe3ea8eaaab563e00bd2ae8d40d18c1961a34e4087361f54d7a0905426812b612910da005eab0f399c8865dd4eae52ed8ba21bab8d0fffe8ab86c87bef56f90ae455d6b75274c22059bc95d7429ce869724ee2cd230d3a52e02eaf8ac675dfada8842b6a36c12126bbe5cb05cd1ba13fae10503fe9cc53261e0eb1fb7c7c33bbe
COUNT = 9
KEY = 30dcc1435ab28662f343febbed88ceaa
CIPHERTEXT = 01034d2f3553d955ab7811f81a61f4b2078dda082ed8f9e523952e4839dcfb39a325cc01d9167e9a3e9a2165ff33fd1b3e91d40670636771036d3b5d44db9d7581d5e4446a53f6a6bd330e7c2389bca455362d2982bcacb6f5506951f3317945e2391f60b1b14a5f736a5ea74d09373693a36cd82e8ad09e41663f8c0c879792107904be73d981afa7689b4d475e78b74101197d3a75dc102ed645765784fd42

View File

@ -0,0 +1,91 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS MMT test data for ECB
# State : Encrypt and Decrypt
# Key Length : 192
# Generated on Fri Jul 17 16:27:13 2015
[ENCRYPT]
COUNT = 0
KEY = 15aa4d733fd2282893bdea927fb8017b7aea407a8ad1820c
PLAINTEXT = 52d8301c705e423863f286b5522b0112
COUNT = 1
KEY = 68fcba3fe8f5a53fe352e2c5d43368fe0546773b55827b44
PLAINTEXT = 1b2940e7194001cb38c417e613eea55f863ff4e7cb16baeee3829d173855f3ea
COUNT = 2
KEY = c0a65e2a5eaa007fe9a9608a8cb59808dd9f89695f697ce0
PLAINTEXT = b095a628b547968842d77f3e0bfccf5303ac330a73df52c34997ba1fb31d1a65ed8db3245894091acb79de552d5a6098
COUNT = 3
KEY = 4d9ce8859d38adac0998ea293851296cb35dcf54a3cc008d
PLAINTEXT = 8e89c9e3b5ce0738c1c511977672e2d5e2fe17f48f14b8a5fd8a560b4f4456c245558c206a680cbb8f5f3c2b77392e11d4392d58724496bab38cea863b6b20a1
COUNT = 4
KEY = e0aaf257ddd8317a178555ca3159b849f58316d798f5ee01
PLAINTEXT = 6b7225a97579e52702ff0ebb580139e803ad69fb266cf5361020c92e0faacf7289b0a76d489d9e8e16e9dea68a9ae291210b2d1890ec3c16598ab9da9d50f1cd318e8854f47a6bf85f7507c55d8fb9ef
COUNT = 5
KEY = 30bddf8bfe2c41958dbc1d9de69cf7e1e19a734a508c22f2
PLAINTEXT = c43311a261fe0aed1a422ef00faf42e4df7a75d0c8f5a1b81062ce11a309f879fd8812a54a6b4a9bccfc8f217e5c5075f7d3873e9065f7c3c9a6b15be9cfdd24e510b7f88328d89dbf34b73c6ec46f152134c3704c3a5fd7a8bb6082d5e31713
COUNT = 6
KEY = d46f393a87647187fe1f1b3e04d6e16a3e224990f9b294f7
PLAINTEXT = fe8315efe00364d109573d08648e02ba88b225e58c4d97011d2c84e1cf633ddbb19276282466b18ded62fa3b88dfd5f5bf5175707ccd2effdcc82d70842267303863cfb6aa44cc1f8f71ea16f88dd0f7e076723401cb87f7edac3e0959c12cf2bc7e896219a59dcf180c75605ca0da0a
COUNT = 7
KEY = 830772bbf5f808ff55924e2b12d55ad00c7221dc03788d63
PLAINTEXT = e694082a79dd6f6f7c9a1eeba77b976ba352f1fa611bce01b03a8db30f03c1a8bf7fe1c81d6d416b2f8840bf7d08c369226be36f2275e355fe76658686cbddf6efa74506251413a8623468c300cd8ad98c0494e71b696c8ce134f66effce87da9d949daa39d7cd6c3e27fcc0d9d1d20208a66c29f4fe51ef80fda8332215a89b
COUNT = 8
KEY = 5b278ea56647ac130dbf3ac134f2e14c56848593256c106b
PLAINTEXT = 0bd4d727e0a6b2e30086910c6fbbaccd3d64b9cefe1705fd7ac8c38ea5eca440d1dfa8e322833317422b635657b7a135320076e6c976a002e80766852343281b0fbe3a9ab2b6f3cf37f6007de6fafea3545449fed74f0ecf3dd1a8debe8629bf2e3a36547887199347b1118906ceec9f0b2ad81d0fe977ece2ee31a05cfcceb6971b44195b3ecdebda223d839e7993b2
COUNT = 9
KEY = 465525ac67b300762d2f69ea054c62512243d241cf037dc3
PLAINTEXT = 7b85d7c5bc406ee6ea46e5238b9a84b6c2612b0e1696381f75ffabfd796088a9eaee7d2a8306c5e0f91f4c1639fe14d6f129d701539dee9f16c37173bda1a0d21b4d81b617a8cb0fad48035935b6e573e8da05afa0b3b626df4c2b4e13ebdcce188b2b90ff8c48180eaa5215072cbf36ae5dfd3f8540595cda8021b503a60542e98ec3e1c31c04a6242b807238c669c74a9b07da8aaca0ea0e489ad1163ae3d9
[DECRYPT]
COUNT = 0
KEY = 9103219c1b7ea377a4d120df0fe1360990a74dcc6ce07afb
CIPHERTEXT = ee9239be308a5d6f088134f49aa290e6
COUNT = 1
KEY = 91d7b7ec0117880d26511dc2eb93df1f253163ba230b990d
CIPHERTEXT = e52fc553a6e7e4627ca147c6e3f3faf2d209498f9ef8c7721b5095cc04f0e0a1
COUNT = 2
KEY = 08a8be0a2babb46b846a53366447877d2484963e5cabf5e6
CIPHERTEXT = ff919021b45ab95d1d06415e8ab39f55b444f95ba3b43062cfab1c6b864f19fa8d5dc2c70a78fcb7a1c1370adea7f0d6
COUNT = 3
KEY = c888a03bf598e74192f482addcb1bcec984eab0daaf46226
CIPHERTEXT = 3df659bc62ad0680ecc9c4519a9fe44ae947705bd94e109bf4ab2edf8df4598b46d2e7a8d5b3df3707be16c5040c9740d61548092568cb4a44a0a38a7293987f
COUNT = 4
KEY = 420b1d116ca83b1f47422d4cfcae83b3cb809914fc29251e
CIPHERTEXT = a1d22100acbb88a5777647d9c6036c4436e18df42c2e5ca30b0f7c38aa5293910552a180321b901397cf0c195b4994e11affd145dd2d27e749308bbb162f94c6c301d425884b68508de9cea05990f70f
COUNT = 5
KEY = 6c4f50c3b8d9a42a9359358694567d362fc7a394e47b4f7a
CIPHERTEXT = 373d8747226f5ec1fb53a4506413b18109bc2fe584911e0a7ea51aab17a9e12488021028071f2db6ec09ea49113ba8507eb53bdd464ceda1ac44c5188a200901f4b90111188efee8685b9b44fced43753134f311979a41e80a939e3a1e75d828
COUNT = 6
KEY = 33ebf1c2518a5ed54a4d518fa3f09d49df3a038df5984ad5
CIPHERTEXT = a6303e83152f9f8db941b1b94a8a1ce5c273b55dc94d99a171377969234134e7dad1ab4c8e46d18df4dc016764cf95a11ac4b491a2646be18e4aff936a1f8243f203a5ac822fcd6ecdd9690fd258823f0c899360e9719c457e24723a79e55945578ed4acd733bcb7ae0290b77c6d0c47
COUNT = 7
KEY = 76304d07d5e6f00c3e8ab00cc1b4520577f0c481cfc10bbe
CIPHERTEXT = 42b069236f8beaa711626c4af0ac1cd2cdf5e4d6f52599201605765650ffc9da8f26ecee1976771c635cb4d529795358bda35fd5a02c71d24f6724cf5f69c825cc0d5b348f3bb5bd6e69028d1861755c71453bf42bd1ae9696e1cc99b933e754a16d9d3ef9620b54db913ebbe6eeeaa791e65f7bbe9db832937a56fd85e58d2d
COUNT = 8
KEY = 228fec53588d524745a997e950fb8b98e590107b2555737e
CIPHERTEXT = 3f409f492a59073e05da89e6c3bec8a7452ddb8d7243ff348a1388e9b7ec1e0ce6db25b8d4707da76cc56c4f50bdd851b68aba147572cfad5fd29103d26365308abc162ab91882a25a5a932cc24e71a17832f6c14675631d90be5135e530eaddd4ed58e501d87ef878a0e6c540fafb5d342d79dc0ed4214cc5dfb1c619dc13da6b75d532d339d9716d9f4e61f347de4e
COUNT = 9
KEY = 4c4dbc905ffd33d0ebb24b2749b041acc175b358fa54b3c4
CIPHERTEXT = 5170fb173d4fbcfb5ad9b878d2e47eafcf3fb18634965fa88c958fce3f50193c0ce3bb8eb35568b4f2c3e33cb3ba8dcf84e47cff47e7cc402b8a3a33db1aee2bf50c99eabde3c0ab13545866a2a8924f5b63f89f2223b998c6ca41c337df0d7df332beb1c2bf6ce7a3d53c7e067835353b034ff12b12cdba469ecd06bc6a1e3af09e516e2ab213708b8eba0c47f01d8b0e0da97acb7bb1ad914e0683d282c86a

View File

@ -0,0 +1,91 @@
# CAVS 17.8
# Config info for ppcle-nss-64
# AESVS MMT test data for ECB
# State : Encrypt and Decrypt
# Key Length : 256
# Generated on Fri Jul 17 16:27:14 2015
[ENCRYPT]
COUNT = 0
KEY = 651ce7a3454b25c58bb37f45a5d9f17a9c70f941ecd7059f92e227a866dd109f
PLAINTEXT = ae96ebf42f28316840f126db2d991d67
COUNT = 1
KEY = 40d82b522aa9459bca9d33b222f63f86fbae8a87925e5cac8f5fb9bb362f35c5
PLAINTEXT = 275d197c8114e77991168cca240cdd796c6f42e3a59b746af926846ba16f2070
COUNT = 2
KEY = f80cfb17b7eb41dbeb0fd759f89a636bdce1f9a863cdede69e81e6fd913c34ce
PLAINTEXT = e0b76d8f8cdcc664a6ff4e3ffe7f702d78834d1b60f7b1f6fed145106a9906c6a228f560dab0103813fc821feff917fc
COUNT = 3
KEY = 7a9d1ecd5762f60d82689273e3c441607066c2e6fe9db87257de58ae8cc165a5
PLAINTEXT = 9a6c758f93c1f5c9f0c6d1b7e4f46ac182220e912255797f06d99c4d3d919d15c88b1e7ffcd7c237279aed9f765eccc116ac96879add112e9d2d57f8a811da21
COUNT = 4
KEY = 9dacee4693a2c2eb8564ed51db0e2e0f5d95b760eaab80276ce2e1300b1360b9
PLAINTEXT = 47a16553cdc320fb87b6259be04bc7c664eaaa266c998328fe5a1ff6efbaa7a64aa722b0f6823ba69275441fa4077cf5f3ed8db031235941dd3cf6f468f7f7a09712ee2028632f07b824d690e48f0bd4
COUNT = 5
KEY = dbc571602ea4911030ab96ee0fe0c539e18f87cbe883c7ee157c9c70ccde28fa
PLAINTEXT = 239b6e71692dc96b92ad9a426b41c26382cfdb0ce8b51ea636bb8355ce4529cd63cef967bc918774b48938d1869caabc471450e5b44e5dc82eb6e43b03f33d43ef5eaa2ce3b93ad9041eee58f7351bb95caa0f2198def71ad8dd012d5391bdb3
COUNT = 6
KEY = 54ef3937198ed15841baa02e31d5d34613eb972821e57f2d200026912a7e15c9
PLAINTEXT = 4a8cc5cc90eb574bb5d9b4ff7a263d52f3a155af302e20371d198ab6a7aa8cd520faab91e504c1eb3effffe185ec339e8b6b47ee37d20af47080341f3d6fa45a2b09eb83f03d0e1f4dd1884c39fa8ff63b2a984e18291d78ae679e842091e6a033628f8cf8bcc84eacf75626dc79d9c4
COUNT = 7
KEY = 232485281d1554158682547e4c720046d090e7103c2fa15e178b07fa1751a496
PLAINTEXT = 8b1418a1f90daab2b06854c683038c47c4335ee1fdaebf8ae0a91fc0813d3d12c30f3fe2103002694e42affc0edd8f8d06312074c1ec6870955e89e8d6da96774960a5a8db7a25fe93647238c66fa7d28aa7b4cf6cb4b0b666fe70db0b1558df054f717ac1b3bc786915c60213837d1f38e0427b67cf3f663ad3fb1f8ab42b53
COUNT = 8
KEY = adde831a35ef8f77d432a5d615944fa67b1cc943c51f64c86fb32c257c65c971
PLAINTEXT = 92b9897cee6585c8895b9604cde81f12e12b1b172b81bb8b1441508c0baa6c78cc1944bae27f59e46a1358ff1b443e1e83f2bf3a93dde9395e5e05501e55be8b786285aa0158332f00eef0b576b854835b56cd612bec41aba1d2f4a3c28cab0b1efc12f453d65bd1d25528cfe62cab69f2c00b36fa940a066404e62e00377c20474fb33fe0e218f169aec6f5738889f7
COUNT = 9
KEY = 955b9d8862f21c8159ac4c0e96864da3502b29ef0b5cac600e9576e518ee4ef7
PLAINTEXT = c357e0a896afaa114429f25f2b3d9af7ef8f0ab8bf218ad4dac7eede52dc79241034fc3e19513ee710daa00cfb4801234ae3e0be15edc060a51dd18f364fcc2afb791ffd63e14a939b8d894b54fbb3aec6136200f45a541532681167e59cce658b0e920dfbc597bced2bf345bcbd77416b07d8a7e7d00c9d8b92f78de92d477ac8db9d956967ed0b0f9a2722bdf7178442a88ada73b7b29db881cb29ca68ff14
[DECRYPT]
COUNT = 0
KEY = 4bd80573f5fb77d00f606faf5425a2c735482d94cdc4269c17fd77f75f5eec0e
CIPHERTEXT = cf822a59025798894c2b463f29d8b8c1
COUNT = 1
KEY = 905640bfbad41982cad7b6fabb4103b1f7a2de606cffccc7e3d3eadd8d542729
CIPHERTEXT = 156e7b38c38edb1d4a9a158ed4a0551b86c5783ebd7e6e339703e309b6011efa
COUNT = 2
KEY = bad931fb5b752aef2371778a12a12adf0051f4332e87516020890077af9fb6a9
CIPHERTEXT = e24df99d66da4521e48ced2a03b9035584735fe330ad39010f9ef74ddb6b4397b40061e4153ebfb9075cce96958711c0
COUNT = 3
KEY = 4a2d1eab5806ca43fd0f06c60b63d5402b95c70c21ea65a151c5cfaf8262a46b
CIPHERTEXT = ddfa631996f5463533859a694296ee1d5af1338aa2b365cc92fe6e38feee47ef50cf60b3158d42fabb6b734198f899a32f40e3aaaf3fa565bd9b42bb73924ffe
COUNT = 4
KEY = 31a497893db7face6f65656c3474558089043e40191fcd32a591709da9fa183e
CIPHERTEXT = 1b661217e02acc188e5202ac72021a2ece88f78637357aa13c6b481e48f8ce4acaa2834f92036da87e98e7d85714a15cf6fae8deab6a28abdf3baf67f74bb3007c1397e0797f6a6725fcb198c2d26612
COUNT = 5
KEY = f9b3f58ca10751b2c03567d187b9935fe0e3b84a532b3dea2ac45534d3748430
CIPHERTEXT = c5c9a391c4ea2a839d90e1a0bd0738aab03bb817e46fe764b0326cac948f7379c38553dadeb76eb60363595f06983e6afea47ebf04cc9aec374153bf044f1013a4d681eae5fe82bc2e27420fbd1fa4483498e5c154d9801b08b34ed6a5b7f21e
COUNT = 6
KEY = e1ef5276544877bab2f84bd2eef47ffa66f96e7170cd54d836c9badbc5943514
CIPHERTEXT = fb5be9200434c1af509be2836dbb60b51f15456df7c4ce4d2705d80d95f695622e9e83257d2e9fb17c86d68daafbbc4b5d5880af5a222014a321d90c901be24721e359b693937eef31151fd46de8536f2f206b216daf26fcfce4246da6319d1e7c31531a6de9c533184fa6a1df088deb
COUNT = 7
KEY = b3d420e48fd5a409514091f7a818aee9348e3ea7eccf83febd21816d732e0421
CIPHERTEXT = bba6eeaf8fb759d71e32adc8c611d061345882f1cdeee3ab4cab3554adb2e43f4b01c37b4546994b25f4dcd6c497bc206865643930157cb5b2f4f25be235fa223688535907efcc253bcd083021407ea09cb1c34684aa0c1849e7efe2d9af6938c46525af9e5afb4da6e5b83da4b61dc718672a8090549cbe5aadb44f5bc93a6b
COUNT = 8
KEY = 0d9cad6dc3ab264f7da8f9beb6a734a386fa34f4dc600e8507792e227c7d3edc
CIPHERTEXT = 7e384c772f0d5507c7b0632f8de287d69fd283c27e9074abcdc4b59456a0ff5b4e13d58eda401f80d22e159cc4c15efa3ce9793042195d6b25fb5cbe77624db95980ea3ef95977905877a5ad51dfb5ded745e08c7e7cf7553c30475f71d7bfec26e5552f923fa55fe3f3db093b26d4aaf84e807d38a18b929ccc3c204de99d1c3dabdc0ab0dcf114fa0a81598a7d0287
COUNT = 9
KEY = df3055cc2399bafbbd94aac5d04afbb97de67c7baa49d91702febe943d703fcd
CIPHERTEXT = bcaf827312d1f2e6b341e29180b24e50757944ce2337f24960b903953d1c2c64383501c4b3300ee9a576232d90d5ef55b3dbd0168082ead8501377b956445dd5d1a306c586386c656e6673daac137cd4c1093711039bb8234c8bce72ef2b9084f0c3387c743335e176d97ba1bcb51e5609cb1fc795c986b2baeab0c9f01aebfafb5b40f3636790e62597e389a803fc62f2eb31411c56790e03f8c7c4415996be

Some files were not shown because too many files have changed in this diff Show More