Example usage for org.bouncycastle.crypto.engines AESFastEngine subclass-usage

List of usage examples for org.bouncycastle.crypto.engines AESFastEngine subclass-usage

Introduction

In this page you can find the example usage for org.bouncycastle.crypto.engines AESFastEngine subclass-usage.

Usage

From source file us.exultant.ahs.crypto.bc.mod.AESEngineMod.java

/**
 * <p>
 * Purpose is simple: override the initization method on AESFastEngine so that if the same
 * key material was used last time, we don't waste time discarding the old key schedule
 * and generating a new one that's exactly the same. Why BC wasn't smart enough to do this
 * itself I do not know.