The invention discloses an AES algorithm implementation architecture, which includes an encryption device and a decryption device. The encryption device includes an encryption key processing module and an encryption module. The decryption device includes a decryption key processing module and a decryption key processing module. The encryption key processing module and a decryption key processing module are respectively used to provide an encryption key and a decryption key, and the encryption module and a decryption module are respectively used to utilize the encryption key and the decryption key. Encryption key is used to encrypt plaintext and decryption key is used to decrypt ciphertext. The key processing module and the encryption and decryption module are separated to realize the separation of the key processing process and the encryption and decryption calculation process, so that the secret key processing module can calculate the secret key only when it needs to update the secret key used for encryption and decryption, which greatly saves the power consumption of the secret key calculation and reduces the waste of resources and time; moreover, the application can also support a large number of applications. In the process of encrypting and decrypting large-scale data, the secret key is updated in real time with the number of rounds of encrypting and decrypting calculation, which increases the flexibility of secret key calculation.
【技术实现步骤摘要】
一种AES算法的实现架构
本专利技术涉及AES算法实现
,更具体地说,涉及一种AES算法的实现架构。
技术介绍
AES(AdvancedEncryptionStandard,高级加密标准)是新一代加密标准,其支持128位明文分组,支持128/192/256位的秘钥长度,汇聚了强安全性、高性能、高效率、易用及灵活等优点,是目前最流行的对称秘钥加密算法之一。AES算法易于各种软硬件实现,目前实现AES算法的架构中,通常是将加解密过程及秘钥处理过程集成到一个模块中,以流水线的方式实现秘钥处理及加解密过程。具体来说,在实现一轮加解密计算时,需要先进行秘钥处理,然后利用处理得到的秘钥实现加解密计算,这种方式在实现每轮加解密计算前都必须进行秘钥处理,无疑在无需每轮更新秘钥的情况下不仅会造成对应处理资源的浪费,还会造成时间的浪费。综上所述,现有技术实现AES算法的架构中存在浪费资源及时间的问题。
技术实现思路
本专利技术的目的是提供一种AES算法的实现架构,能够解决现有技术实现AES算法的架构中存在的浪费资源及时间的问题。为了实现上述目的,本专利技术提供如下技术方案:一种AES算法实现架构,包括加密装置及解密装置,所述加密装置包括加密秘钥处理模块及加密模块,所述解密装置包括解密秘钥处理模块及解密模块,所述加密秘钥处理模块及所述解密秘钥处理模块分别用于提供加密秘钥及解密秘钥,所述加密模块及所述解密模块分别用于利用所述加密秘钥实现明文的加密及利用所述解密秘钥实现密文的解密。优选的,所述加密装置还包括加密参数配置模块,所述解密装置还包括解密参数配置模块,所述加密参数配置模块 ...
【技术保护点】
1.一种AES算法实现架构,其特征在于,包括加密装置及解密装置,所述加密装置包括加密秘钥处理模块及加密模块,所述解密装置包括解密秘钥处理模块及解密模块,所述加密秘钥处理模块及所述解密秘钥处理模块分别用于提供加密秘钥及解密秘钥,所述加密模块及所述解密模块分别用于利用所述加密秘钥实现明文的加密及利用所述解密秘钥实现密文的解密。
【技术特征摘要】
1.一种AES算法实现架构,其特征在于,包括加密装置及解密装置,所述加密装置包括加密秘钥处理模块及加密模块,所述解密装置包括解密秘钥处理模块及解密模块,所述加密秘钥处理模块及所述解密秘钥处理模块分别用于提供加密秘钥及解密秘钥,所述加密模块及所述解密模块分别用于利用所述加密秘钥实现明文的加密及利用所述解密秘钥实现密文的解密。2.根据权利要求1所述的架构,其特征在于,所述加密装置还包括加密参数配置模块,所述解密装置还包括解密参数配置模块,所述加密参数配置模块及所述解密参数配置模块分别用于供外界对所述加密参数配置模块及所述解密参数配置模块提供设置权限的、所述加密装置及所述解密装置对应的各项参数进行设置;对应的,所述加密秘钥处理模块、所述解密秘钥处理模块、所述加密模块及所述解密模块均基于所述参数配置模块中设置的相应参数实现对应的功能,所述参数包括加密模式及秘钥长度。3.根据权利要求2所述的架构,其特征在于,所述加密装置还包括明文处理模块,所述解密装置还包括密文处理模块,所述明文处理模块及所述密文处理模块分别用于基于所述参数配置模块中设置的相应参数、实现对待加密的明文及待解密的密文的处理,所述参数包括分别输入所述明文处理模块及所述加密模块的输入明文位宽、分...
【专利技术属性】
技术研发人员:王贤坤,
申请(专利权)人:广东浪潮大数据研究有限公司,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。